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