blob: 9399bb79e9a82dd09f08868fd2a8ba94e08e6dc0 [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 "
51 depends on SPL_CLK_IMX6Q
52 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
56config CLK_CCF
57 bool "Common Clock Framework [CCF] support "
Lukasz Majewski87e460c2019-06-24 15:50:50 +020058 depends on CLK_IMX6Q || SANDBOX_CLK_CCF
Lukasz Majewski1d7993d2019-06-24 15:50:45 +020059 help
60 Enable this option if you want to (re-)use the Linux kernel's Common
61 Clock Framework [CCF] code in U-Boot's clock driver.
62
Patrice Chotardf264e232017-11-15 13:14:48 +010063config CLK_STM32F
64 bool "Enable clock driver support for STM32F family"
65 depends on CLK && (STM32F7 || STM32F4)
66 default y
67 help
68 This clock driver adds support for RCC clock management
69 for STM32F4 and STM32F7 SoCs.
70
Andreas Dannenberge585bef2018-08-27 15:57:43 +053071config CLK_TI_SCI
72 bool "TI System Control Interface (TI SCI) clock driver"
73 depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL
74 help
75 This enables the clock driver support over TI System Control Interface
76 available on some new TI's SoCs. If you wish to use clock resources
77 managed by the TI System Controller, say Y here. Otherwise, say N.
78
Eugeniy Paltseve80dac02017-12-10 21:20:08 +030079config CLK_HSDK
80 bool "Enable cgu clock driver for HSDK"
81 depends on CLK
82 help
83 Enable this to support the cgu clocks on Synopsys ARC HSDK
84
Liviu Dudaua71e9072018-09-17 17:50:00 +010085config CLK_VEXPRESS_OSC
86 bool "Enable driver for Arm Versatile Express OSC clock generators"
87 depends on CLK && VEXPRESS_CONFIG
88 help
89 This clock driver adds support for clock generators present on
90 Arm Versatile Express platforms.
91
Stefan Herbrechtsmeier3a64b252017-01-17 16:27:29 +010092config CLK_ZYNQ
93 bool "Enable clock driver support for Zynq"
94 depends on CLK && ARCH_ZYNQ
95 default y
96 help
97 This clock driver adds support for clock realted settings for
98 Zynq platform.
99
Siva Durga Prasad Paladugu128ec1f2016-11-15 16:15:41 +0530100config CLK_ZYNQMP
101 bool "Enable clock driver support for ZynqMP"
102 depends on ARCH_ZYNQMP
103 help
104 This clock driver adds support for clock realted settings for
105 ZynqMP platform.
106
Patrick Delaunaya6151912018-03-12 10:46:15 +0100107config CLK_STM32MP1
108 bool "Enable RCC clock driver for STM32MP1"
109 depends on ARCH_STM32MP && CLK
110 default y
111 help
112 Enable the STM32 clock (RCC) driver. Enable support for
113 manipulating STM32MP1's on-SoC clocks.
114
Wenyou Yang9e5935c2016-07-20 17:55:12 +0800115source "drivers/clk/at91/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530116source "drivers/clk/exynos/Kconfig"
Peng Fanf77d4412018-10-18 14:28:30 +0200117source "drivers/clk/imx/Kconfig"
Jerome Brunetf5abfed2019-02-10 14:54:30 +0100118source "drivers/clk/meson/Kconfig"
Marek Behún82a248d2018-04-24 17:21:25 +0200119source "drivers/clk/mvebu/Kconfig"
Manivannan Sadhasivamae485b52018-06-14 23:38:35 +0530120source "drivers/clk/owl/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530121source "drivers/clk/renesas/Kconfig"
Jagan Teki0d47bc72018-12-22 21:32:49 +0530122source "drivers/clk/sunxi/Kconfig"
Anup Patelc40b6df2019-02-25 08:14:49 +0000123source "drivers/clk/sifive/Kconfig"
Jagan Tekicf682252018-07-30 18:26:18 +0530124source "drivers/clk/tegra/Kconfig"
125source "drivers/clk/uniphier/Kconfig"
Masahiro Yamada48264d92016-02-02 21:11:32 +0900126
Mario Sixf0bcbe62018-04-27 14:53:15 +0200127config ICS8N3QV01
128 bool "Enable ICS8N3QV01 VCXO driver"
129 depends on CLK
130 help
131 Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled
132 Crystal Oscillator). The output frequency can be programmed via an
133 I2C interface.
134
Mario Six07d538d2018-08-06 10:23:36 +0200135config CLK_MPC83XX
136 bool "Enable MPC83xx clock driver"
137 depends on CLK
138 help
139 Support for the clock driver of the MPC83xx series of SoCs.
140
Lukasz Majewski87e460c2019-06-24 15:50:50 +0200141config SANDBOX_CLK_CCF
142 bool "Sandbox Common Clock Framework [CCF] support "
143 depends on SANDBOX
144 select CLK_CCF
145 help
146 Enable this option if you want to test the Linux kernel's Common
147 Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
148
Masahiro Yamada81385812016-01-12 16:36:38 +0900149endmenu