blob: 68ca2d9fcd73b3277fec4309996fbd5373b58bbd [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
Arnd Bergmann8fb61e32012-03-17 21:10:51 +00009config COMMON_CLK
10 bool
Mike Turquetteb24764902012-03-15 23:11:19 -070011 select HAVE_CLK_PREPARE
Rob Herring01033be2012-04-09 15:24:58 -050012 select CLKDEV_LOOKUP
Pranith Kumar83fe27e2014-12-05 11:24:45 -050013 select SRCU
Andy Shevchenko07775912015-09-22 18:54:11 +030014 select RATIONAL
Mike Turquetteb24764902012-03-15 23:11:19 -070015 ---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
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000020 this option.
Mike Turquetteb24764902012-03-15 23:11:19 -070021
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000022menu "Common Clock Framework"
23 depends on COMMON_CLK
Mike Turquetteb24764902012-03-15 23:11:19 -070024
Mark Brownf05259a2012-05-17 10:04:57 +010025config 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
Masanari Iidafe4e4372014-10-17 00:09:24 +090030 PMICs from Wolfson Microelectronics.
Mark Brownf05259a2012-05-17 10:04:57 +010031
Pawel Moll5ee2b872013-09-17 17:16:15 +010032source "drivers/clk/versatile/Kconfig"
Linus Walleijf9a6aa42012-08-06 18:32:08 +020033
Jonghwa Lee73118e62012-08-28 17:54:28 +090034config COMMON_CLK_MAX77686
Laxman Dewangan5a227cd2016-06-17 16:21:07 +053035 tristate "Clock driver for Maxim 77620/77686/77802 MFD"
Krzysztof Kozlowski9c1b3052016-10-02 22:58:14 +020036 depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
Jonghwa Lee73118e62012-08-28 17:54:28 +090037 ---help---
Laxman Dewangan5a227cd2016-06-17 16:21:07 +053038 This driver supports Maxim 77620/77686/77802 crystal oscillator
39 clock.
Javier Martinez Canillas83ccf162014-08-18 10:33:03 +020040
Chris Zhong038b8922014-10-13 15:52:44 -070041config COMMON_CLK_RK808
Wadim Egorovcb98fd52016-06-02 08:50:27 +020042 tristate "Clock driver for RK808/RK818"
Chris Zhong038b8922014-10-13 15:52:44 -070043 depends on MFD_RK808
44 ---help---
Wadim Egorovcb98fd52016-06-02 08:50:27 +020045 This driver supports RK808 and RK818 crystal oscillator clock. These
Chris Zhong038b8922014-10-13 15:52:44 -070046 multi-function devices have two fixed-rate oscillators,
47 clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
48 by control register.
49
Daniel Lezcanob68adc22017-04-17 19:19:25 +020050config COMMON_CLK_HI655X
51 tristate "Clock driver for Hi655x"
52 depends on MFD_HI655X_PMIC || COMPILE_TEST
53 ---help---
54 This driver supports the hi655x PMIC clock. This
55 multi-function device has one fixed-rate oscillator, clocked
56 at 32KHz.
57
Sudeep Hollacd52c2a2015-03-30 10:59:52 +010058config COMMON_CLK_SCPI
59 tristate "Clock driver controlled via SCPI interface"
60 depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
61 ---help---
62 This driver provides support for clocks that are controlled
63 by firmware that implements the SCPI interface.
64
65 This driver uses SCPI Message Protocol to interact with the
66 firmware providing all the clock controls.
67
Sebastian Hesselbarth9abd5f02013-04-11 21:42:29 +020068config COMMON_CLK_SI5351
69 tristate "Clock driver for SiLabs 5351A/B/C"
70 depends on I2C
71 select REGMAP_I2C
72 select RATIONAL
73 ---help---
74 This driver supports Silicon Labs 5351A/B/C programmable clock
75 generators.
76
Mike Looijmans8ce20e62015-10-02 09:15:29 +020077config COMMON_CLK_SI514
78 tristate "Clock driver for SiLabs 514 devices"
79 depends on I2C
80 depends on OF
81 select REGMAP_I2C
82 help
83 ---help---
84 This driver supports the Silicon Labs 514 programmable clock
85 generator.
86
Soren Brinkmann1459c832013-09-21 16:40:39 -070087config COMMON_CLK_SI570
88 tristate "Clock driver for SiLabs 570 and compatible devices"
89 depends on I2C
90 depends on OF
91 select REGMAP_I2C
92 help
93 ---help---
94 This driver supports Silicon Labs 570/571/598/599 programmable
95 clock generators.
96
Mike Looijmansc7d5a462015-11-03 12:55:54 +010097config COMMON_CLK_CDCE706
98 tristate "Clock driver for TI CDCE706 clock synthesizer"
99 depends on I2C
100 select REGMAP_I2C
101 select RATIONAL
102 ---help---
103 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
104
Mike Looijmans19fbbbb2015-06-03 07:25:19 +0200105config COMMON_CLK_CDCE925
Akinobu Mita55081242017-01-01 03:04:36 +0900106 tristate "Clock driver for TI CDCE913/925/937/949 devices"
Mike Looijmans19fbbbb2015-06-03 07:25:19 +0200107 depends on I2C
108 depends on OF
109 select REGMAP_I2C
110 help
111 ---help---
Akinobu Mita55081242017-01-01 03:04:36 +0900112 This driver supports the TI CDCE913/925/937/949 programmable clock
113 synthesizer. Each chip has different number of PLLs and outputs.
114 For example, the CDCE925 contains two PLLs with spread-spectrum
115 clocking support and five output dividers. The driver only supports
116 the following setup, and uses a fixed setting for the output muxes.
Mike Looijmans19fbbbb2015-06-03 07:25:19 +0200117 Y1 is derived from the input clock
118 Y2 and Y3 derive from PLL1
119 Y4 and Y5 derive from PLL2
120 Given a target output frequency, the driver will set the PLL and
121 divider to best approximate the desired output.
122
Kuninori Morimoto64dfbe22015-11-10 01:15:09 +0000123config COMMON_CLK_CS2000_CP
124 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
125 depends on I2C
126 help
127 If you say yes here you get support for the CS2000 clock multiplier.
128
Linus Walleij846423f2017-06-21 09:59:52 +0200129config COMMON_CLK_GEMINI
130 bool "Clock driver for Cortina Systems Gemini SoC"
131 depends on ARCH_GEMINI || COMPILE_TEST
132 select MFD_SYSCON
133 select RESET_CONTROLLER
134 ---help---
135 This driver supports the SoC clocks on the Cortina Systems Gemini
136 platform, also known as SL3516 or CS3516.
137
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530138config COMMON_CLK_S2MPS11
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200139 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
Krzysztof Kozlowski9c1b3052016-10-02 22:58:14 +0200140 depends on MFD_SEC_CORE || COMPILE_TEST
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530141 ---help---
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200142 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
143 clock. These multi-function devices have two (S2MPS14) or three
144 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530145
Peter Ujfalusif9f8c042012-09-14 17:30:27 +0300146config CLK_TWL6040
147 tristate "External McPDM functional clock from twl6040"
148 depends on TWL6040_CORE
149 ---help---
150 Enable the external functional clock support on OMAP4+ platforms for
151 McPDM. McPDM module is using the external bit clock on the McPDM bus
152 as functional clock.
153
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +0100154config COMMON_CLK_AXI_CLKGEN
155 tristate "AXI clkgen driver"
Javier Martinez Canillas4a7748c2015-10-13 16:18:18 +0200156 depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +0100157 help
158 ---help---
159 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
160 FPGAs. It is commonly used in Analog Devices' reference designs.
161
Tang Yuantian93a17c02015-01-15 14:03:41 +0800162config CLK_QORIQ
163 bool "Clock driver for Freescale QorIQ platforms"
Linus Torvalds2f4bf522015-11-05 23:38:43 -0800164 depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
Tang Yuantian555eae92013-04-09 16:46:26 +0800165 ---help---
Tang Yuantian93a17c02015-01-15 14:03:41 +0800166 This adds the clock driver support for Freescale QorIQ platforms
167 using common clock framework.
Tang Yuantian555eae92013-04-09 16:46:26 +0800168
Loc Ho308964c2013-06-26 11:56:09 -0600169config COMMON_CLK_XGENE
170 bool "Clock driver for APM XGene SoC"
171 default y
Javier Martinez Canillas4a7748c2015-10-13 16:18:18 +0200172 depends on ARM64 || COMPILE_TEST
Loc Ho308964c2013-06-26 11:56:09 -0600173 ---help---
174 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
175
Vladimir Zapolskiyf7c82a62015-12-06 12:45:57 +0200176config COMMON_CLK_NXP
177 def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
178 select REGMAP_MMIO if ARCH_LPC32XX
Ezequiel Garcia72ad6792016-05-16 12:45:36 -0300179 select MFD_SYSCON if ARCH_LPC18XX
Vladimir Zapolskiyf7c82a62015-12-06 12:45:57 +0200180 ---help---
181 Support for clock providers on NXP platforms.
182
Peter Ujfalusi942d1d62014-06-27 09:01:11 +0300183config COMMON_CLK_PALMAS
184 tristate "Clock driver for TI Palmas devices"
185 depends on MFD_PALMAS
186 ---help---
187 This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
188 using common clock framework.
189
Philipp Zabel9a74ccd2015-02-13 20:18:52 +0100190config COMMON_CLK_PWM
191 tristate "Clock driver for PWMs used as clock outputs"
192 depends on PWM
193 ---help---
194 Adapter driver so that any PWM output can be (mis)used as clock signal
195 at 50% duty cycle.
196
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200197config COMMON_CLK_PXA
198 def_bool COMMON_CLK && ARCH_PXA
199 ---help---
Mike Looijmans048c58b2015-11-03 12:55:53 +0100200 Support for the Marvell PXA SoC.
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200201
Purna Chandra Mandalce6e1182016-05-13 13:22:40 +0530202config COMMON_CLK_PIC32
203 def_bool COMMON_CLK && MACH_PIC32
204
Neil Armstrong0bbd72b2016-04-18 12:01:35 +0200205config COMMON_CLK_OXNAS
206 bool "Clock driver for the OXNAS SoC Family"
Jean Delvare821f9942016-07-07 09:18:44 +0200207 depends on ARCH_OXNAS || COMPILE_TEST
Neil Armstrong0bbd72b2016-04-18 12:01:35 +0200208 select MFD_SYSCON
209 ---help---
210 Support for the OXNAS SoC Family clocks.
211
Marek Vasut3e1aec4e2017-01-12 02:03:24 +0100212config COMMON_CLK_VC5
213 tristate "Clock driver for IDT VersaClock5 devices"
214 depends on I2C
215 depends on OF
216 select REGMAP_I2C
217 help
218 ---help---
219 This driver supports the IDT VersaClock5 programmable clock
220 generator.
221
Stephen Boyd64a12c52015-05-14 17:38:21 -0700222source "drivers/clk/bcm/Kconfig"
Bintian Wang72ea4862015-05-29 10:08:38 +0800223source "drivers/clk/hisilicon/Kconfig"
Paul Burton6b0fd6c2017-06-17 13:52:47 -0700224source "drivers/clk/imgtec/Kconfig"
Tero Kristob745c072017-06-13 10:09:27 +0300225source "drivers/clk/keystone/Kconfig"
James Liao2886c842016-08-19 13:34:49 +0800226source "drivers/clk/mediatek/Kconfig"
Michael Turquettecb7c47d2016-05-23 14:29:13 -0700227source "drivers/clk/meson/Kconfig"
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +0100228source "drivers/clk/mvebu/Kconfig"
James Liaob9e65eb2016-01-28 16:58:57 +0800229source "drivers/clk/qcom/Kconfig"
Geert Uytterhoevena5bd7f72016-04-13 11:08:42 +0200230source "drivers/clk/renesas/Kconfig"
Pankaj Dubey4ce9b852014-05-08 13:07:08 +0900231source "drivers/clk/samsung/Kconfig"
Maxime Ripard1d80c142016-06-29 21:05:23 +0200232source "drivers/clk/sunxi-ng/Kconfig"
Thierry Reding31b52ba2015-04-01 09:10:58 +0200233source "drivers/clk/tegra/Kconfig"
Tony Lindgren21330492016-02-26 09:35:05 -0800234source "drivers/clk/ti/Kconfig"
Masahiro Yamada734d82f2016-09-16 16:40:03 +0900235source "drivers/clk/uniphier/Kconfig"
James Liaob9e65eb2016-01-28 16:58:57 +0800236
237endmenu