Jean-Christop PLAGNIOL-VILLARD | 6d803ba | 2010-11-17 10:04:33 +0100 | [diff] [blame] | 1 | |
| 2 | config CLKDEV_LOOKUP |
| 3 | bool |
| 4 | select HAVE_CLK |
Kyungmin Park | aa3831c | 2011-07-18 16:34:54 +0900 | [diff] [blame] | 5 | |
Shawn Guo | 5c77f56 | 2011-12-20 14:46:38 +0800 | [diff] [blame] | 6 | config HAVE_CLK_PREPARE |
| 7 | bool |
| 8 | |
Kyungmin Park | aa3831c | 2011-07-18 16:34:54 +0900 | [diff] [blame] | 9 | config HAVE_MACH_CLKDEV |
| 10 | bool |
Mike Turquette | b2476490 | 2012-03-15 23:11:19 -0700 | [diff] [blame] | 11 | |
Arnd Bergmann | 8fb61e3 | 2012-03-17 21:10:51 +0000 | [diff] [blame] | 12 | config COMMON_CLK |
| 13 | bool |
Mike Turquette | b2476490 | 2012-03-15 23:11:19 -0700 | [diff] [blame] | 14 | select HAVE_CLK_PREPARE |
Rob Herring | 01033be | 2012-04-09 15:24:58 -0500 | [diff] [blame^] | 15 | select CLKDEV_LOOKUP |
Mike Turquette | b2476490 | 2012-03-15 23:11:19 -0700 | [diff] [blame] | 16 | ---help--- |
| 17 | The common clock framework is a single definition of struct |
| 18 | clk, useful across many platforms, as well as an |
| 19 | implementation of the clock API in include/linux/clk.h. |
| 20 | Architectures utilizing the common struct clk should select |
Arnd Bergmann | 8fb61e3 | 2012-03-17 21:10:51 +0000 | [diff] [blame] | 21 | this option. |
Mike Turquette | b2476490 | 2012-03-15 23:11:19 -0700 | [diff] [blame] | 22 | |
Arnd Bergmann | 8fb61e3 | 2012-03-17 21:10:51 +0000 | [diff] [blame] | 23 | menu "Common Clock Framework" |
| 24 | depends on COMMON_CLK |
Mike Turquette | b2476490 | 2012-03-15 23:11:19 -0700 | [diff] [blame] | 25 | |
| 26 | config COMMON_CLK_DISABLE_UNUSED |
| 27 | bool "Disabled unused clocks at boot" |
| 28 | depends on COMMON_CLK |
| 29 | ---help--- |
| 30 | Traverses the entire clock tree and disables any clocks that are |
| 31 | enabled in hardware but have not been enabled by any device drivers. |
| 32 | This saves power and keeps the software model of the clock in line |
| 33 | with reality. |
| 34 | |
| 35 | If in doubt, say "N". |
| 36 | |
| 37 | config COMMON_CLK_DEBUG |
| 38 | bool "DebugFS representation of clock tree" |
| 39 | depends on COMMON_CLK |
| 40 | select DEBUG_FS |
| 41 | ---help--- |
| 42 | Creates a directory hierchy in debugfs for visualizing the clk |
| 43 | tree structure. Each directory contains read-only members |
| 44 | that export information specific to that clk node: clk_rate, |
| 45 | clk_flags, clk_prepare_count, clk_enable_count & |
| 46 | clk_notifier_count. |
| 47 | |
Arnd Bergmann | 8fb61e3 | 2012-03-17 21:10:51 +0000 | [diff] [blame] | 48 | endmenu |