2010-11-17 17:04:33 +08:00
|
|
|
|
|
|
|
config CLKDEV_LOOKUP
|
|
|
|
bool
|
|
|
|
select HAVE_CLK
|
2011-07-18 15:34:54 +08:00
|
|
|
|
2011-12-20 14:46:38 +08:00
|
|
|
config HAVE_CLK_PREPARE
|
|
|
|
bool
|
|
|
|
|
2011-07-18 15:34:54 +08:00
|
|
|
config HAVE_MACH_CLKDEV
|
|
|
|
bool
|
2012-03-16 14:11:19 +08:00
|
|
|
|
|
|
|
menuconfig COMMON_CLK
|
|
|
|
bool "Common Clock Framework"
|
|
|
|
select HAVE_CLK_PREPARE
|
|
|
|
---help---
|
|
|
|
The common clock framework is a single definition of struct
|
|
|
|
clk, useful across many platforms, as well as an
|
|
|
|
implementation of the clock API in include/linux/clk.h.
|
|
|
|
Architectures utilizing the common struct clk should select
|
|
|
|
this automatically, but it may be necessary to manually select
|
|
|
|
this option for loadable modules requiring the common clock
|
|
|
|
framework.
|
|
|
|
|
|
|
|
If in doubt, say "N".
|
|
|
|
|
|
|
|
if COMMON_CLK
|
|
|
|
|
|
|
|
config COMMON_CLK_DISABLE_UNUSED
|
|
|
|
bool "Disabled unused clocks at boot"
|
|
|
|
depends on COMMON_CLK
|
|
|
|
---help---
|
|
|
|
Traverses the entire clock tree and disables any clocks that are
|
|
|
|
enabled in hardware but have not been enabled by any device drivers.
|
|
|
|
This saves power and keeps the software model of the clock in line
|
|
|
|
with reality.
|
|
|
|
|
|
|
|
If in doubt, say "N".
|
|
|
|
|
|
|
|
config COMMON_CLK_DEBUG
|
|
|
|
bool "DebugFS representation of clock tree"
|
|
|
|
depends on COMMON_CLK
|
|
|
|
select DEBUG_FS
|
|
|
|
---help---
|
|
|
|
Creates a directory hierchy in debugfs for visualizing the clk
|
|
|
|
tree structure. Each directory contains read-only members
|
|
|
|
that export information specific to that clk node: clk_rate,
|
|
|
|
clk_flags, clk_prepare_count, clk_enable_count &
|
|
|
|
clk_notifier_count.
|
|
|
|
|
|
|
|
endif
|