blob: 4864407e3fc424814d5c5f46450b45c143c375f5 [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 Turquetteb24764902012-03-15 23:11:19 -070011
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000012config COMMON_CLK
13 bool
Mike Turquetteb24764902012-03-15 23:11:19 -070014 select HAVE_CLK_PREPARE
Rob Herring01033be2012-04-09 15:24:58 -050015 select CLKDEV_LOOKUP
Mike Turquetteb24764902012-03-15 23:11:19 -070016 ---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 Bergmann8fb61e32012-03-17 21:10:51 +000021 this option.
Mike Turquetteb24764902012-03-15 23:11:19 -070022
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000023menu "Common Clock Framework"
24 depends on COMMON_CLK
Mike Turquetteb24764902012-03-15 23:11:19 -070025
Mike Turquetteb24764902012-03-15 23:11:19 -070026config COMMON_CLK_DEBUG
27 bool "DebugFS representation of clock tree"
28 depends on COMMON_CLK
29 select DEBUG_FS
30 ---help---
31 Creates a directory hierchy in debugfs for visualizing the clk
32 tree structure. Each directory contains read-only members
33 that export information specific to that clk node: clk_rate,
34 clk_flags, clk_prepare_count, clk_enable_count &
35 clk_notifier_count.
36
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000037endmenu