xref: /openbmc/u-boot/drivers/clk/Kconfig (revision c507d306)
1menu "Clock"
2
3config CLK
4	bool "Enable clock driver support"
5	depends on DM
6	help
7	  This allows drivers to be provided for clock generators, including
8	  oscillators and PLLs. Devices can use a common clock API to request
9	  a particular clock rate and check on available clocks. Clocks can
10	  feed into other clocks in a tree structure, with multiplexers to
11	  choose the source for each clock.
12
13config SPL_CLK
14	bool "Enable clock support in SPL"
15	depends on CLK && SPL && SPL_DM
16	help
17	  The clock subsystem adds a small amount of overhead to the image.
18	  If this is acceptable and you have a need to use clock drivers in
19	  SPL, enable this option. It might provide a cleaner interface to
20	  setting up clocks within SPL, and allows the same drivers to be
21	  used as U-Boot proper.
22
23config TPL_CLK
24	bool "Enable clock support in TPL"
25	depends on CLK && TPL_DM
26	help
27	  The clock subsystem adds a small amount of overhead to the image.
28	  If this is acceptable and you have a need to use clock drivers in
29	  SPL, enable this option. It might provide a cleaner interface to
30	  setting up clocks within TPL, and allows the same drivers to be
31	  used as U-Boot proper.
32
33config CLK_BCM6345
34	bool "Clock controller driver for BCM6345"
35	depends on CLK && ARCH_BMIPS
36	default y
37	help
38	  This clock driver adds support for enabling and disabling peripheral
39	  clocks on BCM6345 SoCs. HW has no rate changing capabilities.
40
41config CLK_BOSTON
42	def_bool y if TARGET_BOSTON
43	depends on CLK
44	select REGMAP
45	select SYSCON
46	help
47	  Enable this to support the clocks
48
49config CLK_STM32F
50	bool "Enable clock driver support for STM32F family"
51	depends on CLK && (STM32F7 || STM32F4)
52	default y
53	help
54	  This clock driver adds support for RCC clock management
55	  for STM32F4 and STM32F7 SoCs.
56
57config CLK_TI_SCI
58	bool "TI System Control Interface (TI SCI) clock driver"
59	depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
60	help
61	  This enables the clock driver support over TI System Control Interface
62	  available on some new TI's SoCs. If you wish to use clock resources
63	  managed by the TI System Controller, say Y here. Otherwise, say N.
64
65config CLK_HSDK
66	bool "Enable cgu clock driver for HSDK"
67	depends on CLK
68	help
69	  Enable this to support the cgu clocks on Synopsys ARC HSDK
70
71config CLK_VEXPRESS_OSC
72	bool "Enable driver for Arm Versatile Express OSC clock generators"
73	depends on CLK && VEXPRESS_CONFIG
74	help
75	  This clock driver adds support for clock generators present on
76	  Arm Versatile Express platforms.
77
78config CLK_ZYNQ
79	bool "Enable clock driver support for Zynq"
80	depends on CLK && ARCH_ZYNQ
81	default y
82	help
83	  This clock driver adds support for clock realted settings for
84	  Zynq platform.
85
86config CLK_ZYNQMP
87	bool "Enable clock driver support for ZynqMP"
88	depends on ARCH_ZYNQMP
89	help
90	  This clock driver adds support for clock realted settings for
91	  ZynqMP platform.
92
93config CLK_STM32MP1
94	bool "Enable RCC clock driver for STM32MP1"
95	depends on ARCH_STM32MP && CLK
96	default y
97	help
98	  Enable the STM32 clock (RCC) driver. Enable support for
99	  manipulating STM32MP1's on-SoC clocks.
100
101source "drivers/clk/at91/Kconfig"
102source "drivers/clk/exynos/Kconfig"
103source "drivers/clk/imx/Kconfig"
104source "drivers/clk/mvebu/Kconfig"
105source "drivers/clk/owl/Kconfig"
106source "drivers/clk/renesas/Kconfig"
107source "drivers/clk/sunxi/Kconfig"
108source "drivers/clk/sifive/Kconfig"
109source "drivers/clk/tegra/Kconfig"
110source "drivers/clk/uniphier/Kconfig"
111
112config ICS8N3QV01
113	bool "Enable ICS8N3QV01 VCXO driver"
114	depends on CLK
115	help
116	  Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
117	  Crystal Oscillator). The output frequency can be programmed via an
118	  I2C interface.
119
120config CLK_MPC83XX
121	bool "Enable MPC83xx clock driver"
122	depends on CLK
123	help
124	  Support for the clock driver of the MPC83xx series of SoCs.
125
126endmenu
127