xref: /openbmc/u-boot/drivers/clk/Kconfig (revision 7c819e7f2258be88cd48521ae796421ed2303fde)
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"
15f0776a55SPhilipp Tomsich	depends on CLK && SPL_DM
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*7c819e7fSPhilipp Tomsichconfig TPL_CLK
24*7c819e7fSPhilipp Tomsich	bool "Enable clock support in TPL"
25*7c819e7fSPhilipp Tomsich	depends on CLK && TPL_DM
26*7c819e7fSPhilipp Tomsich	help
27*7c819e7fSPhilipp Tomsich	  The clock subsystem adds a small amount of overhead to the image.
28*7c819e7fSPhilipp Tomsich	  If this is acceptable and you have a need to use clock drivers in
29*7c819e7fSPhilipp Tomsich	  SPL, enable this option. It might provide a cleaner interface to
30*7c819e7fSPhilipp Tomsich	  setting up clocks within TPL, and allows the same drivers to be
31*7c819e7fSPhilipp Tomsich	  used as U-Boot proper.
32*7c819e7fSPhilipp Tomsich
335357eb95SÁlvaro Fernández Rojasconfig CLK_BCM6345
345357eb95SÁlvaro Fernández Rojas	bool "Clock controller driver for BCM6345"
355357eb95SÁlvaro Fernández Rojas	depends on CLK && ARCH_BMIPS
365357eb95SÁlvaro Fernández Rojas	default y
375357eb95SÁlvaro Fernández Rojas	help
385357eb95SÁlvaro Fernández Rojas	  This clock driver adds support for enabling and disabling peripheral
395357eb95SÁlvaro Fernández Rojas	  clocks on BCM6345 SoCs. HW has no rate changing capabilities.
405357eb95SÁlvaro Fernández Rojas
41dd7c7494SPaul Burtonconfig CLK_BOSTON
42dd7c7494SPaul Burton	def_bool y if TARGET_BOSTON
43dd7c7494SPaul Burton	depends on CLK
44dd7c7494SPaul Burton	select REGMAP
45dd7c7494SPaul Burton	select SYSCON
46dd7c7494SPaul Burton	help
47dd7c7494SPaul Burton	  Enable this to support the clocks
48dd7c7494SPaul Burton
493a64b253SStefan Herbrechtsmeierconfig CLK_ZYNQ
503a64b253SStefan Herbrechtsmeier	bool "Enable clock driver support for Zynq"
513a64b253SStefan Herbrechtsmeier	depends on CLK && ARCH_ZYNQ
523a64b253SStefan Herbrechtsmeier	default y
533a64b253SStefan Herbrechtsmeier	help
543a64b253SStefan Herbrechtsmeier	  This clock driver adds support for clock realted settings for
553a64b253SStefan Herbrechtsmeier	  Zynq platform.
563a64b253SStefan Herbrechtsmeier
57128ec1feSSiva Durga Prasad Paladuguconfig CLK_ZYNQMP
58128ec1feSSiva Durga Prasad Paladugu	bool "Enable clock driver support for ZynqMP"
59128ec1feSSiva Durga Prasad Paladugu	depends on ARCH_ZYNQMP
60128ec1feSSiva Durga Prasad Paladugu	help
61128ec1feSSiva Durga Prasad Paladugu	  This clock driver adds support for clock realted settings for
62128ec1feSSiva Durga Prasad Paladugu	  ZynqMP platform.
63128ec1feSSiva Durga Prasad Paladugu
64d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
6548264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
66166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
679e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
6836c2ee4cSMarek Vasutsource "drivers/clk/renesas/Kconfig"
6948264d9bSMasahiro Yamada
7081385818SMasahiro Yamadaendmenu
71