xref: /openbmc/linux/drivers/clk/Kconfig (revision 1c2f87c2)
1
2config CLKDEV_LOOKUP
3	bool
4	select HAVE_CLK
5
6config HAVE_CLK_PREPARE
7	bool
8
9config HAVE_MACH_CLKDEV
10	bool
11
12config 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
23menu "Common Clock Framework"
24	depends on COMMON_CLK
25
26config 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
33config COMMON_CLK_VERSATILE
34	bool "Clock driver for ARM Reference designs"
35	depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64
36	---help---
37          Supports clocking on ARM Reference designs:
38	  - Integrator/AP and Integrator/CP
39	  - RealView PB1176, EB, PB11MP and PBX
40	  - Versatile Express
41
42config COMMON_CLK_MAX77686
43	tristate "Clock driver for Maxim 77686 MFD"
44	depends on MFD_MAX77686
45	---help---
46	  This driver supports Maxim 77686 crystal oscillator clock.
47
48config COMMON_CLK_SI5351
49	tristate "Clock driver for SiLabs 5351A/B/C"
50	depends on I2C
51	select REGMAP_I2C
52	select RATIONAL
53	---help---
54	  This driver supports Silicon Labs 5351A/B/C programmable clock
55	  generators.
56
57config COMMON_CLK_SI570
58	tristate "Clock driver for SiLabs 570 and compatible devices"
59	depends on I2C
60	depends on OF
61	select REGMAP_I2C
62	help
63	---help---
64	  This driver supports Silicon Labs 570/571/598/599 programmable
65	  clock generators.
66
67config COMMON_CLK_S2MPS11
68	tristate "Clock driver for S2MPS11/S5M8767 MFD"
69	depends on MFD_SEC_CORE
70	---help---
71	  This driver supports S2MPS11/S5M8767 crystal oscillator clock. These
72	  multi-function devices have 3 fixed-rate oscillators, clocked at
73	  32KHz each.
74
75config CLK_TWL6040
76	tristate "External McPDM functional clock from twl6040"
77	depends on TWL6040_CORE
78	---help---
79	  Enable the external functional clock support on OMAP4+ platforms for
80	  McPDM. McPDM module is using the external bit clock on the McPDM bus
81	  as functional clock.
82
83config COMMON_CLK_AXI_CLKGEN
84	tristate "AXI clkgen driver"
85	depends on ARCH_ZYNQ || MICROBLAZE
86	help
87	---help---
88	  Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
89	  FPGAs. It is commonly used in Analog Devices' reference designs.
90
91config CLK_PPC_CORENET
92	bool "Clock driver for PowerPC corenet platforms"
93	depends on PPC_E500MC && OF
94	---help---
95	  This adds the clock driver support for Freescale PowerPC corenet
96	  platforms using common clock framework.
97
98config COMMON_CLK_XGENE
99	bool "Clock driver for APM XGene SoC"
100	default y
101	depends on ARM64
102	---help---
103	  Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
104
105config COMMON_CLK_KEYSTONE
106	tristate "Clock drivers for Keystone based SOCs"
107	depends on ARCH_KEYSTONE && OF
108	---help---
109          Supports clock drivers for Keystone based SOCs. These SOCs have local
110	  a power sleep control module that gate the clock to the IPs and PLLs.
111
112source "drivers/clk/qcom/Kconfig"
113
114endmenu
115
116source "drivers/clk/bcm/Kconfig"
117source "drivers/clk/mvebu/Kconfig"
118