Kconfig 5.9 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 HAVE_MACH_CLKDEV
	bool
11

12 13
config COMMON_CLK
	bool
14
	select HAVE_CLK_PREPARE
15
	select CLKDEV_LOOKUP
16
	select SRCU
17
	select RATIONAL
18 19 20 21 22
	---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
23
	  this option.
24

25 26
menu "Common Clock Framework"
	depends on COMMON_CLK
27

28 29 30 31 32
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
33
	  PMICs from Wolfson Microelectronics.
34

35
source "drivers/clk/versatile/Kconfig"
36

37 38 39
config COMMON_CLK_MAX_GEN
        bool

40 41 42
config COMMON_CLK_MAX77686
	tristate "Clock driver for Maxim 77686 MFD"
	depends on MFD_MAX77686
43
	select COMMON_CLK_MAX_GEN
44 45 46
	---help---
	  This driver supports Maxim 77686 crystal oscillator clock. 

47 48 49 50 51 52 53
config COMMON_CLK_MAX77802
	tristate "Clock driver for Maxim 77802 PMIC"
	depends on MFD_MAX77686
	select COMMON_CLK_MAX_GEN
	---help---
	  This driver supports Maxim 77802 crystal oscillator clock.

54 55 56 57 58 59 60 61 62
config COMMON_CLK_RK808
	tristate "Clock driver for RK808"
	depends on MFD_RK808
	---help---
	  This driver supports RK808 crystal oscillator clock. These
	  multi-function devices have two fixed-rate oscillators,
	  clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
	  by control register.

63 64 65 66 67 68 69 70 71 72
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.

73 74 75 76 77 78 79 80 81
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.

82 83 84 85 86 87 88 89 90 91
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.

92 93 94 95 96 97 98 99 100 101
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.

102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
config COMMON_CLK_CDCE925
	tristate "Clock driver for TI CDCE925 devices"
	depends on I2C
	depends on OF
	select REGMAP_I2C
	help
	---help---
	  This driver supports the TI CDCE925 programmable clock synthesizer.
	  The chip 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.
	  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.

119
config COMMON_CLK_S2MPS11
120
	tristate "Clock driver for S2MPS1X/S5M8767 MFD"
121 122
	depends on MFD_SEC_CORE
	---help---
123 124 125
	  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.
126

127 128 129 130 131 132 133 134
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 已提交
135 136
config COMMON_CLK_AXI_CLKGEN
	tristate "AXI clkgen driver"
137
	depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
L
Lars-Peter Clausen 已提交
138 139 140 141 142
	help
	---help---
	  Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
	  FPGAs. It is commonly used in Analog Devices' reference designs.

143 144
config CLK_QORIQ
	bool "Clock driver for Freescale QorIQ platforms"
145
	depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
146
	---help---
147 148
	  This adds the clock driver support for Freescale QorIQ platforms
	  using common clock framework.
149

L
Loc Ho 已提交
150 151 152
config COMMON_CLK_XGENE
	bool "Clock driver for APM XGene SoC"
	default y
153
	depends on ARM64 || COMPILE_TEST
L
Loc Ho 已提交
154 155 156
	---help---
	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.

157 158
config COMMON_CLK_KEYSTONE
	tristate "Clock drivers for Keystone based SOCs"
159
	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
160 161 162 163
	---help---
          Supports clock drivers for Keystone based SOCs. These SOCs have local
	  a power sleep control module that gate the clock to the IPs and PLLs.

164 165 166 167 168 169
config COMMON_CLK_NXP
	def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
	select REGMAP_MMIO if ARCH_LPC32XX
	---help---
	  Support for clock providers on NXP platforms.

170 171 172 173 174 175 176
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 已提交
177 178 179 180 181 182 183
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.

184 185 186 187 188
config COMMON_CLK_NXP
	def_bool COMMON_CLK && ARCH_LPC18XX
	---help---
	  Support for clock providers on NXP platforms.

R
Robert Jarzmik 已提交
189 190 191 192 193
config COMMON_CLK_PXA
	def_bool COMMON_CLK && ARCH_PXA
	---help---
	  Sypport for the Marvell PXA SoC.

194 195 196 197 198 199 200 201
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.

202
source "drivers/clk/bcm/Kconfig"
203
source "drivers/clk/hisilicon/Kconfig"
204 205
source "drivers/clk/qcom/Kconfig"

206
endmenu
207 208

source "drivers/clk/mvebu/Kconfig"
209 210

source "drivers/clk/samsung/Kconfig"
211
source "drivers/clk/tegra/Kconfig"