blob: 3089f05ba6614584727202b853019bbf1633ffca [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
Mike Turquetteb24764902012-03-15 23:11:19 -070016 ---help---
17 The common clock framework is a single definition of struct
18 clk, useful across many platforms, as well as an
19 implementation of the clock API in include/linux/clk.h.
20 Architectures utilizing the common struct clk should select
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000021 this option.
Mike Turquetteb24764902012-03-15 23:11:19 -070022
Arnd Bergmann8fb61e32012-03-17 21:10:51 +000023menu "Common Clock Framework"
24 depends on COMMON_CLK
Mike Turquetteb24764902012-03-15 23:11:19 -070025
Mike Turquetteb24764902012-03-15 23:11:19 -070026config COMMON_CLK_DEBUG
27 bool "DebugFS representation of clock tree"
Mike Turquetteb24764902012-03-15 23:11:19 -070028 select DEBUG_FS
29 ---help---
Peter Meerwald24ee1a02013-06-29 15:14:19 +020030 Creates a directory hierarchy in debugfs for visualizing the clk
Mike Turquetteb24764902012-03-15 23:11:19 -070031 tree structure. Each directory contains read-only members
32 that export information specific to that clk node: clk_rate,
33 clk_flags, clk_prepare_count, clk_enable_count &
34 clk_notifier_count.
35
Mark Brownf05259a2012-05-17 10:04:57 +010036config COMMON_CLK_WM831X
37 tristate "Clock driver for WM831x/2x PMICs"
38 depends on MFD_WM831X
39 ---help---
40 Supports the clocking subsystem of the WM831x/2x series of
41 PMICs from Wolfson Microlectronics.
42
Linus Walleijf9a6aa42012-08-06 18:32:08 +020043config COMMON_CLK_VERSATILE
Linus Walleij672575e2012-08-30 19:39:00 +020044 bool "Clock driver for ARM Reference designs"
Pawel Mollc7f6e2d2013-06-10 16:05:07 +010045 depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
Linus Walleijf9a6aa42012-08-06 18:32:08 +020046 ---help---
Pawel Mollbcd6f562012-09-18 15:17:48 +010047 Supports clocking on ARM Reference designs:
48 - Integrator/AP and Integrator/CP
49 - RealView PB1176, EB, PB11MP and PBX
50 - Versatile Express
Linus Walleijf9a6aa42012-08-06 18:32:08 +020051
Jonghwa Lee73118e62012-08-28 17:54:28 +090052config COMMON_CLK_MAX77686
53 tristate "Clock driver for Maxim 77686 MFD"
54 depends on MFD_MAX77686
55 ---help---
56 This driver supports Maxim 77686 crystal oscillator clock.
57
Sebastian Hesselbarth9abd5f02013-04-11 21:42:29 +020058config COMMON_CLK_SI5351
59 tristate "Clock driver for SiLabs 5351A/B/C"
60 depends on I2C
61 select REGMAP_I2C
62 select RATIONAL
63 ---help---
64 This driver supports Silicon Labs 5351A/B/C programmable clock
65 generators.
66
Soren Brinkmann1459c832013-09-21 16:40:39 -070067config COMMON_CLK_SI570
68 tristate "Clock driver for SiLabs 570 and compatible devices"
69 depends on I2C
70 depends on OF
71 select REGMAP_I2C
72 help
73 ---help---
74 This driver supports Silicon Labs 570/571/598/599 programmable
75 clock generators.
76
Yadwinder Singh Brar7cc560d2013-07-07 17:14:20 +053077config COMMON_CLK_S2MPS11
78 tristate "Clock driver for S2MPS11 MFD"
79 depends on MFD_SEC_CORE
80 ---help---
81 This driver supports S2MPS11 crystal oscillator clock.
82
Peter Ujfalusif9f8c042012-09-14 17:30:27 +030083config CLK_TWL6040
84 tristate "External McPDM functional clock from twl6040"
85 depends on TWL6040_CORE
86 ---help---
87 Enable the external functional clock support on OMAP4+ platforms for
88 McPDM. McPDM module is using the external bit clock on the McPDM bus
89 as functional clock.
90
Lars-Peter Clausen0e646c52013-03-11 16:22:29 +010091config COMMON_CLK_AXI_CLKGEN
92 tristate "AXI clkgen driver"
93 depends on ARCH_ZYNQ || MICROBLAZE
94 help
95 ---help---
96 Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
97 FPGAs. It is commonly used in Analog Devices' reference designs.
98
Tang Yuantian555eae92013-04-09 16:46:26 +080099config CLK_PPC_CORENET
100 bool "Clock driver for PowerPC corenet platforms"
101 depends on PPC_E500MC && OF
102 ---help---
103 This adds the clock driver support for Freescale PowerPC corenet
104 platforms using common clock framework.
105
Loc Ho308964c2013-06-26 11:56:09 -0600106config COMMON_CLK_XGENE
107 bool "Clock driver for APM XGene SoC"
108 default y
109 depends on ARM64
110 ---help---
111 Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
112
Santosh Shilimkar6cfc2292013-09-25 21:18:15 -0400113config COMMON_CLK_KEYSTONE
114 tristate "Clock drivers for Keystone based SOCs"
115 depends on ARCH_KEYSTONE && OF
116 ---help---
117 Supports clock drivers for Keystone based SOCs. These SOCs have local
118 a power sleep control module that gate the clock to the IPs and PLLs.
119
Arnd Bergmann8fb61e32012-03-17 21:10:51 +0000120endmenu
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +0100121
122source "drivers/clk/mvebu/Kconfig"