xref: /rk3399_rockchip-uboot/drivers/clk/Kconfig (revision 3a64b2536487fe03d4d21d9cefb45b2c841a9d21)
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
23dd7c7494SPaul Burtonconfig CLK_BOSTON
24dd7c7494SPaul Burton	def_bool y if TARGET_BOSTON
25dd7c7494SPaul Burton	depends on CLK
26dd7c7494SPaul Burton	select REGMAP
27dd7c7494SPaul Burton	select SYSCON
28dd7c7494SPaul Burton	help
29dd7c7494SPaul Burton	  Enable this to support the clocks
30dd7c7494SPaul Burton
31*3a64b253SStefan Herbrechtsmeierconfig CLK_ZYNQ
32*3a64b253SStefan Herbrechtsmeier	bool "Enable clock driver support for Zynq"
33*3a64b253SStefan Herbrechtsmeier	depends on CLK && ARCH_ZYNQ
34*3a64b253SStefan Herbrechtsmeier	default y
35*3a64b253SStefan Herbrechtsmeier	help
36*3a64b253SStefan Herbrechtsmeier	  This clock driver adds support for clock realted settings for
37*3a64b253SStefan Herbrechtsmeier	  Zynq platform.
38*3a64b253SStefan Herbrechtsmeier
39128ec1feSSiva Durga Prasad Paladuguconfig CLK_ZYNQMP
40128ec1feSSiva Durga Prasad Paladugu	bool "Enable clock driver support for ZynqMP"
41128ec1feSSiva Durga Prasad Paladugu	depends on ARCH_ZYNQMP
42128ec1feSSiva Durga Prasad Paladugu	help
43128ec1feSSiva Durga Prasad Paladugu	  This clock driver adds support for clock realted settings for
44128ec1feSSiva Durga Prasad Paladugu	  ZynqMP platform.
45128ec1feSSiva Durga Prasad Paladugu
46d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
4748264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
48166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
499e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
5048264d9bSMasahiro Yamada
5181385818SMasahiro Yamadaendmenu
52