Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. config CLKDEV_LOOKUP
  2. bool
  3. select HAVE_CLK
  4. config HAVE_CLK_PREPARE
  5. bool
  6. config HAVE_MACH_CLKDEV
  7. bool
  8. menuconfig COMMON_CLK
  9. bool "Common Clock Framework"
  10. select HAVE_CLK_PREPARE
  11. ---help---
  12. The common clock framework is a single definition of struct
  13. clk, useful across many platforms, as well as an
  14. implementation of the clock API in include/linux/clk.h.
  15. Architectures utilizing the common struct clk should select
  16. this automatically, but it may be necessary to manually select
  17. this option for loadable modules requiring the common clock
  18. framework.
  19. If in doubt, say "N".
  20. if COMMON_CLK
  21. config COMMON_CLK_DISABLE_UNUSED
  22. bool "Disabled unused clocks at boot"
  23. depends on COMMON_CLK
  24. ---help---
  25. Traverses the entire clock tree and disables any clocks that are
  26. enabled in hardware but have not been enabled by any device drivers.
  27. This saves power and keeps the software model of the clock in line
  28. with reality.
  29. If in doubt, say "N".
  30. config COMMON_CLK_DEBUG
  31. bool "DebugFS representation of clock tree"
  32. depends on COMMON_CLK
  33. select DEBUG_FS
  34. ---help---
  35. Creates a directory hierchy in debugfs for visualizing the clk
  36. tree structure. Each directory contains read-only members
  37. that export information specific to that clk node: clk_rate,
  38. clk_flags, clk_prepare_count, clk_enable_count &
  39. clk_notifier_count.
  40. endif