blob: 573517151976e43182ea86cfc423a99d58ae1257 [file] [log] [blame]
Jean-Christop PLAGNIOL-VILLARD6d803ba2010-11-17 10:04:33 +01001
2config CLKDEV_LOOKUP
3 bool
4 select HAVE_CLK
Kyungmin Parkaa3831c2011-07-18 16:34:54 +09005
Shawn Guo5c77f562011-12-20 14:46:38 +08006config HAVE_CLK_PREPARE
7 bool
8
Kyungmin Parkaa3831c2011-07-18 16:34:54 +09009config HAVE_MACH_CLKDEV
10 bool
Mike Turquetteb24764902012-03-15 23:11:19 -070011
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000012config COMMON_CLK
13 bool
Mike Turquetteb24764902012-03-15 23:11:19 -070014 select HAVE_CLK_PREPARE
Rob Herring01033be2012-04-09 15:24:58 -050015 select CLKDEV_LOOKUP
Pranith Kumar83fe27e2014-12-05 11:24:45 -050016 select SRCU
Andy Shevchenko07775912015-09-22 18:54:11 +030017 select RATIONAL
Mike Turquetteb24764902012-03-15 23:11:19 -070018 ---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
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000023 this option.
Mike Turquetteb24764902012-03-15 23:11:19 -070024
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000025menu "Common Clock Framework"
26 depends on COMMON_CLK
Mike Turquetteb24764902012-03-15 23:11:19 -070027
Mark Brownf05259a2012-05-17 10:04:57 +010028config 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
Masanari Iidafe4e4372014-10-17 00:09:24 +090033 PMICs from Wolfson Microelectronics.
Mark Brownf05259a2012-05-17 10:04:57 +010034
Pawel Moll5ee2b872013-09-17 17:16:15 +010035source "drivers/clk/versatile/Kconfig"
Linus Walleijf9a6aa42012-08-06 18:32:08 +020036
Javier Martinez Canillas5dbbb002014-08-18 10:33:00 +020037config COMMON_CLK_MAX_GEN
38 bool
39
Jonghwa Lee73118e62012-08-28 17:54:28 +090040config COMMON_CLK_MAX77686
41 tristate "Clock driver for Maxim 77686 MFD"
42 depends on MFD_MAX77686
Javier Martinez Canillas1887d692014-08-18 10:33:01 +020043 select COMMON_CLK_MAX_GEN
Jonghwa Lee73118e62012-08-28 17:54:28 +090044 ---help---
45 This driver supports Maxim 77686 crystal oscillator clock.
46
Javier Martinez Canillas83ccf162014-08-18 10:33:03 +020047config 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
Chris Zhong038b8922014-10-13 15:52:44 -070054config 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
Sebastian Hesselbarth9abd5f02013-04-11 21:42:29 +020063config COMMON_CLK_SI5351
64 tristate "Clock driver for SiLabs 5351A/B/C"
65 depends on I2C
66 select REGMAP_I2C
67 select RATIONAL
68 ---help---
69 This driver supports Silicon Labs 5351A/B/C programmable clock
70 generators.
71
Mike Looijmans8ce20e62015-10-02 09:15:29 +020072config COMMON_CLK_SI514
73 tristate "Clock driver for SiLabs 514 devices"
74 depends on I2C
75 depends on OF
76 select REGMAP_I2C
77 help
78 ---help---
79 This driver supports the Silicon Labs 514 programmable clock
80 generator.
81
Soren Brinkmann1459c832013-09-21 16:40:39 -070082config COMMON_CLK_SI570
83 tristate "Clock driver for SiLabs 570 and compatible devices"
84 depends on I2C
85 depends on OF
86 select REGMAP_I2C
87 help
88 ---help---
89 This driver supports Silicon Labs 570/571/598/599 programmable
90 clock generators.
91
Mike Looijmans19fbbbb2015-06-03 07:25:19 +020092config COMMON_CLK_CDCE925
93 tristate "Clock driver for TI CDCE925 devices"
94 depends on I2C
95 depends on OF
96 select REGMAP_I2C
97 help
98 ---help---
99 This driver supports the TI CDCE925 programmable clock synthesizer.
100 The chip contains two PLLs with spread-spectrum clocking support and
101 five output dividers. The driver only supports the following setup,
102 and uses a fixed setting for the output muxes.
103 Y1 is derived from the input clock
104 Y2 and Y3 derive from PLL1
105 Y4 and Y5 derive from PLL2
106 Given a target output frequency, the driver will set the PLL and
107 divider to best approximate the desired output.
108
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530109config COMMON_CLK_S2MPS11
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200110 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530111 depends on MFD_SEC_CORE
112 ---help---
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200113 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
114 clock. These multi-function devices have two (S2MPS14) or three
115 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530116
Peter Ujfalusif9f8c042012-09-14 17:30:27 +0300117config CLK_TWL6040
118 tristate "External McPDM functional clock from twl6040"
119 depends on TWL6040_CORE
120 ---help---
121 Enable the external functional clock support on OMAP4+ platforms for
122 McPDM. McPDM module is using the external bit clock on the McPDM bus
123 as functional clock.
124
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +0100125config COMMON_CLK_AXI_CLKGEN
126 tristate "AXI clkgen driver"
127 depends on ARCH_ZYNQ || MICROBLAZE
128 help
129 ---help---
130 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
131 FPGAs. It is commonly used in Analog Devices' reference designs.
132
Tang Yuantian93a17c02015-01-15 14:03:41 +0800133config CLK_QORIQ
134 bool "Clock driver for Freescale QorIQ platforms"
135 depends on (PPC_E500MC || ARM) && OF
Tang Yuantian555eae92013-04-09 16:46:26 +0800136 ---help---
Tang Yuantian93a17c02015-01-15 14:03:41 +0800137 This adds the clock driver support for Freescale QorIQ platforms
138 using common clock framework.
Tang Yuantian555eae92013-04-09 16:46:26 +0800139
Loc Ho308964c2013-06-26 11:56:09 -0600140config COMMON_CLK_XGENE
141 bool "Clock driver for APM XGene SoC"
142 default y
143 depends on ARM64
144 ---help---
145 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
146
Santosh Shilimkar6cfc2292013-09-25 21:18:15 -0400147config COMMON_CLK_KEYSTONE
148 tristate "Clock drivers for Keystone based SOCs"
149 depends on ARCH_KEYSTONE && OF
150 ---help---
151 Supports clock drivers for Keystone based SOCs. These SOCs have local
152 a power sleep control module that gate the clock to the IPs and PLLs.
153
Peter Ujfalusi942d1d62014-06-27 09:01:11 +0300154config COMMON_CLK_PALMAS
155 tristate "Clock driver for TI Palmas devices"
156 depends on MFD_PALMAS
157 ---help---
158 This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
159 using common clock framework.
160
Philipp Zabel9a74ccd2015-02-13 20:18:52 +0100161config COMMON_CLK_PWM
162 tristate "Clock driver for PWMs used as clock outputs"
163 depends on PWM
164 ---help---
165 Adapter driver so that any PWM output can be (mis)used as clock signal
166 at 50% duty cycle.
167
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200168config COMMON_CLK_PXA
169 def_bool COMMON_CLK && ARCH_PXA
170 ---help---
171 Sypport for the Marvell PXA SoC.
172
Max Filippov0c7665c2015-01-12 10:20:46 +0300173config COMMON_CLK_CDCE706
174 tristate "Clock driver for TI CDCE706 clock synthesizer"
175 depends on I2C
176 select REGMAP_I2C
177 select RATIONAL
178 ---help---
179 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
180
Stephen Boyd64a12c52015-05-14 17:38:21 -0700181source "drivers/clk/bcm/Kconfig"
Bintian Wang72ea4862015-05-29 10:08:38 +0800182source "drivers/clk/hisilicon/Kconfig"
Stephen Boyd085d7a42014-01-15 10:47:23 -0800183source "drivers/clk/qcom/Kconfig"
184
Arnd Bergmann8fb61e32012-03-17 21:10:51 +0000185endmenu
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +0100186
187source "drivers/clk/mvebu/Kconfig"
Pankaj Dubey4ce9b852014-05-08 13:07:08 +0900188
189source "drivers/clk/samsung/Kconfig"
Thierry Reding31b52ba2015-04-01 09:10:58 +0200190source "drivers/clk/tegra/Kconfig"