xref: /OK3568_Linux_fs/u-boot/drivers/clk/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_ZYNQ
50	bool "Enable clock driver support for Zynq"
51	depends on CLK && ARCH_ZYNQ
52	default y
53	help
54	  This clock driver adds support for clock realted settings for
55	  Zynq platform.
56
57config CLK_ZYNQMP
58	bool "Enable clock driver support for ZynqMP"
59	depends on ARCH_ZYNQMP
60	help
61	  This clock driver adds support for clock realted settings for
62	  ZynqMP platform.
63
64config CLK_SCMI
65	bool "Enable SCMI clock driver"
66	depends on SCMI_FIRMWARE
67	help
68	  Enable this option if you want to support clock devices exposed
69	  by a SCMI agent based on SCMI clock protocol communication
70	  with a SCMI server.
71
72config SPL_CLK_SCMI
73	bool "Enable SCMI clock driver in SPL"
74	depends on SPL_SCMI_FIRMWARE
75	help
76	  Enable this option in SPL if you want to support clock devices exposed
77	  by a SCMI agent based on SCMI clock protocol communication
78	  with a SCMI server.
79
80source "drivers/clk/tegra/Kconfig"
81source "drivers/clk/uniphier/Kconfig"
82source "drivers/clk/exynos/Kconfig"
83source "drivers/clk/at91/Kconfig"
84source "drivers/clk/renesas/Kconfig"
85source "drivers/clk/rockchip/Kconfig"
86
87endmenu
88