xref: /openbmc/u-boot/drivers/clk/Kconfig (revision dd7c749474e0976cfc7e78dc9032d7fa8b9b9632)
181385818SMasahiro Yamadamenu "Clock"
281385818SMasahiro Yamada
3f26c8a8eSSimon Glassconfig CLK
4f26c8a8eSSimon Glass	bool "Enable clock driver support"
5f26c8a8eSSimon Glass	depends on DM
6f26c8a8eSSimon Glass	help
7f26c8a8eSSimon Glass	  This allows drivers to be provided for clock generators, including
8f26c8a8eSSimon Glass	  oscillators and PLLs. Devices can use a common clock API to request
9f26c8a8eSSimon Glass	  a particular clock rate and check on available clocks. Clocks can
10f26c8a8eSSimon Glass	  feed into other clocks in a tree structure, with multiplexers to
11f26c8a8eSSimon Glass	  choose the source for each clock.
12f26c8a8eSSimon Glass
1305435891SMasahiro Yamadaconfig SPL_CLK
14f26c8a8eSSimon Glass	bool "Enable clock support in SPL"
15f26c8a8eSSimon Glass	depends on CLK
16f26c8a8eSSimon Glass	help
17f26c8a8eSSimon Glass	  The clock subsystem adds a small amount of overhead to the image.
18f26c8a8eSSimon Glass	  If this is acceptable and you have a need to use clock drivers in
19f26c8a8eSSimon Glass	  SPL, enable this option. It might provide a cleaner interface to
20f26c8a8eSSimon Glass	  setting up clocks within SPL, and allows the same drivers to be
21f26c8a8eSSimon Glass	  used as U-Boot proper.
2281385818SMasahiro Yamada
23*dd7c7494SPaul Burtonconfig CLK_BOSTON
24*dd7c7494SPaul Burton	def_bool y if TARGET_BOSTON
25*dd7c7494SPaul Burton	depends on CLK
26*dd7c7494SPaul Burton	select REGMAP
27*dd7c7494SPaul Burton	select SYSCON
28*dd7c7494SPaul Burton	help
29*dd7c7494SPaul Burton	  Enable this to support the clocks
30*dd7c7494SPaul Burton
31d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
3248264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
33166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
349e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
3548264d9bSMasahiro Yamada
3681385818SMasahiro Yamadaendmenu
37