Merge remote-tracking branch 'spi/topic/dma' into spi-next
[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
aa3831cf
KP
9config HAVE_MACH_CLKDEV
10 bool
b2476490 11
8fb61e33
AB
12config COMMON_CLK
13 bool
b2476490 14 select HAVE_CLK_PREPARE
01033be1 15 select CLKDEV_LOOKUP
83fe27ea 16 select SRCU
0777591e 17 select RATIONAL
b2476490
MT
18 ---help---
19 The common clock framework is a single definition of struct
20 clk, useful across many platforms, as well as an
21 implementation of the clock API in include/linux/clk.h.
22 Architectures utilizing the common struct clk should select
8fb61e33 23 this option.
b2476490 24
8fb61e33
AB
25menu "Common Clock Framework"
26 depends on COMMON_CLK
b2476490 27
f05259a6
MB
28config COMMON_CLK_WM831X
29 tristate "Clock driver for WM831x/2x PMICs"
30 depends on MFD_WM831X
31 ---help---
32 Supports the clocking subsystem of the WM831x/2x series of
fe4e4372 33 PMICs from Wolfson Microelectronics.
f05259a6 34
5ee2b877 35source "drivers/clk/versatile/Kconfig"
f9a6aa43 36
5dbbb00f
JMC
37config COMMON_CLK_MAX_GEN
38 bool
39
73118e61
JL
40config COMMON_CLK_MAX77686
41 tristate "Clock driver for Maxim 77686 MFD"
42 depends on MFD_MAX77686
1887d693 43 select COMMON_CLK_MAX_GEN
73118e61
JL
44 ---help---
45 This driver supports Maxim 77686 crystal oscillator clock.
46
83ccf16c
JMC
47config COMMON_CLK_MAX77802
48 tristate "Clock driver for Maxim 77802 PMIC"
49 depends on MFD_MAX77686
50 select COMMON_CLK_MAX_GEN
51 ---help---
52 This driver supports Maxim 77802 crystal oscillator clock.
53
038b892a
CZ
54config COMMON_CLK_RK808
55 tristate "Clock driver for RK808"
56 depends on MFD_RK808
57 ---help---
58 This driver supports RK808 crystal oscillator clock. These
59 multi-function devices have two fixed-rate oscillators,
60 clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
61 by control register.
62
cd52c2a4
SH
63config COMMON_CLK_SCPI
64 tristate "Clock driver controlled via SCPI interface"
65 depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
66 ---help---
67 This driver provides support for clocks that are controlled
68 by firmware that implements the SCPI interface.
69
70 This driver uses SCPI Message Protocol to interact with the
71 firmware providing all the clock controls.
72
9abd5f05
SH
73config COMMON_CLK_SI5351
74 tristate "Clock driver for SiLabs 5351A/B/C"
75 depends on I2C
76 select REGMAP_I2C
77 select RATIONAL
78 ---help---
79 This driver supports Silicon Labs 5351A/B/C programmable clock
80 generators.
81
8ce20e66
ML
82config COMMON_CLK_SI514
83 tristate "Clock driver for SiLabs 514 devices"
84 depends on I2C
85 depends on OF
86 select REGMAP_I2C
87 help
88 ---help---
89 This driver supports the Silicon Labs 514 programmable clock
90 generator.
91
1459c837
SB
92config COMMON_CLK_SI570
93 tristate "Clock driver for SiLabs 570 and compatible devices"
94 depends on I2C
95 depends on OF
96 select REGMAP_I2C
97 help
98 ---help---
99 This driver supports Silicon Labs 570/571/598/599 programmable
100 clock generators.
101
19fbbbbc
ML
102config COMMON_CLK_CDCE925
103 tristate "Clock driver for TI CDCE925 devices"
104 depends on I2C
105 depends on OF
106 select REGMAP_I2C
107 help
108 ---help---
109 This driver supports the TI CDCE925 programmable clock synthesizer.
110 The chip contains two PLLs with spread-spectrum clocking support and
111 five output dividers. The driver only supports the following setup,
112 and uses a fixed setting for the output muxes.
113 Y1 is derived from the input clock
114 Y2 and Y3 derive from PLL1
115 Y4 and Y5 derive from PLL2
116 Given a target output frequency, the driver will set the PLL and
117 divider to best approximate the desired output.
118
64dfbe24
KM
119config COMMON_CLK_CS2000_CP
120 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
121 depends on I2C
122 help
123 If you say yes here you get support for the CS2000 clock multiplier.
124
7cc560de 125config COMMON_CLK_S2MPS11
e8b60a45 126 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
7cc560de
YSB
127 depends on MFD_SEC_CORE
128 ---help---
e8b60a45
KK
129 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
130 clock. These multi-function devices have two (S2MPS14) or three
131 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
7cc560de 132
f9f8c043
PU
133config CLK_TWL6040
134 tristate "External McPDM functional clock from twl6040"
135 depends on TWL6040_CORE
136 ---help---
137 Enable the external functional clock support on OMAP4+ platforms for
138 McPDM. McPDM module is using the external bit clock on the McPDM bus
139 as functional clock.
140
0e646c52
LPC
141config COMMON_CLK_AXI_CLKGEN
142 tristate "AXI clkgen driver"
4a7748c3 143 depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
0e646c52
LPC
144 help
145 ---help---
146 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
147 FPGAs. It is commonly used in Analog Devices' reference designs.
148
93a17c05
TY
149config CLK_QORIQ
150 bool "Clock driver for Freescale QorIQ platforms"
2f4bf528 151 depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
555eae97 152 ---help---
93a17c05
TY
153 This adds the clock driver support for Freescale QorIQ platforms
154 using common clock framework.
555eae97 155
308964ca
LH
156config COMMON_CLK_XGENE
157 bool "Clock driver for APM XGene SoC"
158 default y
4a7748c3 159 depends on ARM64 || COMPILE_TEST
308964ca
LH
160 ---help---
161 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
162
6cfc229d
SS
163config COMMON_CLK_KEYSTONE
164 tristate "Clock drivers for Keystone based SOCs"
4a7748c3 165 depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
6cfc229d
SS
166 ---help---
167 Supports clock drivers for Keystone based SOCs. These SOCs have local
168 a power sleep control module that gate the clock to the IPs and PLLs.
169
f7c82a60
VZ
170config COMMON_CLK_NXP
171 def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
172 select REGMAP_MMIO if ARCH_LPC32XX
173 ---help---
174 Support for clock providers on NXP platforms.
175
942d1d67
PU
176config COMMON_CLK_PALMAS
177 tristate "Clock driver for TI Palmas devices"
178 depends on MFD_PALMAS
179 ---help---
180 This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
181 using common clock framework.
182
9a74ccdb
PZ
183config COMMON_CLK_PWM
184 tristate "Clock driver for PWMs used as clock outputs"
185 depends on PWM
186 ---help---
187 Adapter driver so that any PWM output can be (mis)used as clock signal
188 at 50% duty cycle.
189
98d147f5
RJ
190config COMMON_CLK_PXA
191 def_bool COMMON_CLK && ARCH_PXA
192 ---help---
193 Sypport for the Marvell PXA SoC.
194
0c7665c3
MF
195config COMMON_CLK_CDCE706
196 tristate "Clock driver for TI CDCE706 clock synthesizer"
197 depends on I2C
198 select REGMAP_I2C
199 select RATIONAL
200 ---help---
201 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
202
64a12c56 203source "drivers/clk/bcm/Kconfig"
72ea4861 204source "drivers/clk/hisilicon/Kconfig"
085d7a45
SB
205source "drivers/clk/qcom/Kconfig"
206
8fb61e33 207endmenu
97fa4cf4
SH
208
209source "drivers/clk/mvebu/Kconfig"
4ce9b85e
PD
210
211source "drivers/clk/samsung/Kconfig"
31b52ba4 212source "drivers/clk/tegra/Kconfig"