xref: /openbmc/u-boot/drivers/clk/Kconfig (revision ae485b540f3b5555f5e043eaf2c8e859052f3b14)
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
49f264e235SPatrice Chotardconfig CLK_STM32F
50f264e235SPatrice Chotard	bool "Enable clock driver support for STM32F family"
51f264e235SPatrice Chotard	depends on CLK && (STM32F7 || STM32F4)
52f264e235SPatrice Chotard	default y
53f264e235SPatrice Chotard	help
54f264e235SPatrice Chotard	  This clock driver adds support for RCC clock management
55f264e235SPatrice Chotard	  for STM32F4 and STM32F7 SoCs.
56f264e235SPatrice Chotard
57e80dac0aSEugeniy Paltsevconfig CLK_HSDK
58e80dac0aSEugeniy Paltsev	bool "Enable cgu clock driver for HSDK"
59e80dac0aSEugeniy Paltsev	depends on CLK
60e80dac0aSEugeniy Paltsev	help
61e80dac0aSEugeniy Paltsev	  Enable this to support the cgu clocks on Synopsys ARC HSDK
62e80dac0aSEugeniy Paltsev
633a64b253SStefan Herbrechtsmeierconfig CLK_ZYNQ
643a64b253SStefan Herbrechtsmeier	bool "Enable clock driver support for Zynq"
653a64b253SStefan Herbrechtsmeier	depends on CLK && ARCH_ZYNQ
663a64b253SStefan Herbrechtsmeier	default y
673a64b253SStefan Herbrechtsmeier	help
683a64b253SStefan Herbrechtsmeier	  This clock driver adds support for clock realted settings for
693a64b253SStefan Herbrechtsmeier	  Zynq platform.
703a64b253SStefan Herbrechtsmeier
71128ec1feSSiva Durga Prasad Paladuguconfig CLK_ZYNQMP
72128ec1feSSiva Durga Prasad Paladugu	bool "Enable clock driver support for ZynqMP"
73128ec1feSSiva Durga Prasad Paladugu	depends on ARCH_ZYNQMP
74128ec1feSSiva Durga Prasad Paladugu	help
75128ec1feSSiva Durga Prasad Paladugu	  This clock driver adds support for clock realted settings for
76128ec1feSSiva Durga Prasad Paladugu	  ZynqMP platform.
77128ec1feSSiva Durga Prasad Paladugu
78a6151916SPatrick Delaunayconfig CLK_STM32MP1
79a6151916SPatrick Delaunay	bool "Enable RCC clock driver for STM32MP1"
80a6151916SPatrick Delaunay	depends on ARCH_STM32MP && CLK
81a6151916SPatrick Delaunay	default y
82a6151916SPatrick Delaunay	help
83a6151916SPatrick Delaunay	  Enable the STM32 clock (RCC) driver. Enable support for
84a6151916SPatrick Delaunay	  manipulating STM32MP1's on-SoC clocks.
85a6151916SPatrick Delaunay
86d9fd7008SStephen Warrensource "drivers/clk/tegra/Kconfig"
8748264d9bSMasahiro Yamadasource "drivers/clk/uniphier/Kconfig"
88166097e8SThomas Abrahamsource "drivers/clk/exynos/Kconfig"
899e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
9036c2ee4cSMarek Vasutsource "drivers/clk/renesas/Kconfig"
9182a248dfSMarek Behúnsource "drivers/clk/mvebu/Kconfig"
92*ae485b54SManivannan Sadhasivamsource "drivers/clk/owl/Kconfig"
9348264d9bSMasahiro Yamada
94f0bcbe6cSMario Sixconfig ICS8N3QV01
95f0bcbe6cSMario Six	bool "Enable ICS8N3QV01 VCXO driver"
96f0bcbe6cSMario Six	depends on CLK
97f0bcbe6cSMario Six	help
98f0bcbe6cSMario Six	  Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
99f0bcbe6cSMario Six	  Crystal Oscillator). The output frequency can be programmed via an
100f0bcbe6cSMario Six	  I2C interface.
101f0bcbe6cSMario Six
10281385818SMasahiro Yamadaendmenu
103