treewide: replace '---help---' in Kconfig files with 'help'
[linux-2.6-microblaze.git] / drivers / clk / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2
3 config HAVE_CLK
4         bool
5         help
6           The <linux/clk.h> calls support software clock gating and
7           thus are a key power management tool on many systems.
8
9 config CLKDEV_LOOKUP
10         bool
11         select HAVE_CLK
12
13 config HAVE_CLK_PREPARE
14         bool
15
16 config HAVE_LEGACY_CLK # TODO: Remove once all legacy users are migrated
17         bool
18         select HAVE_CLK
19         help
20           Select this option when the clock API in <linux/clk.h> is implemented
21           by platform/architecture code. This method is deprecated. Modern
22           code should select COMMON_CLK instead and not define a custom
23           'struct clk'.
24
25 menuconfig COMMON_CLK
26         bool "Common Clock Framework"
27         depends on !HAVE_LEGACY_CLK
28         select HAVE_CLK_PREPARE
29         select CLKDEV_LOOKUP
30         select SRCU
31         select RATIONAL
32         help
33           The common clock framework is a single definition of struct
34           clk, useful across many platforms, as well as an
35           implementation of the clock API in include/linux/clk.h.
36           Architectures utilizing the common struct clk should select
37           this option.
38
39 if COMMON_CLK
40
41 config COMMON_CLK_WM831X
42         tristate "Clock driver for WM831x/2x PMICs"
43         depends on MFD_WM831X
44         help
45           Supports the clocking subsystem of the WM831x/2x series of
46           PMICs from Wolfson Microelectronics.
47
48 source "drivers/clk/versatile/Kconfig"
49
50 config CLK_HSDK
51         bool "PLL Driver for HSDK platform"
52         depends on OF || COMPILE_TEST
53         help
54           This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
55           control.
56
57 config COMMON_CLK_MAX77686
58         tristate "Clock driver for Maxim 77620/77686/77802 MFD"
59         depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
60         help
61           This driver supports Maxim 77620/77686/77802 crystal oscillator
62           clock.
63
64 config COMMON_CLK_MAX9485
65         tristate "Maxim 9485 Programmable Clock Generator"
66         depends on I2C
67         help
68           This driver supports Maxim 9485 Programmable Audio Clock Generator
69
70 config COMMON_CLK_RK808
71         tristate "Clock driver for RK805/RK808/RK809/RK817/RK818"
72         depends on MFD_RK808
73         help
74           This driver supports RK805, RK809 and RK817, RK808 and RK818 crystal oscillator clock.
75           These multi-function devices have two fixed-rate oscillators, clocked at 32KHz each.
76           Clkout1 is always on, Clkout2 can off by control register.
77
78 config COMMON_CLK_HI655X
79         tristate "Clock driver for Hi655x" if EXPERT
80         depends on (MFD_HI655X_PMIC || COMPILE_TEST)
81         depends on REGMAP
82         default MFD_HI655X_PMIC
83         help
84           This driver supports the hi655x PMIC clock. This
85           multi-function device has one fixed-rate oscillator, clocked
86           at 32KHz.
87
88 config COMMON_CLK_SCMI
89         tristate "Clock driver controlled via SCMI interface"
90         depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
91         help
92           This driver provides support for clocks that are controlled
93           by firmware that implements the SCMI interface.
94
95           This driver uses SCMI Message Protocol to interact with the
96           firmware providing all the clock controls.
97
98 config COMMON_CLK_SCPI
99         tristate "Clock driver controlled via SCPI interface"
100         depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
101         help
102           This driver provides support for clocks that are controlled
103           by firmware that implements the SCPI interface.
104
105           This driver uses SCPI Message Protocol to interact with the
106           firmware providing all the clock controls.
107
108 config COMMON_CLK_SI5341
109         tristate "Clock driver for SiLabs 5341 and 5340 A/B/C/D devices"
110         depends on I2C
111         select REGMAP_I2C
112         help
113           This driver supports Silicon Labs Si5341 and Si5340 programmable clock
114           generators. Not all features of these chips are currently supported
115           by the driver, in particular it only supports XTAL input. The chip can
116           be pre-programmed to support other configurations and features not yet
117           implemented in the driver.
118
119 config COMMON_CLK_SI5351
120         tristate "Clock driver for SiLabs 5351A/B/C"
121         depends on I2C
122         select REGMAP_I2C
123         select RATIONAL
124         help
125           This driver supports Silicon Labs 5351A/B/C programmable clock
126           generators.
127
128 config COMMON_CLK_SI514
129         tristate "Clock driver for SiLabs 514 devices"
130         depends on I2C
131         depends on OF
132         select REGMAP_I2C
133         help
134           This driver supports the Silicon Labs 514 programmable clock
135           generator.
136
137 config COMMON_CLK_SI544
138         tristate "Clock driver for SiLabs 544 devices"
139         depends on I2C
140         select REGMAP_I2C
141         help
142           This driver supports the Silicon Labs 544 programmable clock
143           generator.
144
145 config COMMON_CLK_SI570
146         tristate "Clock driver for SiLabs 570 and compatible devices"
147         depends on I2C
148         depends on OF
149         select REGMAP_I2C
150         help
151           This driver supports Silicon Labs 570/571/598/599 programmable
152           clock generators.
153
154 config COMMON_CLK_BM1880
155         bool "Clock driver for Bitmain BM1880 SoC"
156         depends on ARCH_BITMAIN || COMPILE_TEST
157         default ARCH_BITMAIN
158         help
159           This driver supports the clocks on Bitmain BM1880 SoC.
160
161 config COMMON_CLK_CDCE706
162         tristate "Clock driver for TI CDCE706 clock synthesizer"
163         depends on I2C
164         select REGMAP_I2C
165         select RATIONAL
166         help
167           This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
168
169 config COMMON_CLK_CDCE925
170         tristate "Clock driver for TI CDCE913/925/937/949 devices"
171         depends on I2C
172         depends on OF
173         select REGMAP_I2C
174         help
175           This driver supports the TI CDCE913/925/937/949 programmable clock
176           synthesizer. Each chip has different number of PLLs and outputs.
177           For example, the CDCE925 contains two PLLs with spread-spectrum
178           clocking support and five output dividers. The driver only supports
179           the following setup, and uses a fixed setting for the output muxes.
180           Y1 is derived from the input clock
181           Y2 and Y3 derive from PLL1
182           Y4 and Y5 derive from PLL2
183           Given a target output frequency, the driver will set the PLL and
184           divider to best approximate the desired output.
185
186 config COMMON_CLK_CS2000_CP
187         tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
188         depends on I2C
189         help
190           If you say yes here you get support for the CS2000 clock multiplier.
191
192 config COMMON_CLK_FSL_SAI
193         bool "Clock driver for BCLK of Freescale SAI cores"
194         depends on ARCH_LAYERSCAPE || COMPILE_TEST
195         help
196           This driver supports the Freescale SAI (Synchronous Audio Interface)
197           to be used as a generic clock output. Some SoCs have restrictions
198           regarding the possible pin multiplexer settings. Eg. on some SoCs
199           two SAI interfaces can only be enabled together. If just one is
200           needed, the BCLK pin of the second one can be used as general
201           purpose clock output. Ideally, it can be used to drive an audio
202           codec (sometimes known as MCLK).
203
204 config COMMON_CLK_GEMINI
205         bool "Clock driver for Cortina Systems Gemini SoC"
206         depends on ARCH_GEMINI || COMPILE_TEST
207         select MFD_SYSCON
208         select RESET_CONTROLLER
209         help
210           This driver supports the SoC clocks on the Cortina Systems Gemini
211           platform, also known as SL3516 or CS3516.
212
213 config COMMON_CLK_ASPEED
214         bool "Clock driver for Aspeed BMC SoCs"
215         depends on ARCH_ASPEED || COMPILE_TEST
216         default ARCH_ASPEED
217         select MFD_SYSCON
218         select RESET_CONTROLLER
219         help
220           This driver supports the SoC clocks on the Aspeed BMC platforms.
221
222           The G4 and G5 series, including the ast2400 and ast2500, are supported
223           by this driver.
224
225 config COMMON_CLK_S2MPS11
226         tristate "Clock driver for S2MPS1X/S5M8767 MFD"
227         depends on MFD_SEC_CORE || COMPILE_TEST
228         help
229           This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
230           clock. These multi-function devices have two (S2MPS14) or three
231           (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
232
233 config CLK_TWL6040
234         tristate "External McPDM functional clock from twl6040"
235         depends on TWL6040_CORE
236         help
237           Enable the external functional clock support on OMAP4+ platforms for
238           McPDM. McPDM module is using the external bit clock on the McPDM bus
239           as functional clock.
240
241 config COMMON_CLK_AXI_CLKGEN
242         tristate "AXI clkgen driver"
243         depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
244         help
245           Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
246           FPGAs. It is commonly used in Analog Devices' reference designs.
247
248 config CLK_QORIQ
249         bool "Clock driver for Freescale QorIQ platforms"
250         depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
251         help
252           This adds the clock driver support for Freescale QorIQ platforms
253           using common clock framework.
254
255 config CLK_LS1028A_PLLDIG
256         tristate "Clock driver for LS1028A Display output"
257         depends on ARCH_LAYERSCAPE || COMPILE_TEST
258         default ARCH_LAYERSCAPE
259         help
260           This driver support the Display output interfaces(LCD, DPHY) pixel clocks
261           of the QorIQ Layerscape LS1028A, as implemented TSMC CLN28HPM PLL. Not all
262           features of the PLL are currently supported by the driver. By default,
263           configured bypass mode with this PLL.
264
265 config COMMON_CLK_XGENE
266         bool "Clock driver for APM XGene SoC"
267         default ARCH_XGENE
268         depends on ARM64 || COMPILE_TEST
269         help
270           Support for the APM X-Gene SoC reference, PLL, and device clocks.
271
272 config COMMON_CLK_LOCHNAGAR
273         tristate "Cirrus Logic Lochnagar clock driver"
274         depends on MFD_LOCHNAGAR
275         help
276           This driver supports the clocking features of the Cirrus Logic
277           Lochnagar audio development board.
278
279 config COMMON_CLK_NXP
280         def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
281         select REGMAP_MMIO if ARCH_LPC32XX
282         select MFD_SYSCON if ARCH_LPC18XX
283         help
284           Support for clock providers on NXP platforms.
285
286 config COMMON_CLK_PALMAS
287         tristate "Clock driver for TI Palmas devices"
288         depends on MFD_PALMAS
289         help
290           This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
291           using common clock framework.
292
293 config COMMON_CLK_PWM
294         tristate "Clock driver for PWMs used as clock outputs"
295         depends on PWM
296         help
297           Adapter driver so that any PWM output can be (mis)used as clock signal
298           at 50% duty cycle.
299
300 config COMMON_CLK_PXA
301         def_bool COMMON_CLK && ARCH_PXA
302         help
303           Support for the Marvell PXA SoC.
304
305 config COMMON_CLK_PIC32
306         def_bool COMMON_CLK && MACH_PIC32
307
308 config COMMON_CLK_OXNAS
309         bool "Clock driver for the OXNAS SoC Family"
310         depends on ARCH_OXNAS || COMPILE_TEST
311         select MFD_SYSCON
312         help
313           Support for the OXNAS SoC Family clocks.
314
315 config COMMON_CLK_VC5
316         tristate "Clock driver for IDT VersaClock 5,6 devices"
317         depends on I2C
318         depends on OF
319         select REGMAP_I2C
320         help
321           This driver supports the IDT VersaClock 5 and VersaClock 6
322           programmable clock generators.
323
324 config COMMON_CLK_STM32MP157
325         def_bool COMMON_CLK && MACH_STM32MP157
326         help
327           Support for stm32mp157 SoC family clocks
328
329 config COMMON_CLK_STM32F
330         def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
331         help
332           Support for stm32f4 and stm32f7 SoC families clocks
333
334 config COMMON_CLK_STM32H7
335         def_bool COMMON_CLK && MACH_STM32H743
336         help
337           Support for stm32h7 SoC family clocks
338
339 config COMMON_CLK_MMP2
340         def_bool COMMON_CLK && (MACH_MMP2_DT || MACH_MMP3_DT)
341         help
342           Support for Marvell MMP2 and MMP3 SoC clocks
343
344 config COMMON_CLK_MMP2_AUDIO
345         tristate "Clock driver for MMP2 Audio subsystem"
346         depends on COMMON_CLK_MMP2 || COMPILE_TEST
347         help
348           This driver supports clocks for Audio subsystem on MMP2 SoC.
349
350 config COMMON_CLK_BD718XX
351         tristate "Clock driver for 32K clk gates on ROHM PMICs"
352         depends on MFD_ROHM_BD718XX || MFD_ROHM_BD70528 || MFD_ROHM_BD71828
353         help
354           This driver supports ROHM BD71837, ROHM BD71847, ROHM BD71828 and
355           ROHM BD70528 PMICs clock gates.
356
357 config COMMON_CLK_FIXED_MMIO
358         bool "Clock driver for Memory Mapped Fixed values"
359         depends on COMMON_CLK && OF
360         help
361           Support for Memory Mapped IO Fixed clocks
362
363 source "drivers/clk/actions/Kconfig"
364 source "drivers/clk/analogbits/Kconfig"
365 source "drivers/clk/baikal-t1/Kconfig"
366 source "drivers/clk/bcm/Kconfig"
367 source "drivers/clk/hisilicon/Kconfig"
368 source "drivers/clk/imgtec/Kconfig"
369 source "drivers/clk/imx/Kconfig"
370 source "drivers/clk/ingenic/Kconfig"
371 source "drivers/clk/keystone/Kconfig"
372 source "drivers/clk/mediatek/Kconfig"
373 source "drivers/clk/meson/Kconfig"
374 source "drivers/clk/mvebu/Kconfig"
375 source "drivers/clk/qcom/Kconfig"
376 source "drivers/clk/renesas/Kconfig"
377 source "drivers/clk/samsung/Kconfig"
378 source "drivers/clk/sifive/Kconfig"
379 source "drivers/clk/sprd/Kconfig"
380 source "drivers/clk/sunxi/Kconfig"
381 source "drivers/clk/sunxi-ng/Kconfig"
382 source "drivers/clk/tegra/Kconfig"
383 source "drivers/clk/ti/Kconfig"
384 source "drivers/clk/uniphier/Kconfig"
385 source "drivers/clk/x86/Kconfig"
386 source "drivers/clk/zynqmp/Kconfig"
387
388 endif