Kconfig 8.5 KB
Newer Older
1 2 3 4

config CLKDEV_LOOKUP
	bool
	select HAVE_CLK
5

6 7 8
config HAVE_CLK_PREPARE
	bool

9 10
config COMMON_CLK
	bool
11
	select HAVE_CLK_PREPARE
12
	select CLKDEV_LOOKUP
13
	select SRCU
14
	select RATIONAL
15 16 17 18 19
	---help---
	  The common clock framework is a single definition of struct
	  clk, useful across many platforms, as well as an
	  implementation of the clock API in include/linux/clk.h.
	  Architectures utilizing the common struct clk should select
20
	  this option.
21

22 23
menu "Common Clock Framework"
	depends on COMMON_CLK
24

25 26 27 28 29
config COMMON_CLK_WM831X
	tristate "Clock driver for WM831x/2x PMICs"
	depends on MFD_WM831X
	---help---
          Supports the clocking subsystem of the WM831x/2x series of
30
	  PMICs from Wolfson Microelectronics.
31

32
source "drivers/clk/versatile/Kconfig"
33

34 35 36 37 38 39 40
config CLK_HSDK
	bool "PLL Driver for HSDK platform"
	depends on OF || COMPILE_TEST
	---help---
	  This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
	  control.

41
config 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 46
	  This driver supports Maxim 77620/77686/77802 crystal oscillator
	  clock.
47

48
config COMMON_CLK_RK808
49
	tristate "Clock driver for RK805/RK808/RK818"
50 51
	depends on MFD_RK808
	---help---
52
	  This driver supports RK805, RK808 and RK818 crystal oscillator clock. These
53 54 55 56
	  multi-function devices have two fixed-rate oscillators,
	  clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
	  by control register.

57
config COMMON_CLK_HI655X
58 59 60 61
	tristate "Clock driver for Hi655x" if EXPERT
	depends on (MFD_HI655X_PMIC || COMPILE_TEST)
	depends on REGMAP
	default MFD_HI655X_PMIC
62 63 64 65 66
	---help---
	  This driver supports the hi655x PMIC clock. This
	  multi-function device has one fixed-rate oscillator, clocked
	  at 32KHz.

67 68 69 70 71 72 73 74 75 76
config COMMON_CLK_SCMI
	tristate "Clock driver controlled via SCMI interface"
	depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
	  ---help---
	  This driver provides support for clocks that are controlled
	  by firmware that implements the SCMI interface.

	  This driver uses SCMI Message Protocol to interact with the
	  firmware providing all the clock controls.

77 78 79 80 81 82 83 84 85 86
config COMMON_CLK_SCPI
	tristate "Clock driver controlled via SCPI interface"
	depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
	  ---help---
	  This driver provides support for clocks that are controlled
	  by firmware that implements the SCPI interface.

	  This driver uses SCPI Message Protocol to interact with the
	  firmware providing all the clock controls.

87 88 89 90 91 92 93 94 95
config COMMON_CLK_SI5351
	tristate "Clock driver for SiLabs 5351A/B/C"
	depends on I2C
	select REGMAP_I2C
	select RATIONAL
	---help---
	  This driver supports Silicon Labs 5351A/B/C programmable clock
	  generators.

96 97 98 99 100 101 102 103 104 105
config COMMON_CLK_SI514
	tristate "Clock driver for SiLabs 514 devices"
	depends on I2C
	depends on OF
	select REGMAP_I2C
	help
	---help---
	  This driver supports the Silicon Labs 514 programmable clock
	  generator.

106 107 108 109 110 111 112 113
config COMMON_CLK_SI544
	tristate "Clock driver for SiLabs 544 devices"
	depends on I2C
	select REGMAP_I2C
	help
	---help---
	  This driver supports the Silicon Labs 544 programmable clock
	  generator.
114

115 116 117 118 119 120 121 122 123 124
config COMMON_CLK_SI570
	tristate "Clock driver for SiLabs 570 and compatible devices"
	depends on I2C
	depends on OF
	select REGMAP_I2C
	help
	---help---
	  This driver supports Silicon Labs 570/571/598/599 programmable
	  clock generators.

125 126 127 128 129 130 131 132
config COMMON_CLK_CDCE706
	tristate "Clock driver for TI CDCE706 clock synthesizer"
	depends on I2C
	select REGMAP_I2C
	select RATIONAL
	---help---
	  This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.

133
config COMMON_CLK_CDCE925
134
	tristate "Clock driver for TI CDCE913/925/937/949 devices"
135 136 137 138 139
	depends on I2C
	depends on OF
	select REGMAP_I2C
	help
	---help---
140 141 142 143 144
	  This driver supports the TI CDCE913/925/937/949 programmable clock
	  synthesizer. Each chip has different number of PLLs and outputs.
	  For example, the CDCE925 contains two PLLs with spread-spectrum
	  clocking support and five output dividers. The driver only supports
	  the following setup, and uses a fixed setting for the output muxes.
145 146 147 148 149 150
	  Y1 is derived from the input clock
	  Y2 and Y3 derive from PLL1
	  Y4 and Y5 derive from PLL2
	  Given a target output frequency, the driver will set the PLL and
	  divider to best approximate the desired output.

151 152 153 154 155 156
config COMMON_CLK_CS2000_CP
	tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
	depends on I2C
	help
	  If you say yes here you get support for the CS2000 clock multiplier.

157 158 159 160 161 162 163 164 165
config COMMON_CLK_GEMINI
	bool "Clock driver for Cortina Systems Gemini SoC"
	depends on ARCH_GEMINI || COMPILE_TEST
	select MFD_SYSCON
	select RESET_CONTROLLER
	---help---
	  This driver supports the SoC clocks on the Cortina Systems Gemini
	  platform, also known as SL3516 or CS3516.

166 167 168 169 170 171 172 173 174 175 176 177
config COMMON_CLK_ASPEED
	bool "Clock driver for Aspeed BMC SoCs"
	depends on ARCH_ASPEED || COMPILE_TEST
	default ARCH_ASPEED
	select MFD_SYSCON
	select RESET_CONTROLLER
	---help---
	  This driver supports the SoC clocks on the Aspeed BMC platforms.

	  The G4 and G5 series, including the ast2400 and ast2500, are supported
	  by this driver.

178
config COMMON_CLK_S2MPS11
179
	tristate "Clock driver for S2MPS1X/S5M8767 MFD"
180
	depends on MFD_SEC_CORE || COMPILE_TEST
181
	---help---
182 183 184
	  This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
	  clock. These multi-function devices have two (S2MPS14) or three
	  (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
185

186 187 188 189 190 191 192 193
config CLK_TWL6040
	tristate "External McPDM functional clock from twl6040"
	depends on TWL6040_CORE
	---help---
	  Enable the external functional clock support on OMAP4+ platforms for
	  McPDM. McPDM module is using the external bit clock on the McPDM bus
	  as functional clock.

L
Lars-Peter Clausen 已提交
194 195
config COMMON_CLK_AXI_CLKGEN
	tristate "AXI clkgen driver"
196
	depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
L
Lars-Peter Clausen 已提交
197 198 199 200 201
	help
	---help---
	  Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
	  FPGAs. It is commonly used in Analog Devices' reference designs.

202 203
config CLK_QORIQ
	bool "Clock driver for Freescale QorIQ platforms"
204
	depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
205
	---help---
206 207
	  This adds the clock driver support for Freescale QorIQ platforms
	  using common clock framework.
208

L
Loc Ho 已提交
209 210 211
config COMMON_CLK_XGENE
	bool "Clock driver for APM XGene SoC"
	default y
212
	depends on ARM64 || COMPILE_TEST
L
Loc Ho 已提交
213 214 215
	---help---
	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.

216 217 218
config COMMON_CLK_NXP
	def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
	select REGMAP_MMIO if ARCH_LPC32XX
219
	select MFD_SYSCON if ARCH_LPC18XX
220 221 222
	---help---
	  Support for clock providers on NXP platforms.

223 224 225 226 227 228 229
config COMMON_CLK_PALMAS
	tristate "Clock driver for TI Palmas devices"
	depends on MFD_PALMAS
	---help---
	  This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
	  using common clock framework.

P
Philipp Zabel 已提交
230 231 232 233 234 235 236
config COMMON_CLK_PWM
	tristate "Clock driver for PWMs used as clock outputs"
	depends on PWM
	---help---
	  Adapter driver so that any PWM output can be (mis)used as clock signal
	  at 50% duty cycle.

R
Robert Jarzmik 已提交
237 238 239
config COMMON_CLK_PXA
	def_bool COMMON_CLK && ARCH_PXA
	---help---
240
	  Support for the Marvell PXA SoC.
R
Robert Jarzmik 已提交
241

242 243 244
config COMMON_CLK_PIC32
	def_bool COMMON_CLK && MACH_PIC32

245 246
config COMMON_CLK_OXNAS
	bool "Clock driver for the OXNAS SoC Family"
247
	depends on ARCH_OXNAS || COMPILE_TEST
248 249 250 251
	select MFD_SYSCON
	---help---
	  Support for the OXNAS SoC Family clocks.

252
config COMMON_CLK_VC5
253
	tristate "Clock driver for IDT VersaClock 5,6 devices"
254 255 256 257 258
	depends on I2C
	depends on OF
	select REGMAP_I2C
	help
	---help---
259 260
	  This driver supports the IDT VersaClock 5 and VersaClock 6
	  programmable clock generators.
261

262 263 264 265 266 267
config COMMON_CLK_STM32MP157
	def_bool COMMON_CLK && MACH_STM32MP157
	help
	---help---
	  Support for stm32mp157 SoC family clocks

268
config COMMON_CLK_STM32F
269
	def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
270 271 272 273 274
	help
	---help---
	  Support for stm32f4 and stm32f7 SoC families clocks

config COMMON_CLK_STM32H7
275
	def_bool COMMON_CLK && MACH_STM32H743
276 277 278 279
	help
	---help---
	  Support for stm32h7 SoC family clocks

280
source "drivers/clk/bcm/Kconfig"
281
source "drivers/clk/hisilicon/Kconfig"
282
source "drivers/clk/imgtec/Kconfig"
283
source "drivers/clk/keystone/Kconfig"
284
source "drivers/clk/mediatek/Kconfig"
285
source "drivers/clk/meson/Kconfig"
286
source "drivers/clk/mvebu/Kconfig"
287
source "drivers/clk/qcom/Kconfig"
288
source "drivers/clk/renesas/Kconfig"
289
source "drivers/clk/samsung/Kconfig"
290
source "drivers/clk/sprd/Kconfig"
291
source "drivers/clk/sunxi-ng/Kconfig"
292
source "drivers/clk/tegra/Kconfig"
293
source "drivers/clk/ti/Kconfig"
294
source "drivers/clk/uniphier/Kconfig"
295 296

endmenu