xref: /openbmc/u-boot/drivers/clk/Kconfig (revision 783e66816d101f970b185083377846059d4d577d)
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
57e585bef1SAndreas Dannenbergconfig CLK_TI_SCI
58e585bef1SAndreas Dannenberg	bool "TI System Control Interface (TI SCI) clock driver"
59e585bef1SAndreas Dannenberg	depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
60e585bef1SAndreas Dannenberg	help
61e585bef1SAndreas Dannenberg	  This enables the clock driver support over TI System Control Interface
62e585bef1SAndreas Dannenberg	  available on some new TI's SoCs. If you wish to use clock resources
63e585bef1SAndreas Dannenberg	  managed by the TI System Controller, say Y here. Otherwise, say N.
64e585bef1SAndreas Dannenberg
65e80dac0aSEugeniy Paltsevconfig CLK_HSDK
66e80dac0aSEugeniy Paltsev	bool "Enable cgu clock driver for HSDK"
67e80dac0aSEugeniy Paltsev	depends on CLK
68e80dac0aSEugeniy Paltsev	help
69e80dac0aSEugeniy Paltsev	  Enable this to support the cgu clocks on Synopsys ARC HSDK
70e80dac0aSEugeniy Paltsev
71a71e907cSLiviu Dudauconfig CLK_VEXPRESS_OSC
72a71e907cSLiviu Dudau	bool "Enable driver for Arm Versatile Express OSC clock generators"
73a71e907cSLiviu Dudau	depends on CLK && VEXPRESS_CONFIG
74a71e907cSLiviu Dudau	help
75a71e907cSLiviu Dudau	  This clock driver adds support for clock generators present on
76a71e907cSLiviu Dudau	  Arm Versatile Express platforms.
77a71e907cSLiviu Dudau
783a64b253SStefan Herbrechtsmeierconfig CLK_ZYNQ
793a64b253SStefan Herbrechtsmeier	bool "Enable clock driver support for Zynq"
803a64b253SStefan Herbrechtsmeier	depends on CLK && ARCH_ZYNQ
813a64b253SStefan Herbrechtsmeier	default y
823a64b253SStefan Herbrechtsmeier	help
833a64b253SStefan Herbrechtsmeier	  This clock driver adds support for clock realted settings for
843a64b253SStefan Herbrechtsmeier	  Zynq platform.
853a64b253SStefan Herbrechtsmeier
86128ec1feSSiva Durga Prasad Paladuguconfig CLK_ZYNQMP
87128ec1feSSiva Durga Prasad Paladugu	bool "Enable clock driver support for ZynqMP"
88128ec1feSSiva Durga Prasad Paladugu	depends on ARCH_ZYNQMP
89128ec1feSSiva Durga Prasad Paladugu	help
90128ec1feSSiva Durga Prasad Paladugu	  This clock driver adds support for clock realted settings for
91128ec1feSSiva Durga Prasad Paladugu	  ZynqMP platform.
92128ec1feSSiva Durga Prasad Paladugu
93a6151916SPatrick Delaunayconfig CLK_STM32MP1
94a6151916SPatrick Delaunay	bool "Enable RCC clock driver for STM32MP1"
95a6151916SPatrick Delaunay	depends on ARCH_STM32MP && CLK
96a6151916SPatrick Delaunay	default y
97a6151916SPatrick Delaunay	help
98a6151916SPatrick Delaunay	  Enable the STM32 clock (RCC) driver. Enable support for
99a6151916SPatrick Delaunay	  manipulating STM32MP1's on-SoC clocks.
100a6151916SPatrick Delaunay
1019e5935c0SWenyou Yangsource "drivers/clk/at91/Kconfig"
102cf682257SJagan Tekisource "drivers/clk/exynos/Kconfig"
103f77d4410SPeng Fansource "drivers/clk/imx/Kconfig"
10482a248dfSMarek BehĂșnsource "drivers/clk/mvebu/Kconfig"
105ae485b54SManivannan Sadhasivamsource "drivers/clk/owl/Kconfig"
106cf682257SJagan Tekisource "drivers/clk/renesas/Kconfig"
1070d47bc70SJagan Tekisource "drivers/clk/sunxi/Kconfig"
108*c40b6df8SAnup Patelsource "drivers/clk/sifive/Kconfig"
109cf682257SJagan Tekisource "drivers/clk/tegra/Kconfig"
110cf682257SJagan Tekisource "drivers/clk/uniphier/Kconfig"
11148264d9bSMasahiro Yamada
112f0bcbe6cSMario Sixconfig ICS8N3QV01
113f0bcbe6cSMario Six	bool "Enable ICS8N3QV01 VCXO driver"
114f0bcbe6cSMario Six	depends on CLK
115f0bcbe6cSMario Six	help
116f0bcbe6cSMario Six	  Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
117f0bcbe6cSMario Six	  Crystal Oscillator). The output frequency can be programmed via an
118f0bcbe6cSMario Six	  I2C interface.
119f0bcbe6cSMario Six
12007d538d2SMario Sixconfig CLK_MPC83XX
12107d538d2SMario Six	bool "Enable MPC83xx clock driver"
12207d538d2SMario Six	depends on CLK
12307d538d2SMario Six	help
12407d538d2SMario Six	  Support for the clock driver of the MPC83xx series of SoCs.
12507d538d2SMario Six
12681385818SMasahiro Yamadaendmenu
127