Merge tag 'for-v3.18' of git://git.infradead.org/battery-2.6
[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 Microlectronics.
32
33 source "drivers/clk/versatile/Kconfig"
34
35 config COMMON_CLK_MAX77686
36         tristate "Clock driver for Maxim 77686 MFD"
37         depends on MFD_MAX77686
38         ---help---
39           This driver supports Maxim 77686 crystal oscillator clock. 
40
41 config COMMON_CLK_RK808
42         tristate "Clock driver for RK808"
43         depends on MFD_RK808
44         ---help---
45           This driver supports RK808 crystal oscillator clock. These
46           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
50 config COMMON_CLK_SI5351
51         tristate "Clock driver for SiLabs 5351A/B/C"
52         depends on I2C
53         select REGMAP_I2C
54         select RATIONAL
55         ---help---
56           This driver supports Silicon Labs 5351A/B/C programmable clock
57           generators.
58
59 config COMMON_CLK_SI570
60         tristate "Clock driver for SiLabs 570 and compatible devices"
61         depends on I2C
62         depends on OF
63         select REGMAP_I2C
64         help
65         ---help---
66           This driver supports Silicon Labs 570/571/598/599 programmable
67           clock generators.
68
69 config COMMON_CLK_S2MPS11
70         tristate "Clock driver for S2MPS1X/S5M8767 MFD"
71         depends on MFD_SEC_CORE
72         ---help---
73           This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
74           clock. These multi-function devices have two (S2MPS14) or three
75           (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
76
77 config CLK_TWL6040
78         tristate "External McPDM functional clock from twl6040"
79         depends on TWL6040_CORE
80         ---help---
81           Enable the external functional clock support on OMAP4+ platforms for
82           McPDM. McPDM module is using the external bit clock on the McPDM bus
83           as functional clock.
84
85 config COMMON_CLK_AXI_CLKGEN
86         tristate "AXI clkgen driver"
87         depends on ARCH_ZYNQ || MICROBLAZE
88         help
89         ---help---
90           Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
91           FPGAs. It is commonly used in Analog Devices' reference designs.
92
93 config CLK_PPC_CORENET
94         bool "Clock driver for PowerPC corenet platforms"
95         depends on PPC_E500MC && OF
96         ---help---
97           This adds the clock driver support for Freescale PowerPC corenet
98           platforms using common clock framework.
99
100 config COMMON_CLK_XGENE
101         bool "Clock driver for APM XGene SoC"
102         default y
103         depends on ARM64
104         ---help---
105           Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
106
107 config COMMON_CLK_KEYSTONE
108         tristate "Clock drivers for Keystone based SOCs"
109         depends on ARCH_KEYSTONE && OF
110         ---help---
111           Supports clock drivers for Keystone based SOCs. These SOCs have local
112           a power sleep control module that gate the clock to the IPs and PLLs.
113
114 config COMMON_CLK_PALMAS
115         tristate "Clock driver for TI Palmas devices"
116         depends on MFD_PALMAS
117         ---help---
118           This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
119           using common clock framework.
120
121 source "drivers/clk/qcom/Kconfig"
122
123 endmenu
124
125 source "drivers/clk/bcm/Kconfig"
126 source "drivers/clk/mvebu/Kconfig"
127
128 source "drivers/clk/samsung/Kconfig"