blob: 98efbfcdb503e181d32f44a0dd0b44f286e6080a [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
Javier Martinez Canillas5dbbb002014-08-18 10:33:00 +020034config COMMON_CLK_MAX_GEN
35 bool
36
Jonghwa Lee73118e62012-08-28 17:54:28 +090037config COMMON_CLK_MAX77686
38 tristate "Clock driver for Maxim 77686 MFD"
39 depends on MFD_MAX77686
Javier Martinez Canillas1887d692014-08-18 10:33:01 +020040 select COMMON_CLK_MAX_GEN
Jonghwa Lee73118e62012-08-28 17:54:28 +090041 ---help---
42 This driver supports Maxim 77686 crystal oscillator clock.
43
Javier Martinez Canillas83ccf162014-08-18 10:33:03 +020044config COMMON_CLK_MAX77802
45 tristate "Clock driver for Maxim 77802 PMIC"
46 depends on MFD_MAX77686
47 select COMMON_CLK_MAX_GEN
48 ---help---
49 This driver supports Maxim 77802 crystal oscillator clock.
50
Chris Zhong038b8922014-10-13 15:52:44 -070051config COMMON_CLK_RK808
52 tristate "Clock driver for RK808"
53 depends on MFD_RK808
54 ---help---
55 This driver supports RK808 crystal oscillator clock. These
56 multi-function devices have two fixed-rate oscillators,
57 clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
58 by control register.
59
Sudeep Hollacd52c2a2015-03-30 10:59:52 +010060config COMMON_CLK_SCPI
61 tristate "Clock driver controlled via SCPI interface"
62 depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
63 ---help---
64 This driver provides support for clocks that are controlled
65 by firmware that implements the SCPI interface.
66
67 This driver uses SCPI Message Protocol to interact with the
68 firmware providing all the clock controls.
69
Sebastian Hesselbarth9abd5f02013-04-11 21:42:29 +020070config COMMON_CLK_SI5351
71 tristate "Clock driver for SiLabs 5351A/B/C"
72 depends on I2C
73 select REGMAP_I2C
74 select RATIONAL
75 ---help---
76 This driver supports Silicon Labs 5351A/B/C programmable clock
77 generators.
78
Mike Looijmans8ce20e62015-10-02 09:15:29 +020079config COMMON_CLK_SI514
80 tristate "Clock driver for SiLabs 514 devices"
81 depends on I2C
82 depends on OF
83 select REGMAP_I2C
84 help
85 ---help---
86 This driver supports the Silicon Labs 514 programmable clock
87 generator.
88
Soren Brinkmann1459c832013-09-21 16:40:39 -070089config COMMON_CLK_SI570
90 tristate "Clock driver for SiLabs 570 and compatible devices"
91 depends on I2C
92 depends on OF
93 select REGMAP_I2C
94 help
95 ---help---
96 This driver supports Silicon Labs 570/571/598/599 programmable
97 clock generators.
98
Mike Looijmansc7d5a462015-11-03 12:55:54 +010099config COMMON_CLK_CDCE706
100 tristate "Clock driver for TI CDCE706 clock synthesizer"
101 depends on I2C
102 select REGMAP_I2C
103 select RATIONAL
104 ---help---
105 This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
106
Mike Looijmans19fbbbb2015-06-03 07:25:19 +0200107config COMMON_CLK_CDCE925
108 tristate "Clock driver for TI CDCE925 devices"
109 depends on I2C
110 depends on OF
111 select REGMAP_I2C
112 help
113 ---help---
114 This driver supports the TI CDCE925 programmable clock synthesizer.
115 The chip contains two PLLs with spread-spectrum clocking support and
116 five output dividers. The driver only supports the following setup,
117 and uses a fixed setting for the output muxes.
118 Y1 is derived from the input clock
119 Y2 and Y3 derive from PLL1
120 Y4 and Y5 derive from PLL2
121 Given a target output frequency, the driver will set the PLL and
122 divider to best approximate the desired output.
123
Kuninori Morimoto64dfbe22015-11-10 01:15:09 +0000124config COMMON_CLK_CS2000_CP
125 tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
126 depends on I2C
127 help
128 If you say yes here you get support for the CS2000 clock multiplier.
129
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530130config COMMON_CLK_S2MPS11
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200131 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530132 depends on MFD_SEC_CORE
133 ---help---
Krzysztof Kozlowskie8b60a42014-05-21 13:23:01 +0200134 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
135 clock. These multi-function devices have two (S2MPS14) or three
136 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +0530137
Peter Ujfalusif9f8c042012-09-14 17:30:27 +0300138config CLK_TWL6040
139 tristate "External McPDM functional clock from twl6040"
140 depends on TWL6040_CORE
141 ---help---
142 Enable the external functional clock support on OMAP4+ platforms for
143 McPDM. McPDM module is using the external bit clock on the McPDM bus
144 as functional clock.
145
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +0100146config COMMON_CLK_AXI_CLKGEN
147 tristate "AXI clkgen driver"
Javier Martinez Canillas4a7748c2015-10-13 16:18:18 +0200148 depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +0100149 help
150 ---help---
151 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
152 FPGAs. It is commonly used in Analog Devices' reference designs.
153
Tang Yuantian93a17c02015-01-15 14:03:41 +0800154config CLK_QORIQ
155 bool "Clock driver for Freescale QorIQ platforms"
Linus Torvalds2f4bf522015-11-05 23:38:43 -0800156 depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
Tang Yuantian555eae92013-04-09 16:46:26 +0800157 ---help---
Tang Yuantian93a17c02015-01-15 14:03:41 +0800158 This adds the clock driver support for Freescale QorIQ platforms
159 using common clock framework.
Tang Yuantian555eae92013-04-09 16:46:26 +0800160
Loc Ho308964c2013-06-26 11:56:09 -0600161config COMMON_CLK_XGENE
162 bool "Clock driver for APM XGene SoC"
163 default y
Javier Martinez Canillas4a7748c2015-10-13 16:18:18 +0200164 depends on ARM64 || COMPILE_TEST
Loc Ho308964c2013-06-26 11:56:09 -0600165 ---help---
166 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
167
Santosh Shilimkar6cfc2292013-09-25 21:18:15 -0400168config COMMON_CLK_KEYSTONE
169 tristate "Clock drivers for Keystone based SOCs"
Javier Martinez Canillas4a7748c2015-10-13 16:18:18 +0200170 depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
Santosh Shilimkar6cfc2292013-09-25 21:18:15 -0400171 ---help---
172 Supports clock drivers for Keystone based SOCs. These SOCs have local
173 a power sleep control module that gate the clock to the IPs and PLLs.
174
Vladimir Zapolskiyf7c82a62015-12-06 12:45:57 +0200175config COMMON_CLK_NXP
176 def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
177 select REGMAP_MMIO if ARCH_LPC32XX
Ezequiel Garcia72ad6792016-05-16 12:45:36 -0300178 select MFD_SYSCON if ARCH_LPC18XX
Vladimir Zapolskiyf7c82a62015-12-06 12:45:57 +0200179 ---help---
180 Support for clock providers on NXP platforms.
181
Peter Ujfalusi942d1d62014-06-27 09:01:11 +0300182config COMMON_CLK_PALMAS
183 tristate "Clock driver for TI Palmas devices"
184 depends on MFD_PALMAS
185 ---help---
186 This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
187 using common clock framework.
188
Philipp Zabel9a74ccd2015-02-13 20:18:52 +0100189config COMMON_CLK_PWM
190 tristate "Clock driver for PWMs used as clock outputs"
191 depends on PWM
192 ---help---
193 Adapter driver so that any PWM output can be (mis)used as clock signal
194 at 50% duty cycle.
195
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200196config COMMON_CLK_PXA
197 def_bool COMMON_CLK && ARCH_PXA
198 ---help---
Mike Looijmans048c58b2015-11-03 12:55:53 +0100199 Support for the Marvell PXA SoC.
Robert Jarzmik98d147f2014-10-01 23:39:29 +0200200
Purna Chandra Mandalce6e1182016-05-13 13:22:40 +0530201config COMMON_CLK_PIC32
202 def_bool COMMON_CLK && MACH_PIC32
203
Neil Armstrong0bbd72b2016-04-18 12:01:35 +0200204config COMMON_CLK_OXNAS
205 bool "Clock driver for the OXNAS SoC Family"
206 select MFD_SYSCON
207 ---help---
208 Support for the OXNAS SoC Family clocks.
209
Stephen Boyd64a12c52015-05-14 17:38:21 -0700210source "drivers/clk/bcm/Kconfig"
Bintian Wang72ea4862015-05-29 10:08:38 +0800211source "drivers/clk/hisilicon/Kconfig"
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +0100212source "drivers/clk/mvebu/Kconfig"
James Liaob9e65eb2016-01-28 16:58:57 +0800213source "drivers/clk/qcom/Kconfig"
Geert Uytterhoevena5bd7f72016-04-13 11:08:42 +0200214source "drivers/clk/renesas/Kconfig"
Pankaj Dubey4ce9b852014-05-08 13:07:08 +0900215source "drivers/clk/samsung/Kconfig"
Thierry Reding31b52ba2015-04-01 09:10:58 +0200216source "drivers/clk/tegra/Kconfig"
Tony Lindgren21330492016-02-26 09:35:05 -0800217source "drivers/clk/ti/Kconfig"
James Liaob9e65eb2016-01-28 16:58:57 +0800218
219endmenu