blob: 165e1febae53676458e3d24256f08b547d14d0d8 [file] [log] [blame]
Jean-Christop PLAGNIOL-VILLARD6d803ba2010-11-17 10:04:33 +01001
2config CLKDEV_LOOKUP
3 bool
4 select HAVE_CLK
Kyungmin Parkaa3831c2011-07-18 16:34:54 +09005
Shawn Guo5c77f562011-12-20 14:46:38 +08006config HAVE_CLK_PREPARE
7 bool
8
Kyungmin Parkaa3831c2011-07-18 16:34:54 +09009config HAVE_MACH_CLKDEV
10 bool
Mike Turquetteb2476492012-03-15 23:11:19 -070011
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000012config COMMON_CLK
13 bool
Mike Turquetteb2476492012-03-15 23:11:19 -070014 select HAVE_CLK_PREPARE
15 ---help---
16 The common clock framework is a single definition of struct
17 clk, useful across many platforms, as well as an
18 implementation of the clock API in include/linux/clk.h.
19 Architectures utilizing the common struct clk should select
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000020 this option.
Mike Turquetteb2476492012-03-15 23:11:19 -070021
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000022menu "Common Clock Framework"
23 depends on COMMON_CLK
Mike Turquetteb2476492012-03-15 23:11:19 -070024
25config COMMON_CLK_DISABLE_UNUSED
26 bool "Disabled unused clocks at boot"
27 depends on COMMON_CLK
28 ---help---
29 Traverses the entire clock tree and disables any clocks that are
30 enabled in hardware but have not been enabled by any device drivers.
31 This saves power and keeps the software model of the clock in line
32 with reality.
33
34 If in doubt, say "N".
35
36config COMMON_CLK_DEBUG
37 bool "DebugFS representation of clock tree"
38 depends on COMMON_CLK
39 select DEBUG_FS
40 ---help---
41 Creates a directory hierchy in debugfs for visualizing the clk
42 tree structure. Each directory contains read-only members
43 that export information specific to that clk node: clk_rate,
44 clk_flags, clk_prepare_count, clk_enable_count &
45 clk_notifier_count.
46
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000047endmenu