blob: 82cb1874e191eb5e84a61a413caf58d6ddfb195b [file] [log] [blame]
Masahiro Yamada81385812016-01-12 16:36:38 +09001menu "Clock"
2
Simon Glassf26c8a82015-06-23 15:39:15 -06003config CLK
4 bool "Enable clock driver support"
5 depends on DM
6 help
7 This allows drivers to be provided for clock generators, including
8 oscillators and PLLs. Devices can use a common clock API to request
9 a particular clock rate and check on available clocks. Clocks can
10 feed into other clocks in a tree structure, with multiplexers to
11 choose the source for each clock.
12
Masahiro Yamada05435892015-08-12 07:31:46 +090013config SPL_CLK
Simon Glassf26c8a82015-06-23 15:39:15 -060014 bool "Enable clock support in SPL"
Wenyou Yang0712b672017-07-31 15:21:57 +080015 depends on CLK && SPL && SPL_DM
Simon Glassf26c8a82015-06-23 15:39:15 -060016 help
17 The clock subsystem adds a small amount of overhead to the image.
18 If this is acceptable and you have a need to use clock drivers in
19 SPL, enable this option. It might provide a cleaner interface to
20 setting up clocks within SPL, and allows the same drivers to be
21 used as U-Boot proper.
Masahiro Yamada81385812016-01-12 16:36:38 +090022
Philipp Tomsich7c819e72017-06-29 01:45:01 +020023config TPL_CLK
24 bool "Enable clock support in TPL"
25 depends on CLK && TPL_DM
26 help
27 The clock subsystem adds a small amount of overhead to the image.
28 If this is acceptable and you have a need to use clock drivers in
29 SPL, enable this option. It might provide a cleaner interface to
30 setting up clocks within TPL, and allows the same drivers to be
31 used as U-Boot proper.
32
Álvaro Fernández Rojas5357eb92017-05-07 20:13:01 +020033config CLK_BCM6345
34 bool "Clock controller driver for BCM6345"
35 depends on CLK && ARCH_BMIPS
36 default y
37 help
38 This clock driver adds support for enabling and disabling peripheral
39 clocks on BCM6345 SoCs. HW has no rate changing capabilities.
40
Paul Burtondd7c7492016-09-08 07:47:38 +010041config CLK_BOSTON
42 def_bool y if TARGET_BOSTON
43 depends on CLK
44 select REGMAP
45 select SYSCON
46 help
47 Enable this to support the clocks
48
Lukasz Majewski1d7993d2019-06-24 15:50:45 +020049config SPL_CLK_CCF
50 bool "SPL Common Clock Framework [CCF] support "
Adam Forda0746672019-08-24 13:50:34 -050051 depends on SPL
Lukasz Majewski1d7993d2019-06-24 15:50:45 +020052 help
53 Enable this option if you want to (re-)use the Linux kernel's Common
54 Clock Framework [CCF] code in U-Boot's SPL.
55
Peng Fan00097632019-07-31 07:01:54 +000056config SPL_CLK_COMPOSITE_CCF
57 bool "SPL Common Clock Framework [CCF] composite clk support "
58 depends on SPL_CLK_CCF
59 help
60 Enable this option if you want to (re-)use the Linux kernel's Common
61 Clock Framework [CCF] composite code in U-Boot's SPL.
62
Lukasz Majewski1d7993d2019-06-24 15:50:45 +020063config CLK_CCF
64 bool "Common Clock Framework [CCF] support "
Lukasz Majewski1d7993d2019-06-24 15:50:45 +020065 help
66 Enable this option if you want to (re-)use the Linux kernel's Common
67 Clock Framework [CCF] code in U-Boot's clock driver.
68
Peng Fan00097632019-07-31 07:01:54 +000069config CLK_COMPOSITE_CCF
70 bool "Common Clock Framework [CCF] composite clk support "
71 depends on CLK_CCF
72 help
73 Enable this option if you want to (re-)use the Linux kernel's Common
74 Clock Framework [CCF] composite code in U-Boot's clock driver.
75
Simon Glassb4d00b22020-02-06 09:54:53 -070076config CLK_INTEL
77 bool "Enable clock driver for Intel x86"
78 depends on CLK && X86
79 help
80 This provides very basic support for clocks on Intel SoCs. The driver
81 is barely used at present but could be expanded as needs arise.
82 Much clock configuration in U-Boot is either set up by the FSP, or
83 set up by U-Boot itself but only statically. Thus the driver does not
84 support changing clock rates, only querying them.
85
Patrice Chotardf264e232017-11-15 13:14:48 +010086config CLK_STM32F
87 bool "Enable clock driver support for STM32F family"
88 depends on CLK && (STM32F7 || STM32F4)
89 default y
90 help
91 This clock driver adds support for RCC clock management
92 for STM32F4 and STM32F7 SoCs.
93
Andreas Dannenberge585bef2018-08-27 15:57:43 +053094config CLK_TI_SCI
95 bool "TI System Control Interface (TI SCI) clock driver"
96 depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
97 help
98 This enables the clock driver support over TI System Control Interface
99 available on some new TI's SoCs. If you wish to use clock resources
100 managed by the TI System Controller, say Y here. Otherwise, say N.
101
Eugeniy Paltseve80dac02017-12-10 21:20:08 +0300102config CLK_HSDK
Eugeniy Paltsev80a76742020-05-07 22:20:10 +0300103 bool "Enable cgu clock driver for HSDK boards"
104 depends on CLK && TARGET_HSDK
Eugeniy Paltseve80dac02017-12-10 21:20:08 +0300105 help
Eugeniy Paltsev80a76742020-05-07 22:20:10 +0300106 Enable this to support the cgu clocks on Synopsys ARC HSDK and
107 Synopsys ARC HSDK-4xD boards
Eugeniy Paltseve80dac02017-12-10 21:20:08 +0300108
Siva Durga Prasad Paladugu95105082019-06-23 12:24:57 +0530109config CLK_VERSAL
110 bool "Enable clock driver support for Versal"
111 depends on ARCH_VERSAL
112 select ZYNQMP_FIRMWARE
113 help
114 This clock driver adds support for clock realted settings for
115 Versal platform.
116
Liviu Dudaua71e9072018-09-17 17:50:00 +0100117config CLK_VEXPRESS_OSC
118 bool "Enable driver for Arm Versatile Express OSC clock generators"
119 depends on CLK && VEXPRESS_CONFIG
120 help
121 This clock driver adds support for clock generators present on
122 Arm Versatile Express platforms.
123
Stefan Herbrechtsmeier3a64b252017-01-17 16:27:29 +0100124config CLK_ZYNQ
125 bool "Enable clock driver support for Zynq"
126 depends on CLK && ARCH_ZYNQ
127 default y
128 help
129 This clock driver adds support for clock realted settings for
130 Zynq platform.
131
Siva Durga Prasad Paladugu128ec1f2016-11-15 16:15:41 +0530132config CLK_ZYNQMP
133 bool "Enable clock driver support for ZynqMP"
134 depends on ARCH_ZYNQMP
Rajan Vaja14723ed2019-02-15 04:45:32 -0800135 select ZYNQMP_FIRMWARE
Siva Durga Prasad Paladugu128ec1f2016-11-15 16:15:41 +0530136 help
137 This clock driver adds support for clock realted settings for
138 ZynqMP platform.
139
Patrick Delaunaya6151912018-03-12 10:46:15 +0100140config CLK_STM32MP1
141 bool "Enable RCC clock driver for STM32MP1"
142 depends on ARCH_STM32MP && CLK
143 default y
144 help
145 Enable the STM32 clock (RCC) driver. Enable support for
146 manipulating STM32MP1's on-SoC clocks.
147
Tero Kristo260777f2019-09-27 19:14:26 +0300148config CLK_CDCE9XX
149 bool "Enable CDCD9XX clock driver"
150 depends on CLK
151 help
152 Enable the clock synthesizer driver for CDCE913/925/937/949
153 series of chips.
154
Anup Pateld04c79d2019-06-25 06:31:02 +0000155source "drivers/clk/analogbits/Kconfig"
Wenyou Yang9e5935c2016-07-20 17:55:12 +0800156source "drivers/clk/at91/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530157source "drivers/clk/exynos/Kconfig"
Peng Fanf77d4412018-10-18 14:28:30 +0200158source "drivers/clk/imx/Kconfig"
Sean Anderson019ef9a2020-06-24 06:41:09 -0400159source "drivers/clk/kendryte/Kconfig"
Jerome Brunetf5abfed2019-02-10 14:54:30 +0100160source "drivers/clk/meson/Kconfig"
Marek Behún82a248d2018-04-24 17:21:25 +0200161source "drivers/clk/mvebu/Kconfig"
Manivannan Sadhasivamae485b52018-06-14 23:38:35 +0530162source "drivers/clk/owl/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530163source "drivers/clk/renesas/Kconfig"
Jagan Teki0d47bc72018-12-22 21:32:49 +0530164source "drivers/clk/sunxi/Kconfig"
Anup Patelc40b6df2019-02-25 08:14:49 +0000165source "drivers/clk/sifive/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530166source "drivers/clk/tegra/Kconfig"
167source "drivers/clk/uniphier/Kconfig"
Masahiro Yamada48264d92016-02-02 21:11:32 +0900168
Mario Sixf0bcbe62018-04-27 14:53:15 +0200169config ICS8N3QV01
170 bool "Enable ICS8N3QV01 VCXO driver"
171 depends on CLK
172 help
173 Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
174 Crystal Oscillator). The output frequency can be programmed via an
175 I2C interface.
176
Mario Six07d538d2018-08-06 10:23:36 +0200177config CLK_MPC83XX
178 bool "Enable MPC83xx clock driver"
179 depends on CLK
180 help
181 Support for the clock driver of the MPC83xx series of SoCs.
182
Lukasz Majewski87e460c2019-06-24 15:50:50 +0200183config SANDBOX_CLK_CCF
184 bool "Sandbox Common Clock Framework [CCF] support "
185 depends on SANDBOX
186 select CLK_CCF
187 help
188 Enable this option if you want to test the Linux kernel's Common
189 Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
190
Masahiro Yamada81385812016-01-12 16:36:38 +0900191endmenu