xref: /openbmc/u-boot/drivers/clk/Kconfig (revision f264e2357231066c2e626c737b88416f556dcd74)
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"
150712b672SWenyou 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
49*f264e235SPatrice Chotardconfig CLK_STM32F
50*f264e235SPatrice Chotard	bool "Enable clock driver support for STM32F family"
51*f264e235SPatrice Chotard	depends on CLK && (STM32F7 || STM32F4)
52*f264e235SPatrice Chotard	default y
53*f264e235SPatrice Chotard	help
54*f264e235SPatrice Chotard	  This clock driver adds support for RCC clock management
55*f264e235SPatrice Chotard	  for STM32F4 and STM32F7 SoCs.
56*f264e235SPatrice Chotard
573a64b253SStefan Herbrechtsmeierconfig CLK_ZYNQ
583a64b253SStefan Herbrechtsmeier	bool "Enable clock driver support for Zynq"
593a64b253SStefan Herbrechtsmeier	depends on CLK && ARCH_ZYNQ
603a64b253SStefan Herbrechtsmeier	default y
613a64b253SStefan Herbrechtsmeier	help
623a64b253SStefan Herbrechtsmeier	  This clock driver adds support for clock realted settings for
633a64b253SStefan Herbrechtsmeier	  Zynq platform.
643a64b253SStefan Herbrechtsmeier
65128ec1feSSiva Durga Prasad Paladuguconfig CLK_ZYNQMP
66128ec1feSSiva Durga Prasad Paladugu	bool "Enable clock driver support for ZynqMP"
67128ec1feSSiva Durga Prasad Paladugu	depends on ARCH_ZYNQMP
68128ec1feSSiva Durga Prasad Paladugu	help
69128ec1feSSiva Durga Prasad Paladugu	  This clock driver adds support for clock realted settings for
70128ec1feSSiva Durga Prasad Paladugu	  ZynqMP platform.
71128ec1feSSiva Durga Prasad Paladugu
72d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
7348264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
74166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
759e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
7636c2ee4cSMarek Vasutsource "drivers/clk/renesas/Kconfig"
7748264d9bSMasahiro Yamada
7881385818SMasahiro Yamadaendmenu
79