xref: /linux/drivers/clk/Kconfig (revision 393de512e719a5fbd6712fc392a571ab287eb8ab)
1
2config CLKDEV_LOOKUP
3	bool
4	select HAVE_CLK
5
6config HAVE_CLK_PREPARE
7	bool
8
9config COMMON_CLK
10	bool
11	select HAVE_CLK_PREPARE
12	select CLKDEV_LOOKUP
13	select SRCU
14	select RATIONAL
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
20	  this option.
21
22menu "Common Clock Framework"
23	depends on COMMON_CLK
24
25config COMMON_CLK_WM831X
26	tristate "Clock driver for WM831x/2x PMICs"
27	depends on MFD_WM831X
28	---help---
29          Supports the clocking subsystem of the WM831x/2x series of
30	  PMICs from Wolfson Microelectronics.
31
32source "drivers/clk/versatile/Kconfig"
33
34config CLK_HSDK
35	bool "PLL Driver for HSDK platform"
36	depends on OF || COMPILE_TEST
37	---help---
38	  This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
39	  control.
40
41config COMMON_CLK_MAX77686
42	tristate "Clock driver for Maxim 77620/77686/77802 MFD"
43	depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
44	---help---
45	  This driver supports Maxim 77620/77686/77802 crystal oscillator
46	  clock.
47
48config COMMON_CLK_RK808
49	tristate "Clock driver for RK805/RK808/RK818"
50	depends on MFD_RK808
51	---help---
52	  This driver supports RK805, RK808 and RK818 crystal oscillator clock. These
53	  multi-function devices have two fixed-rate oscillators,
54	  clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
55	  by control register.
56
57config COMMON_CLK_HI655X
58	tristate "Clock driver for Hi655x"
59	depends on MFD_HI655X_PMIC || COMPILE_TEST
60	---help---
61	  This driver supports the hi655x PMIC clock. This
62	  multi-function device has one fixed-rate oscillator, clocked
63	  at 32KHz.
64
65config COMMON_CLK_SCMI
66	tristate "Clock driver controlled via SCMI interface"
67	depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
68	  ---help---
69	  This driver provides support for clocks that are controlled
70	  by firmware that implements the SCMI interface.
71
72	  This driver uses SCMI Message Protocol to interact with the
73	  firmware providing all the clock controls.
74
75config COMMON_CLK_SCPI
76	tristate "Clock driver controlled via SCPI interface"
77	depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
78	  ---help---
79	  This driver provides support for clocks that are controlled
80	  by firmware that implements the SCPI interface.
81
82	  This driver uses SCPI Message Protocol to interact with the
83	  firmware providing all the clock controls.
84
85config COMMON_CLK_SI5351
86	tristate "Clock driver for SiLabs 5351A/B/C"
87	depends on I2C
88	select REGMAP_I2C
89	select RATIONAL
90	---help---
91	  This driver supports Silicon Labs 5351A/B/C programmable clock
92	  generators.
93
94config COMMON_CLK_SI514
95	tristate "Clock driver for SiLabs 514 devices"
96	depends on I2C
97	depends on OF
98	select REGMAP_I2C
99	help
100	---help---
101	  This driver supports the Silicon Labs 514 programmable clock
102	  generator.
103
104config COMMON_CLK_SI570
105	tristate "Clock driver for SiLabs 570 and compatible devices"
106	depends on I2C
107	depends on OF
108	select REGMAP_I2C
109	help
110	---help---
111	  This driver supports Silicon Labs 570/571/598/599 programmable
112	  clock generators.
113
114config COMMON_CLK_CDCE706
115	tristate "Clock driver for TI CDCE706 clock synthesizer"
116	depends on I2C
117	select REGMAP_I2C
118	select RATIONAL
119	---help---
120	  This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
121
122config COMMON_CLK_CDCE925
123	tristate "Clock driver for TI CDCE913/925/937/949 devices"
124	depends on I2C
125	depends on OF
126	select REGMAP_I2C
127	help
128	---help---
129	  This driver supports the TI CDCE913/925/937/949 programmable clock
130	  synthesizer. Each chip has different number of PLLs and outputs.
131	  For example, the CDCE925 contains two PLLs with spread-spectrum
132	  clocking support and five output dividers. The driver only supports
133	  the following setup, and uses a fixed setting for the output muxes.
134	  Y1 is derived from the input clock
135	  Y2 and Y3 derive from PLL1
136	  Y4 and Y5 derive from PLL2
137	  Given a target output frequency, the driver will set the PLL and
138	  divider to best approximate the desired output.
139
140config COMMON_CLK_CS2000_CP
141	tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
142	depends on I2C
143	help
144	  If you say yes here you get support for the CS2000 clock multiplier.
145
146config COMMON_CLK_GEMINI
147	bool "Clock driver for Cortina Systems Gemini SoC"
148	depends on ARCH_GEMINI || COMPILE_TEST
149	select MFD_SYSCON
150	select RESET_CONTROLLER
151	---help---
152	  This driver supports the SoC clocks on the Cortina Systems Gemini
153	  platform, also known as SL3516 or CS3516.
154
155config COMMON_CLK_ASPEED
156	bool "Clock driver for Aspeed BMC SoCs"
157	depends on ARCH_ASPEED || COMPILE_TEST
158	default ARCH_ASPEED
159	select MFD_SYSCON
160	select RESET_CONTROLLER
161	---help---
162	  This driver supports the SoC clocks on the Aspeed BMC platforms.
163
164	  The G4 and G5 series, including the ast2400 and ast2500, are supported
165	  by this driver.
166
167config COMMON_CLK_S2MPS11
168	tristate "Clock driver for S2MPS1X/S5M8767 MFD"
169	depends on MFD_SEC_CORE || COMPILE_TEST
170	---help---
171	  This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
172	  clock. These multi-function devices have two (S2MPS14) or three
173	  (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
174
175config CLK_TWL6040
176	tristate "External McPDM functional clock from twl6040"
177	depends on TWL6040_CORE
178	---help---
179	  Enable the external functional clock support on OMAP4+ platforms for
180	  McPDM. McPDM module is using the external bit clock on the McPDM bus
181	  as functional clock.
182
183config COMMON_CLK_AXI_CLKGEN
184	tristate "AXI clkgen driver"
185	depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
186	help
187	---help---
188	  Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
189	  FPGAs. It is commonly used in Analog Devices' reference designs.
190
191config CLK_QORIQ
192	bool "Clock driver for Freescale QorIQ platforms"
193	depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
194	---help---
195	  This adds the clock driver support for Freescale QorIQ platforms
196	  using common clock framework.
197
198config COMMON_CLK_XGENE
199	bool "Clock driver for APM XGene SoC"
200	default y
201	depends on ARM64 || COMPILE_TEST
202	---help---
203	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
204
205config COMMON_CLK_NXP
206	def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
207	select REGMAP_MMIO if ARCH_LPC32XX
208	select MFD_SYSCON if ARCH_LPC18XX
209	---help---
210	  Support for clock providers on NXP platforms.
211
212config COMMON_CLK_PALMAS
213	tristate "Clock driver for TI Palmas devices"
214	depends on MFD_PALMAS
215	---help---
216	  This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
217	  using common clock framework.
218
219config COMMON_CLK_PWM
220	tristate "Clock driver for PWMs used as clock outputs"
221	depends on PWM
222	---help---
223	  Adapter driver so that any PWM output can be (mis)used as clock signal
224	  at 50% duty cycle.
225
226config COMMON_CLK_PXA
227	def_bool COMMON_CLK && ARCH_PXA
228	---help---
229	  Support for the Marvell PXA SoC.
230
231config COMMON_CLK_PIC32
232	def_bool COMMON_CLK && MACH_PIC32
233
234config COMMON_CLK_OXNAS
235	bool "Clock driver for the OXNAS SoC Family"
236	depends on ARCH_OXNAS || COMPILE_TEST
237	select MFD_SYSCON
238	---help---
239	  Support for the OXNAS SoC Family clocks.
240
241config COMMON_CLK_VC5
242	tristate "Clock driver for IDT VersaClock 5,6 devices"
243	depends on I2C
244	depends on OF
245	select REGMAP_I2C
246	help
247	---help---
248	  This driver supports the IDT VersaClock 5 and VersaClock 6
249	  programmable clock generators.
250
251source "drivers/clk/bcm/Kconfig"
252source "drivers/clk/hisilicon/Kconfig"
253source "drivers/clk/imgtec/Kconfig"
254source "drivers/clk/keystone/Kconfig"
255source "drivers/clk/mediatek/Kconfig"
256source "drivers/clk/meson/Kconfig"
257source "drivers/clk/mvebu/Kconfig"
258source "drivers/clk/qcom/Kconfig"
259source "drivers/clk/renesas/Kconfig"
260source "drivers/clk/samsung/Kconfig"
261source "drivers/clk/sprd/Kconfig"
262source "drivers/clk/sunxi-ng/Kconfig"
263source "drivers/clk/tegra/Kconfig"
264source "drivers/clk/ti/Kconfig"
265source "drivers/clk/uniphier/Kconfig"
266
267endmenu
268