xref: /rk3399_rockchip-uboot/drivers/clk/Kconfig (revision 7d793375bc63f0809a1501d8d59feaea527f4588)
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"
15451f4164SWenyou Yang	depends on CLK && SPL && 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
237c819e7fSPhilipp Tomsichconfig TPL_CLK
247c819e7fSPhilipp Tomsich	bool "Enable clock support in TPL"
257c819e7fSPhilipp Tomsich	depends on CLK && TPL_DM
267c819e7fSPhilipp Tomsich	help
277c819e7fSPhilipp Tomsich	  The clock subsystem adds a small amount of overhead to the image.
287c819e7fSPhilipp Tomsich	  If this is acceptable and you have a need to use clock drivers in
297c819e7fSPhilipp Tomsich	  SPL, enable this option. It might provide a cleaner interface to
307c819e7fSPhilipp Tomsich	  setting up clocks within TPL, and allows the same drivers to be
317c819e7fSPhilipp Tomsich	  used as U-Boot proper.
327c819e7fSPhilipp 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
647c4b6f22SEtienne Carriereconfig CLK_SCMI
657c4b6f22SEtienne Carriere	bool "Enable SCMI clock driver"
667c4b6f22SEtienne Carriere	depends on SCMI_FIRMWARE
677c4b6f22SEtienne Carriere	help
687c4b6f22SEtienne Carriere	  Enable this option if you want to support clock devices exposed
697c4b6f22SEtienne Carriere	  by a SCMI agent based on SCMI clock protocol communication
707c4b6f22SEtienne Carriere	  with a SCMI server.
717c4b6f22SEtienne Carriere
720c30714bSJoseph Chenconfig SPL_CLK_SCMI
730c30714bSJoseph Chen	bool "Enable SCMI clock driver in SPL"
740c30714bSJoseph Chen	depends on SPL_SCMI_FIRMWARE
750c30714bSJoseph Chen	help
760c30714bSJoseph Chen	  Enable this option in SPL if you want to support clock devices exposed
770c30714bSJoseph Chen	  by a SCMI agent based on SCMI clock protocol communication
780c30714bSJoseph Chen	  with a SCMI server.
790c30714bSJoseph Chen
80d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
8148264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
82166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
839e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
8436c2ee4cSMarek Vasutsource "drivers/clk/renesas/Kconfig"
85*7d793375SElaine Zhangsource "drivers/clk/rockchip/Kconfig"
8648264d9bSMasahiro Yamada
8781385818SMasahiro Yamadaendmenu
88