dt-bindings: Document STM32MP1 Reset Clock Controller (RCC) bindings
[linux-2.6-block.git] / drivers / clk / Kconfig
CommitLineData
6d803ba7
JCPV
1
2config CLKDEV_LOOKUP
3 bool
4 select HAVE_CLK
aa3831cf 5
5c77f560
SG
6config HAVE_CLK_PREPARE
7 bool
8
8fb61e33
AB
9config COMMON_CLK
10 bool
b2476490 11 select HAVE_CLK_PREPARE
01033be1 12 select CLKDEV_LOOKUP
83fe27ea 13 select SRCU
0777591e 14 select RATIONAL
b2476490
MT
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
8fb61e33 20 this option.
b2476490 21
8fb61e33
AB
22menu "Common Clock Framework"
23 depends on COMMON_CLK
b2476490 24
f05259a6
MB
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
fe4e4372 30 PMICs from Wolfson Microelectronics.
f05259a6 31
5ee2b877 32source "drivers/clk/versatile/Kconfig"
f9a6aa43 33
daeeb438
EP
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
73118e61 41config COMMON_CLK_MAX77686
5a227cd1 42 tristate "Clock driver for Maxim 77620/77686/77802 MFD"
9c1b305c 43 depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
83ccf16c 44 ---help---
5a227cd1
LD
45 This driver supports Maxim 77620/77686/77802 crystal oscillator
46 clock.
83ccf16c 47
038b892a 48config COMMON_CLK_RK808
65bc9d7f 49 tristate "Clock driver for RK805/RK808/RK818"
038b892a
CZ
50 depends on MFD_RK808
51 ---help---
65bc9d7f 52 This driver supports RK805, RK808 and RK818 crystal oscillator clock. These
038b892a
CZ
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
b68adc23
DL
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
cd52c2a4
SH
65config COMMON_CLK_SCPI
66 tristate "Clock driver controlled via SCPI interface"
67 depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
68 ---help---
69 This driver provides support for clocks that are controlled
70 by firmware that implements the SCPI interface.
71
72 This driver uses SCPI Message Protocol to interact with the
73 firmware providing all the clock controls.
74
9abd5f05
SH
75config COMMON_CLK_SI5351
76 tristate "Clock driver for SiLabs 5351A/B/C"
77 depends on I2C
78 select REGMAP_I2C
79 select RATIONAL
80 ---help---
81 This driver supports Silicon Labs 5351A/B/C programmable clock
82 generators.
83
8ce20e66
ML
84config COMMON_CLK_SI514
85 tristate "Clock driver for SiLabs 514 devices"
86 depends on I2C
87 depends on OF
88 select REGMAP_I2C
89 help
90 ---help---
91 This driver supports the Silicon Labs 514 programmable clock
92 generator.
93
1459c837
SB
94config COMMON_CLK_SI570
95 tristate "Clock driver for SiLabs 570 and compatible devices"
96 depends on I2C
97 depends on OF
98 select REGMAP_I2C
99 help
100 ---help---
101 This driver supports Silicon Labs 570/571/598/599 programmable
102 clock generators.
103
c7d5a46b
ML
104config COMMON_CLK_CDCE706
105 tristate "Clock driver for TI CDCE706 clock synthesizer"
106 depends on I2C
107 select REGMAP_I2C
108 select RATIONAL
109 ---help---
110 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
111
19fbbbbc 112config COMMON_CLK_CDCE925
5508124c 113 tristate "Clock driver for TI CDCE913/925/937/949 devices"
19fbbbbc
ML
114 depends on I2C
115 depends on OF
116 select REGMAP_I2C
117 help
118 ---help---
5508124c
AM
119 This driver supports the TI CDCE913/925/937/949 programmable clock
120 synthesizer. Each chip has different number of PLLs and outputs.
121 For example, the CDCE925 contains two PLLs with spread-spectrum
122 clocking support and five output dividers. The driver only supports
123 the following setup, and uses a fixed setting for the output muxes.
19fbbbbc
ML
124 Y1 is derived from the input clock
125 Y2 and Y3 derive from PLL1
126 Y4 and Y5 derive from PLL2
127 Given a target output frequency, the driver will set the PLL and
128 divider to best approximate the desired output.
129
64dfbe24
KM
130config COMMON_CLK_CS2000_CP
131 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
132 depends on I2C
133 help
134 If you say yes here you get support for the CS2000 clock multiplier.
135
846423f9
LW
136config COMMON_CLK_GEMINI
137 bool "Clock driver for Cortina Systems Gemini SoC"
138 depends on ARCH_GEMINI || COMPILE_TEST
139 select MFD_SYSCON
140 select RESET_CONTROLLER
141 ---help---
142 This driver supports the SoC clocks on the Cortina Systems Gemini
143 platform, also known as SL3516 or CS3516.
144
5eda5d79
JS
145config COMMON_CLK_ASPEED
146 bool "Clock driver for Aspeed BMC SoCs"
147 depends on ARCH_ASPEED || COMPILE_TEST
148 default ARCH_ASPEED
149 select MFD_SYSCON
150 select RESET_CONTROLLER
151 ---help---
152 This driver supports the SoC clocks on the Aspeed BMC platforms.
153
154 The G4 and G5 series, including the ast2400 and ast2500, are supported
155 by this driver.
156
7cc560de 157config COMMON_CLK_S2MPS11
e8b60a45 158 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
9c1b305c 159 depends on MFD_SEC_CORE || COMPILE_TEST
7cc560de 160 ---help---
e8b60a45
KK
161 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
162 clock. These multi-function devices have two (S2MPS14) or three
163 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
7cc560de 164
f9f8c043
PU
165config CLK_TWL6040
166 tristate "External McPDM functional clock from twl6040"
167 depends on TWL6040_CORE
168 ---help---
169 Enable the external functional clock support on OMAP4+ platforms for
170 McPDM. McPDM module is using the external bit clock on the McPDM bus
171 as functional clock.
172
0e646c52
LPC
173config COMMON_CLK_AXI_CLKGEN
174 tristate "AXI clkgen driver"
4a7748c3 175 depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
0e646c52
LPC
176 help
177 ---help---
178 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
179 FPGAs. It is commonly used in Analog Devices' reference designs.
180
93a17c05
TY
181config CLK_QORIQ
182 bool "Clock driver for Freescale QorIQ platforms"
2f4bf528 183 depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
555eae97 184 ---help---
93a17c05
TY
185 This adds the clock driver support for Freescale QorIQ platforms
186 using common clock framework.
555eae97 187
308964ca
LH
188config COMMON_CLK_XGENE
189 bool "Clock driver for APM XGene SoC"
190 default y
4a7748c3 191 depends on ARM64 || COMPILE_TEST
308964ca
LH
192 ---help---
193 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
194
f7c82a60
VZ
195config COMMON_CLK_NXP
196 def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
197 select REGMAP_MMIO if ARCH_LPC32XX
72ad679a 198 select MFD_SYSCON if ARCH_LPC18XX
f7c82a60
VZ
199 ---help---
200 Support for clock providers on NXP platforms.
201
942d1d67
PU
202config COMMON_CLK_PALMAS
203 tristate "Clock driver for TI Palmas devices"
204 depends on MFD_PALMAS
205 ---help---
206 This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
207 using common clock framework.
208
9a74ccdb
PZ
209config COMMON_CLK_PWM
210 tristate "Clock driver for PWMs used as clock outputs"
211 depends on PWM
212 ---help---
213 Adapter driver so that any PWM output can be (mis)used as clock signal
214 at 50% duty cycle.
215
98d147f5
RJ
216config COMMON_CLK_PXA
217 def_bool COMMON_CLK && ARCH_PXA
218 ---help---
048c58b4 219 Support for the Marvell PXA SoC.
98d147f5 220
ce6e1188
PCM
221config COMMON_CLK_PIC32
222 def_bool COMMON_CLK && MACH_PIC32
223
0bbd72b4
NA
224config COMMON_CLK_OXNAS
225 bool "Clock driver for the OXNAS SoC Family"
821f9946 226 depends on ARCH_OXNAS || COMPILE_TEST
0bbd72b4
NA
227 select MFD_SYSCON
228 ---help---
229 Support for the OXNAS SoC Family clocks.
230
3e1aec4e 231config COMMON_CLK_VC5
dbf6b16f 232 tristate "Clock driver for IDT VersaClock 5,6 devices"
3e1aec4e
MV
233 depends on I2C
234 depends on OF
235 select REGMAP_I2C
236 help
237 ---help---
dbf6b16f
MV
238 This driver supports the IDT VersaClock 5 and VersaClock 6
239 programmable clock generators.
3e1aec4e 240
64a12c56 241source "drivers/clk/bcm/Kconfig"
72ea4861 242source "drivers/clk/hisilicon/Kconfig"
6b0fd6c1 243source "drivers/clk/imgtec/Kconfig"
b745c079 244source "drivers/clk/keystone/Kconfig"
2886c846 245source "drivers/clk/mediatek/Kconfig"
cb7c47d7 246source "drivers/clk/meson/Kconfig"
97fa4cf4 247source "drivers/clk/mvebu/Kconfig"
b9e65ebc 248source "drivers/clk/qcom/Kconfig"
a5bd7f7a 249source "drivers/clk/renesas/Kconfig"
4ce9b85e 250source "drivers/clk/samsung/Kconfig"
d41f59fd 251source "drivers/clk/sprd/Kconfig"
1d80c142 252source "drivers/clk/sunxi-ng/Kconfig"
31b52ba4 253source "drivers/clk/tegra/Kconfig"
21330497 254source "drivers/clk/ti/Kconfig"
734d82f4 255source "drivers/clk/uniphier/Kconfig"
b9e65ebc
JL
256
257endmenu