xref: /linux/drivers/clk/Kconfig (revision 593d0a3e9f813db910dc50574532914db21d09ff)
1
2config CLKDEV_LOOKUP
3	bool
4	select HAVE_CLK
5
6config HAVE_CLK_PREPARE
7	bool
8
9config HAVE_MACH_CLKDEV
10	bool
11
12config COMMON_CLK
13	bool
14	select HAVE_CLK_PREPARE
15	select CLKDEV_LOOKUP
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
21	  this option.
22
23menu "Common Clock Framework"
24	depends on COMMON_CLK
25
26config 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
37config COMMON_CLK_WM831X
38	tristate "Clock driver for WM831x/2x PMICs"
39	depends on MFD_WM831X
40	---help---
41          Supports the clocking subsystem of the WM831x/2x series of
42	  PMICs from Wolfson Microlectronics.
43
44endmenu
45