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