Kconfig 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. config COMMON_CLK
  9. bool
  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 option.
  17. menu "Common Clock Framework"
  18. depends on COMMON_CLK
  19. config COMMON_CLK_DISABLE_UNUSED
  20. bool "Disabled unused clocks at boot"
  21. depends on COMMON_CLK
  22. ---help---
  23. Traverses the entire clock tree and disables any clocks that are
  24. enabled in hardware but have not been enabled by any device drivers.
  25. This saves power and keeps the software model of the clock in line
  26. with reality.
  27. If in doubt, say "N".
  28. config COMMON_CLK_DEBUG
  29. bool "DebugFS representation of clock tree"
  30. depends on COMMON_CLK
  31. select DEBUG_FS
  32. ---help---
  33. Creates a directory hierchy in debugfs for visualizing the clk
  34. tree structure. Each directory contains read-only members
  35. that export information specific to that clk node: clk_rate,
  36. clk_flags, clk_prepare_count, clk_enable_count &
  37. clk_notifier_count.
  38. endmenu