blob: 305cbd96f165487ce3ed24c1cab3b5dbf614ceab [file] [log] [blame]
Masahiro Yamada92b8c2f2016-01-12 16:36:38 +09001menu "Clock"
2
Simon Glass36ad2342015-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 Yamadab16de452015-08-12 07:31:46 +090013config SPL_CLK
Simon Glass36ad2342015-06-23 15:39:15 -060014 bool "Enable clock support in SPL"
Wenyou Yange4cf4132017-07-31 15:21:57 +080015 depends on CLK && SPL && SPL_DM
Simon Glass36ad2342015-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 Yamada92b8c2f2016-01-12 16:36:38 +090022
Philipp Tomsich592c3db2017-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 Rojasc35611c2017-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 Burton0399f442016-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 Majewski4de44bb2019-06-24 15:50:45 +020049config SPL_CLK_CCF
50 bool "SPL Common Clock Framework [CCF] support "
Adam Fordac4d80e2019-08-24 13:50:34 -050051 depends on SPL
Lukasz Majewski4de44bb2019-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 Fan2d9bd932019-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 Majewski4de44bb2019-06-24 15:50:45 +020063config CLK_CCF
64 bool "Common Clock Framework [CCF] support "
Lukasz Majewski4de44bb2019-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 Fan2d9bd932019-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
Patrice Chotardd4f2d202017-11-15 13:14:48 +010076config CLK_STM32F
77 bool "Enable clock driver support for STM32F family"
78 depends on CLK && (STM32F7 || STM32F4)
79 default y
80 help
81 This clock driver adds support for RCC clock management
82 for STM32F4 and STM32F7 SoCs.
83
Andreas Dannenberg1530e352018-08-27 15:57:43 +053084config CLK_TI_SCI
85 bool "TI System Control Interface (TI SCI) clock driver"
86 depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
87 help
88 This enables the clock driver support over TI System Control Interface
89 available on some new TI's SoCs. If you wish to use clock resources
90 managed by the TI System Controller, say Y here. Otherwise, say N.
91
Eugeniy Paltsev7e1fb092017-12-10 21:20:08 +030092config CLK_HSDK
93 bool "Enable cgu clock driver for HSDK"
94 depends on CLK
95 help
96 Enable this to support the cgu clocks on Synopsys ARC HSDK
97
Liviu Dudauba024e62018-09-17 17:50:00 +010098config CLK_VEXPRESS_OSC
99 bool "Enable driver for Arm Versatile Express OSC clock generators"
100 depends on CLK && VEXPRESS_CONFIG
101 help
102 This clock driver adds support for clock generators present on
103 Arm Versatile Express platforms.
104
Stefan Herbrechtsmeierf1f88c92017-01-17 16:27:29 +0100105config CLK_ZYNQ
106 bool "Enable clock driver support for Zynq"
107 depends on CLK && ARCH_ZYNQ
108 default y
109 help
110 This clock driver adds support for clock realted settings for
111 Zynq platform.
112
Siva Durga Prasad Paladugu468b55f2016-11-15 16:15:41 +0530113config CLK_ZYNQMP
114 bool "Enable clock driver support for ZynqMP"
115 depends on ARCH_ZYNQMP
Rajan Vaja833be322019-02-15 04:45:32 -0800116 select ZYNQMP_FIRMWARE
Siva Durga Prasad Paladugu468b55f2016-11-15 16:15:41 +0530117 help
118 This clock driver adds support for clock realted settings for
119 ZynqMP platform.
120
Patrick Delaunaye6ab6272018-03-12 10:46:15 +0100121config CLK_STM32MP1
122 bool "Enable RCC clock driver for STM32MP1"
123 depends on ARCH_STM32MP && CLK
124 default y
125 help
126 Enable the STM32 clock (RCC) driver. Enable support for
127 manipulating STM32MP1's on-SoC clocks.
128
Anup Patel00a156d2019-06-25 06:31:02 +0000129source "drivers/clk/analogbits/Kconfig"
Wenyou Yang8c772bd2016-07-20 17:55:12 +0800130source "drivers/clk/at91/Kconfig"
Jagan Teki9d2787c2018-07-30 18:26:18 +0530131source "drivers/clk/exynos/Kconfig"
Peng Fan5e80d5a2018-10-18 14:28:30 +0200132source "drivers/clk/imx/Kconfig"
Jerome Brunet3da39a82019-02-10 14:54:30 +0100133source "drivers/clk/meson/Kconfig"
Marek Behún61d74e82018-04-24 17:21:25 +0200134source "drivers/clk/mvebu/Kconfig"
Manivannan Sadhasivam91a85132018-06-14 23:38:35 +0530135source "drivers/clk/owl/Kconfig"
Jagan Teki9d2787c2018-07-30 18:26:18 +0530136source "drivers/clk/renesas/Kconfig"
Jagan Teki1d150b42018-12-22 21:32:49 +0530137source "drivers/clk/sunxi/Kconfig"
Anup Patel42fdf082019-02-25 08:14:49 +0000138source "drivers/clk/sifive/Kconfig"
Jagan Teki9d2787c2018-07-30 18:26:18 +0530139source "drivers/clk/tegra/Kconfig"
140source "drivers/clk/uniphier/Kconfig"
Masahiro Yamadae4dfb052016-02-02 21:11:32 +0900141
Mario Sixa3c07062018-04-27 14:53:15 +0200142config ICS8N3QV01
143 bool "Enable ICS8N3QV01 VCXO driver"
144 depends on CLK
145 help
146 Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
147 Crystal Oscillator). The output frequency can be programmed via an
148 I2C interface.
149
Mario Six7cab1472018-08-06 10:23:36 +0200150config CLK_MPC83XX
151 bool "Enable MPC83xx clock driver"
152 depends on CLK
153 help
154 Support for the clock driver of the MPC83xx series of SoCs.
155
Lukasz Majewski8c0709b2019-06-24 15:50:50 +0200156config SANDBOX_CLK_CCF
157 bool "Sandbox Common Clock Framework [CCF] support "
158 depends on SANDBOX
159 select CLK_CCF
160 help
161 Enable this option if you want to test the Linux kernel's Common
162 Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
163
Masahiro Yamada92b8c2f2016-01-12 16:36:38 +0900164endmenu