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