xref: /openbmc/linux/drivers/clk/Kconfig (revision cd5d5810)
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	select DEBUG_FS
29	---help---
30	  Creates a directory hierarchy in debugfs for visualizing the clk
31	  tree structure.  Each directory contains read-only members
32	  that export information specific to that clk node: clk_rate,
33	  clk_flags, clk_prepare_count, clk_enable_count &
34	  clk_notifier_count.
35
36config COMMON_CLK_WM831X
37	tristate "Clock driver for WM831x/2x PMICs"
38	depends on MFD_WM831X
39	---help---
40          Supports the clocking subsystem of the WM831x/2x series of
41	  PMICs from Wolfson Microlectronics.
42
43config COMMON_CLK_VERSATILE
44	bool "Clock driver for ARM Reference designs"
45	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
46	---help---
47          Supports clocking on ARM Reference designs:
48	  - Integrator/AP and Integrator/CP
49	  - RealView PB1176, EB, PB11MP and PBX
50	  - Versatile Express
51
52config COMMON_CLK_MAX77686
53	tristate "Clock driver for Maxim 77686 MFD"
54	depends on MFD_MAX77686
55	---help---
56	  This driver supports Maxim 77686 crystal oscillator clock.
57
58config COMMON_CLK_SI5351
59	tristate "Clock driver for SiLabs 5351A/B/C"
60	depends on I2C
61	select REGMAP_I2C
62	select RATIONAL
63	---help---
64	  This driver supports Silicon Labs 5351A/B/C programmable clock
65	  generators.
66
67config COMMON_CLK_S2MPS11
68	tristate "Clock driver for S2MPS11 MFD"
69	depends on MFD_SEC_CORE
70	---help---
71	  This driver supports S2MPS11 crystal oscillator clock.
72
73config CLK_TWL6040
74	tristate "External McPDM functional clock from twl6040"
75	depends on TWL6040_CORE
76	---help---
77	  Enable the external functional clock support on OMAP4+ platforms for
78	  McPDM. McPDM module is using the external bit clock on the McPDM bus
79	  as functional clock.
80
81config COMMON_CLK_AXI_CLKGEN
82	tristate "AXI clkgen driver"
83	depends on ARCH_ZYNQ || MICROBLAZE
84	help
85	---help---
86	  Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
87	  FPGAs. It is commonly used in Analog Devices' reference designs.
88
89config CLK_PPC_CORENET
90	bool "Clock driver for PowerPC corenet platforms"
91	depends on PPC_E500MC && OF
92	---help---
93	  This adds the clock driver support for Freescale PowerPC corenet
94	  platforms using common clock framework.
95
96endmenu
97
98source "drivers/clk/mvebu/Kconfig"
99