xref: /OK3568_Linux_fs/u-boot/drivers/clk/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenu "Clock"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig CLK
4*4882a593Smuzhiyun	bool "Enable clock driver support"
5*4882a593Smuzhiyun	depends on DM
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  This allows drivers to be provided for clock generators, including
8*4882a593Smuzhiyun	  oscillators and PLLs. Devices can use a common clock API to request
9*4882a593Smuzhiyun	  a particular clock rate and check on available clocks. Clocks can
10*4882a593Smuzhiyun	  feed into other clocks in a tree structure, with multiplexers to
11*4882a593Smuzhiyun	  choose the source for each clock.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig SPL_CLK
14*4882a593Smuzhiyun	bool "Enable clock support in SPL"
15*4882a593Smuzhiyun	depends on CLK && SPL && SPL_DM
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  The clock subsystem adds a small amount of overhead to the image.
18*4882a593Smuzhiyun	  If this is acceptable and you have a need to use clock drivers in
19*4882a593Smuzhiyun	  SPL, enable this option. It might provide a cleaner interface to
20*4882a593Smuzhiyun	  setting up clocks within SPL, and allows the same drivers to be
21*4882a593Smuzhiyun	  used as U-Boot proper.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig TPL_CLK
24*4882a593Smuzhiyun	bool "Enable clock support in TPL"
25*4882a593Smuzhiyun	depends on CLK && TPL_DM
26*4882a593Smuzhiyun	help
27*4882a593Smuzhiyun	  The clock subsystem adds a small amount of overhead to the image.
28*4882a593Smuzhiyun	  If this is acceptable and you have a need to use clock drivers in
29*4882a593Smuzhiyun	  SPL, enable this option. It might provide a cleaner interface to
30*4882a593Smuzhiyun	  setting up clocks within TPL, and allows the same drivers to be
31*4882a593Smuzhiyun	  used as U-Boot proper.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig CLK_BCM6345
34*4882a593Smuzhiyun	bool "Clock controller driver for BCM6345"
35*4882a593Smuzhiyun	depends on CLK && ARCH_BMIPS
36*4882a593Smuzhiyun	default y
37*4882a593Smuzhiyun	help
38*4882a593Smuzhiyun	  This clock driver adds support for enabling and disabling peripheral
39*4882a593Smuzhiyun	  clocks on BCM6345 SoCs. HW has no rate changing capabilities.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig CLK_BOSTON
42*4882a593Smuzhiyun	def_bool y if TARGET_BOSTON
43*4882a593Smuzhiyun	depends on CLK
44*4882a593Smuzhiyun	select REGMAP
45*4882a593Smuzhiyun	select SYSCON
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  Enable this to support the clocks
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig CLK_ZYNQ
50*4882a593Smuzhiyun	bool "Enable clock driver support for Zynq"
51*4882a593Smuzhiyun	depends on CLK && ARCH_ZYNQ
52*4882a593Smuzhiyun	default y
53*4882a593Smuzhiyun	help
54*4882a593Smuzhiyun	  This clock driver adds support for clock realted settings for
55*4882a593Smuzhiyun	  Zynq platform.
56*4882a593Smuzhiyun
57*4882a593Smuzhiyunconfig CLK_ZYNQMP
58*4882a593Smuzhiyun	bool "Enable clock driver support for ZynqMP"
59*4882a593Smuzhiyun	depends on ARCH_ZYNQMP
60*4882a593Smuzhiyun	help
61*4882a593Smuzhiyun	  This clock driver adds support for clock realted settings for
62*4882a593Smuzhiyun	  ZynqMP platform.
63*4882a593Smuzhiyun
64*4882a593Smuzhiyunconfig CLK_SCMI
65*4882a593Smuzhiyun	bool "Enable SCMI clock driver"
66*4882a593Smuzhiyun	depends on SCMI_FIRMWARE
67*4882a593Smuzhiyun	help
68*4882a593Smuzhiyun	  Enable this option if you want to support clock devices exposed
69*4882a593Smuzhiyun	  by a SCMI agent based on SCMI clock protocol communication
70*4882a593Smuzhiyun	  with a SCMI server.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyunconfig SPL_CLK_SCMI
73*4882a593Smuzhiyun	bool "Enable SCMI clock driver in SPL"
74*4882a593Smuzhiyun	depends on SPL_SCMI_FIRMWARE
75*4882a593Smuzhiyun	help
76*4882a593Smuzhiyun	  Enable this option in SPL if you want to support clock devices exposed
77*4882a593Smuzhiyun	  by a SCMI agent based on SCMI clock protocol communication
78*4882a593Smuzhiyun	  with a SCMI server.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyunsource "drivers/clk/tegra/Kconfig"
81*4882a593Smuzhiyunsource "drivers/clk/uniphier/Kconfig"
82*4882a593Smuzhiyunsource "drivers/clk/exynos/Kconfig"
83*4882a593Smuzhiyunsource "drivers/clk/at91/Kconfig"
84*4882a593Smuzhiyunsource "drivers/clk/renesas/Kconfig"
85*4882a593Smuzhiyunsource "drivers/clk/rockchip/Kconfig"
86*4882a593Smuzhiyun
87*4882a593Smuzhiyunendmenu
88