Merge Linus' tree to be be to apply submitted patches to newer code than
[cascardo/linux.git] / drivers / clk / Kconfig
1
2 config CLKDEV_LOOKUP
3         bool
4         select HAVE_CLK
5
6 config HAVE_CLK_PREPARE
7         bool
8
9 config HAVE_MACH_CLKDEV
10         bool
11
12 config COMMON_CLK
13         bool
14         select HAVE_CLK_PREPARE
15         select CLKDEV_LOOKUP
16         ---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
21           this option.
22
23 menu "Common Clock Framework"
24         depends on COMMON_CLK
25
26 config COMMON_CLK_WM831X
27         tristate "Clock driver for WM831x/2x PMICs"
28         depends on MFD_WM831X
29         ---help---
30           Supports the clocking subsystem of the WM831x/2x series of
31           PMICs from Wolfson Microelectronics.
32
33 source "drivers/clk/versatile/Kconfig"
34
35 config COMMON_CLK_MAX_GEN
36         bool
37
38 config COMMON_CLK_MAX77686
39         tristate "Clock driver for Maxim 77686 MFD"
40         depends on MFD_MAX77686
41         select COMMON_CLK_MAX_GEN
42         ---help---
43           This driver supports Maxim 77686 crystal oscillator clock. 
44
45 config COMMON_CLK_MAX77802
46         tristate "Clock driver for Maxim 77802 PMIC"
47         depends on MFD_MAX77686
48         select COMMON_CLK_MAX_GEN
49         ---help---
50           This driver supports Maxim 77802 crystal oscillator clock.
51
52 config COMMON_CLK_RK808
53         tristate "Clock driver for RK808"
54         depends on MFD_RK808
55         ---help---
56           This driver supports RK808 crystal oscillator clock. These
57           multi-function devices have two fixed-rate oscillators,
58           clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
59           by control register.
60
61 config COMMON_CLK_SI5351
62         tristate "Clock driver for SiLabs 5351A/B/C"
63         depends on I2C
64         select REGMAP_I2C
65         select RATIONAL
66         ---help---
67           This driver supports Silicon Labs 5351A/B/C programmable clock
68           generators.
69
70 config COMMON_CLK_SI570
71         tristate "Clock driver for SiLabs 570 and compatible devices"
72         depends on I2C
73         depends on OF
74         select REGMAP_I2C
75         help
76         ---help---
77           This driver supports Silicon Labs 570/571/598/599 programmable
78           clock generators.
79
80 config COMMON_CLK_S2MPS11
81         tristate "Clock driver for S2MPS1X/S5M8767 MFD"
82         depends on MFD_SEC_CORE
83         ---help---
84           This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
85           clock. These multi-function devices have two (S2MPS14) or three
86           (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
87
88 config CLK_TWL6040
89         tristate "External McPDM functional clock from twl6040"
90         depends on TWL6040_CORE
91         ---help---
92           Enable the external functional clock support on OMAP4+ platforms for
93           McPDM. McPDM module is using the external bit clock on the McPDM bus
94           as functional clock.
95
96 config COMMON_CLK_AXI_CLKGEN
97         tristate "AXI clkgen driver"
98         depends on ARCH_ZYNQ || MICROBLAZE
99         help
100         ---help---
101           Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
102           FPGAs. It is commonly used in Analog Devices' reference designs.
103
104 config CLK_PPC_CORENET
105         bool "Clock driver for PowerPC corenet platforms"
106         depends on PPC_E500MC && OF
107         ---help---
108           This adds the clock driver support for Freescale PowerPC corenet
109           platforms using common clock framework.
110
111 config COMMON_CLK_XGENE
112         bool "Clock driver for APM XGene SoC"
113         default y
114         depends on ARM64
115         ---help---
116           Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
117
118 config COMMON_CLK_KEYSTONE
119         tristate "Clock drivers for Keystone based SOCs"
120         depends on ARCH_KEYSTONE && OF
121         ---help---
122           Supports clock drivers for Keystone based SOCs. These SOCs have local
123           a power sleep control module that gate the clock to the IPs and PLLs.
124
125 config COMMON_CLK_PALMAS
126         tristate "Clock driver for TI Palmas devices"
127         depends on MFD_PALMAS
128         ---help---
129           This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
130           using common clock framework.
131
132 config COMMON_CLK_PXA
133         def_bool COMMON_CLK && ARCH_PXA
134         ---help---
135           Sypport for the Marvell PXA SoC.
136
137 source "drivers/clk/qcom/Kconfig"
138
139 endmenu
140
141 source "drivers/clk/bcm/Kconfig"
142 source "drivers/clk/mvebu/Kconfig"
143
144 source "drivers/clk/samsung/Kconfig"