Masahiro Yamada | 8138581 | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 1 | menu "Clock" |
| 2 | |
Simon Glass | f26c8a8 | 2015-06-23 15:39:15 -0600 | [diff] [blame] | 3 | config 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 Yamada | 0543589 | 2015-08-12 07:31:46 +0900 | [diff] [blame] | 13 | config SPL_CLK |
Simon Glass | f26c8a8 | 2015-06-23 15:39:15 -0600 | [diff] [blame] | 14 | bool "Enable clock support in SPL" |
Wenyou Yang | 0712b67 | 2017-07-31 15:21:57 +0800 | [diff] [blame] | 15 | depends on CLK && SPL && SPL_DM |
Simon Glass | f26c8a8 | 2015-06-23 15:39:15 -0600 | [diff] [blame] | 16 | 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 Yamada | 8138581 | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 22 | |
Philipp Tomsich | 7c819e7 | 2017-06-29 01:45:01 +0200 | [diff] [blame] | 23 | config 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 Rojas | 5357eb9 | 2017-05-07 20:13:01 +0200 | [diff] [blame] | 33 | config 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 Burton | dd7c749 | 2016-09-08 07:47:38 +0100 | [diff] [blame] | 41 | config 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 Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 49 | config SPL_CLK_CCF |
| 50 | bool "SPL Common Clock Framework [CCF] support " |
Adam Ford | a074667 | 2019-08-24 13:50:34 -0500 | [diff] [blame] | 51 | depends on SPL |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 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 | |
Peng Fan | 0009763 | 2019-07-31 07:01:54 +0000 | [diff] [blame] | 56 | config 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 Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 63 | config CLK_CCF |
| 64 | bool "Common Clock Framework [CCF] support " |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 65 | 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 Fan | 0009763 | 2019-07-31 07:01:54 +0000 | [diff] [blame] | 69 | config 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 Glass | b4d00b2 | 2020-02-06 09:54:53 -0700 | [diff] [blame] | 76 | config 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 | |
Stefan Roese | b113c9b | 2020-07-30 13:56:16 +0200 | [diff] [blame] | 86 | config CLK_OCTEON |
| 87 | bool "Clock controller driver for Marvell MIPS Octeon" |
| 88 | depends on CLK && ARCH_OCTEON |
| 89 | default y |
| 90 | help |
| 91 | Enable this to support the clocks on Octeon MIPS platforms. |
| 92 | |
Patrice Chotard | f264e23 | 2017-11-15 13:14:48 +0100 | [diff] [blame] | 93 | config CLK_STM32F |
| 94 | bool "Enable clock driver support for STM32F family" |
| 95 | depends on CLK && (STM32F7 || STM32F4) |
| 96 | default y |
| 97 | help |
| 98 | This clock driver adds support for RCC clock management |
| 99 | for STM32F4 and STM32F7 SoCs. |
| 100 | |
Andreas Dannenberg | e585bef | 2018-08-27 15:57:43 +0530 | [diff] [blame] | 101 | config CLK_TI_SCI |
| 102 | bool "TI System Control Interface (TI SCI) clock driver" |
| 103 | depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL |
| 104 | help |
| 105 | This enables the clock driver support over TI System Control Interface |
| 106 | available on some new TI's SoCs. If you wish to use clock resources |
| 107 | managed by the TI System Controller, say Y here. Otherwise, say N. |
| 108 | |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 109 | config CLK_HSDK |
Eugeniy Paltsev | 80a7674 | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 110 | bool "Enable cgu clock driver for HSDK boards" |
| 111 | depends on CLK && TARGET_HSDK |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 112 | help |
Eugeniy Paltsev | 80a7674 | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 113 | Enable this to support the cgu clocks on Synopsys ARC HSDK and |
| 114 | Synopsys ARC HSDK-4xD boards |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 115 | |
Siva Durga Prasad Paladugu | 9510508 | 2019-06-23 12:24:57 +0530 | [diff] [blame] | 116 | config CLK_VERSAL |
| 117 | bool "Enable clock driver support for Versal" |
| 118 | depends on ARCH_VERSAL |
| 119 | select ZYNQMP_FIRMWARE |
| 120 | help |
| 121 | This clock driver adds support for clock realted settings for |
| 122 | Versal platform. |
| 123 | |
Liviu Dudau | a71e907 | 2018-09-17 17:50:00 +0100 | [diff] [blame] | 124 | config CLK_VEXPRESS_OSC |
| 125 | bool "Enable driver for Arm Versatile Express OSC clock generators" |
| 126 | depends on CLK && VEXPRESS_CONFIG |
| 127 | help |
| 128 | This clock driver adds support for clock generators present on |
| 129 | Arm Versatile Express platforms. |
| 130 | |
Stefan Herbrechtsmeier | 3a64b25 | 2017-01-17 16:27:29 +0100 | [diff] [blame] | 131 | config CLK_ZYNQ |
| 132 | bool "Enable clock driver support for Zynq" |
| 133 | depends on CLK && ARCH_ZYNQ |
| 134 | default y |
| 135 | help |
| 136 | This clock driver adds support for clock realted settings for |
| 137 | Zynq platform. |
| 138 | |
Siva Durga Prasad Paladugu | 128ec1f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 139 | config CLK_ZYNQMP |
| 140 | bool "Enable clock driver support for ZynqMP" |
| 141 | depends on ARCH_ZYNQMP |
Rajan Vaja | 14723ed | 2019-02-15 04:45:32 -0800 | [diff] [blame] | 142 | select ZYNQMP_FIRMWARE |
Siva Durga Prasad Paladugu | 128ec1f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 143 | help |
| 144 | This clock driver adds support for clock realted settings for |
| 145 | ZynqMP platform. |
| 146 | |
Patrick Delaunay | a615191 | 2018-03-12 10:46:15 +0100 | [diff] [blame] | 147 | config CLK_STM32MP1 |
| 148 | bool "Enable RCC clock driver for STM32MP1" |
| 149 | depends on ARCH_STM32MP && CLK |
| 150 | default y |
| 151 | help |
| 152 | Enable the STM32 clock (RCC) driver. Enable support for |
| 153 | manipulating STM32MP1's on-SoC clocks. |
| 154 | |
Tero Kristo | 260777f | 2019-09-27 19:14:26 +0300 | [diff] [blame] | 155 | config CLK_CDCE9XX |
| 156 | bool "Enable CDCD9XX clock driver" |
| 157 | depends on CLK |
| 158 | help |
| 159 | Enable the clock synthesizer driver for CDCE913/925/937/949 |
| 160 | series of chips. |
| 161 | |
Anup Patel | d04c79d | 2019-06-25 06:31:02 +0000 | [diff] [blame] | 162 | source "drivers/clk/analogbits/Kconfig" |
Wenyou Yang | 9e5935c | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 163 | source "drivers/clk/at91/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 164 | source "drivers/clk/exynos/Kconfig" |
Peng Fan | f77d441 | 2018-10-18 14:28:30 +0200 | [diff] [blame] | 165 | source "drivers/clk/imx/Kconfig" |
Sean Anderson | 019ef9a | 2020-06-24 06:41:09 -0400 | [diff] [blame] | 166 | source "drivers/clk/kendryte/Kconfig" |
Jerome Brunet | f5abfed | 2019-02-10 14:54:30 +0100 | [diff] [blame] | 167 | source "drivers/clk/meson/Kconfig" |
Marek Behún | 82a248d | 2018-04-24 17:21:25 +0200 | [diff] [blame] | 168 | source "drivers/clk/mvebu/Kconfig" |
Manivannan Sadhasivam | ae485b5 | 2018-06-14 23:38:35 +0530 | [diff] [blame] | 169 | source "drivers/clk/owl/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 170 | source "drivers/clk/renesas/Kconfig" |
Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 171 | source "drivers/clk/sunxi/Kconfig" |
Anup Patel | c40b6df | 2019-02-25 08:14:49 +0000 | [diff] [blame] | 172 | source "drivers/clk/sifive/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 173 | source "drivers/clk/tegra/Kconfig" |
| 174 | source "drivers/clk/uniphier/Kconfig" |
Masahiro Yamada | 48264d9 | 2016-02-02 21:11:32 +0900 | [diff] [blame] | 175 | |
Mario Six | f0bcbe6 | 2018-04-27 14:53:15 +0200 | [diff] [blame] | 176 | config ICS8N3QV01 |
| 177 | bool "Enable ICS8N3QV01 VCXO driver" |
| 178 | depends on CLK |
| 179 | help |
| 180 | Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled |
| 181 | Crystal Oscillator). The output frequency can be programmed via an |
| 182 | I2C interface. |
| 183 | |
Mario Six | 07d538d | 2018-08-06 10:23:36 +0200 | [diff] [blame] | 184 | config CLK_MPC83XX |
| 185 | bool "Enable MPC83xx clock driver" |
| 186 | depends on CLK |
| 187 | help |
| 188 | Support for the clock driver of the MPC83xx series of SoCs. |
| 189 | |
Lukasz Majewski | 87e460c | 2019-06-24 15:50:50 +0200 | [diff] [blame] | 190 | config SANDBOX_CLK_CCF |
| 191 | bool "Sandbox Common Clock Framework [CCF] support " |
| 192 | depends on SANDBOX |
| 193 | select CLK_CCF |
| 194 | help |
| 195 | Enable this option if you want to test the Linux kernel's Common |
| 196 | Clock Framework [CCF] code in U-Boot's Sandbox clock driver. |
| 197 | |
Masahiro Yamada | 8138581 | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 198 | endmenu |