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 | |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 33 | config SPL_CLK_CCF |
| 34 | bool "SPL Common Clock Framework [CCF] support " |
Adam Ford | a074667 | 2019-08-24 13:50:34 -0500 | [diff] [blame] | 35 | depends on SPL |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 36 | help |
| 37 | Enable this option if you want to (re-)use the Linux kernel's Common |
| 38 | Clock Framework [CCF] code in U-Boot's SPL. |
| 39 | |
Peng Fan | 0009763 | 2019-07-31 07:01:54 +0000 | [diff] [blame] | 40 | config SPL_CLK_COMPOSITE_CCF |
| 41 | bool "SPL Common Clock Framework [CCF] composite clk support " |
| 42 | depends on SPL_CLK_CCF |
| 43 | help |
| 44 | Enable this option if you want to (re-)use the Linux kernel's Common |
| 45 | Clock Framework [CCF] composite code in U-Boot's SPL. |
| 46 | |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 47 | config CLK_CCF |
| 48 | bool "Common Clock Framework [CCF] support " |
Lukasz Majewski | 1d7993d | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 49 | help |
| 50 | Enable this option if you want to (re-)use the Linux kernel's Common |
| 51 | Clock Framework [CCF] code in U-Boot's clock driver. |
| 52 | |
Peng Fan | 0009763 | 2019-07-31 07:01:54 +0000 | [diff] [blame] | 53 | config CLK_COMPOSITE_CCF |
| 54 | bool "Common Clock Framework [CCF] composite clk support " |
| 55 | depends on CLK_CCF |
| 56 | help |
| 57 | Enable this option if you want to (re-)use the Linux kernel's Common |
| 58 | Clock Framework [CCF] composite code in U-Boot's clock driver. |
| 59 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 60 | config CLK_BCM6345 |
| 61 | bool "Clock controller driver for BCM6345" |
| 62 | depends on CLK && ARCH_BMIPS |
| 63 | default y |
| 64 | help |
| 65 | This clock driver adds support for enabling and disabling peripheral |
| 66 | clocks on BCM6345 SoCs. HW has no rate changing capabilities. |
| 67 | |
| 68 | config CLK_BOSTON |
| 69 | def_bool y if TARGET_BOSTON |
| 70 | depends on CLK |
| 71 | select REGMAP |
| 72 | select SYSCON |
| 73 | help |
| 74 | Enable this to support the clocks |
| 75 | |
| 76 | config CLK_CDCE9XX |
| 77 | bool "Enable CDCD9XX clock driver" |
| 78 | depends on CLK |
| 79 | help |
| 80 | Enable the clock synthesizer driver for CDCE913/925/937/949 |
| 81 | series of chips. |
| 82 | |
Sean Anderson | 052bebe | 2021-12-15 11:36:20 -0500 | [diff] [blame^] | 83 | config CLK_ICS8N3QV01 |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 84 | bool "Enable ICS8N3QV01 VCXO driver" |
| 85 | depends on CLK |
| 86 | help |
| 87 | Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled |
| 88 | Crystal Oscillator). The output frequency can be programmed via an |
| 89 | I2C interface. |
| 90 | |
Simon Glass | b4d00b2 | 2020-02-06 09:54:53 -0700 | [diff] [blame] | 91 | config CLK_INTEL |
| 92 | bool "Enable clock driver for Intel x86" |
| 93 | depends on CLK && X86 |
| 94 | help |
| 95 | This provides very basic support for clocks on Intel SoCs. The driver |
| 96 | is barely used at present but could be expanded as needs arise. |
| 97 | Much clock configuration in U-Boot is either set up by the FSP, or |
| 98 | set up by U-Boot itself but only statically. Thus the driver does not |
| 99 | support changing clock rates, only querying them. |
| 100 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 101 | config CLK_K210 |
| 102 | bool "Clock support for Kendryte K210" |
| 103 | depends on CLK |
| 104 | help |
| 105 | This enables support clock driver for Kendryte K210 platforms. |
| 106 | |
| 107 | config CLK_K210_SET_RATE |
| 108 | bool "Enable setting the Kendryte K210 PLL rate" |
| 109 | depends on CLK_K210 |
| 110 | help |
| 111 | Add functionality to calculate new rates for K210 PLLs. Enabling this |
| 112 | feature adds around 1K to U-Boot's final size. |
| 113 | |
| 114 | config CLK_MPC83XX |
| 115 | bool "Enable MPC83xx clock driver" |
| 116 | depends on CLK |
| 117 | help |
| 118 | Support for the clock driver of the MPC83xx series of SoCs. |
| 119 | |
Stefan Roese | b113c9b | 2020-07-30 13:56:16 +0200 | [diff] [blame] | 120 | config CLK_OCTEON |
| 121 | bool "Clock controller driver for Marvell MIPS Octeon" |
| 122 | depends on CLK && ARCH_OCTEON |
| 123 | default y |
| 124 | help |
| 125 | Enable this to support the clocks on Octeon MIPS platforms. |
| 126 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 127 | config SANDBOX_CLK_CCF |
| 128 | bool "Sandbox Common Clock Framework [CCF] support " |
| 129 | depends on SANDBOX |
| 130 | select CLK_CCF |
| 131 | help |
| 132 | Enable this option if you want to test the Linux kernel's Common |
| 133 | Clock Framework [CCF] code in U-Boot's Sandbox clock driver. |
| 134 | |
| 135 | config CLK_SCMI |
| 136 | bool "Enable SCMI clock driver" |
| 137 | depends on SCMI_FIRMWARE |
| 138 | help |
| 139 | Enable this option if you want to support clock devices exposed |
| 140 | by a SCMI agent based on SCMI clock protocol communication |
| 141 | with a SCMI server. |
| 142 | |
Patrice Chotard | f264e23 | 2017-11-15 13:14:48 +0100 | [diff] [blame] | 143 | config CLK_STM32F |
| 144 | bool "Enable clock driver support for STM32F family" |
| 145 | depends on CLK && (STM32F7 || STM32F4) |
| 146 | default y |
| 147 | help |
| 148 | This clock driver adds support for RCC clock management |
| 149 | for STM32F4 and STM32F7 SoCs. |
| 150 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 151 | config CLK_STM32MP1 |
| 152 | bool "Enable RCC clock driver for STM32MP1" |
| 153 | depends on ARCH_STM32MP && CLK |
| 154 | default y |
| 155 | help |
| 156 | Enable the STM32 clock (RCC) driver. Enable support for |
| 157 | manipulating STM32MP1's on-SoC clocks. |
| 158 | |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 159 | config CLK_HSDK |
Eugeniy Paltsev | 80a7674 | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 160 | bool "Enable cgu clock driver for HSDK boards" |
| 161 | depends on CLK && TARGET_HSDK |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 162 | help |
Eugeniy Paltsev | 80a7674 | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 163 | Enable this to support the cgu clocks on Synopsys ARC HSDK and |
| 164 | Synopsys ARC HSDK-4xD boards |
Eugeniy Paltsev | e80dac0 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 165 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 166 | config CLK_VERSACLOCK |
| 167 | tristate "Enable VersaClock 5/6 devices" |
| 168 | depends on CLK |
| 169 | depends on CLK_CCF |
| 170 | depends on OF_CONTROL |
| 171 | help |
| 172 | This driver supports the IDT VersaClock 5 and VersaClock 6 |
| 173 | programmable clock generators. |
| 174 | |
Siva Durga Prasad Paladugu | 9510508 | 2019-06-23 12:24:57 +0530 | [diff] [blame] | 175 | config CLK_VERSAL |
| 176 | bool "Enable clock driver support for Versal" |
| 177 | depends on ARCH_VERSAL |
| 178 | select ZYNQMP_FIRMWARE |
| 179 | help |
| 180 | This clock driver adds support for clock realted settings for |
| 181 | Versal platform. |
| 182 | |
Liviu Dudau | a71e907 | 2018-09-17 17:50:00 +0100 | [diff] [blame] | 183 | config CLK_VEXPRESS_OSC |
| 184 | bool "Enable driver for Arm Versatile Express OSC clock generators" |
| 185 | depends on CLK && VEXPRESS_CONFIG |
| 186 | help |
| 187 | This clock driver adds support for clock generators present on |
| 188 | Arm Versatile Express platforms. |
| 189 | |
Zhengxun | 2b157d8 | 2021-06-11 15:10:48 +0000 | [diff] [blame] | 190 | config CLK_XLNX_CLKWZRD |
| 191 | bool "Xilinx Clocking Wizard" |
| 192 | depends on CLK |
| 193 | help |
| 194 | Support for the Xilinx Clocking Wizard IP core clock generator. |
| 195 | The wizard support for dynamically reconfiguring the clocking |
| 196 | primitives for Multiply, Divide, Phase Shift/Offset, or Duty |
| 197 | Cycle. Limited by U-Boot clk uclass without set_phase API and |
| 198 | set_duty_cycle API, this driver only supports set_rate to modify |
| 199 | the frequency. |
| 200 | |
Sean Anderson | 7d4a785 | 2021-12-15 11:36:19 -0500 | [diff] [blame] | 201 | config CLK_ZYNQ |
| 202 | bool "Enable clock driver support for Zynq" |
| 203 | depends on CLK && ARCH_ZYNQ |
| 204 | default y |
| 205 | help |
| 206 | This clock driver adds support for clock related settings for |
| 207 | Zynq platform. |
| 208 | |
Siva Durga Prasad Paladugu | 128ec1f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 209 | config CLK_ZYNQMP |
| 210 | bool "Enable clock driver support for ZynqMP" |
| 211 | depends on ARCH_ZYNQMP |
Rajan Vaja | 14723ed | 2019-02-15 04:45:32 -0800 | [diff] [blame] | 212 | select ZYNQMP_FIRMWARE |
Siva Durga Prasad Paladugu | 128ec1f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 213 | help |
| 214 | This clock driver adds support for clock realted settings for |
| 215 | ZynqMP platform. |
| 216 | |
Anup Patel | d04c79d | 2019-06-25 06:31:02 +0000 | [diff] [blame] | 217 | source "drivers/clk/analogbits/Kconfig" |
Wenyou Yang | 9e5935c | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 218 | source "drivers/clk/at91/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 219 | source "drivers/clk/exynos/Kconfig" |
Peng Fan | f77d441 | 2018-10-18 14:28:30 +0200 | [diff] [blame] | 220 | source "drivers/clk/imx/Kconfig" |
Jerome Brunet | f5abfed | 2019-02-10 14:54:30 +0100 | [diff] [blame] | 221 | source "drivers/clk/meson/Kconfig" |
Padmarao Begari | 2f27c92 | 2021-01-15 08:20:38 +0530 | [diff] [blame] | 222 | source "drivers/clk/microchip/Kconfig" |
Marek BehĂșn | 82a248d | 2018-04-24 17:21:25 +0200 | [diff] [blame] | 223 | source "drivers/clk/mvebu/Kconfig" |
Manivannan Sadhasivam | ae485b5 | 2018-06-14 23:38:35 +0530 | [diff] [blame] | 224 | source "drivers/clk/owl/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 225 | source "drivers/clk/renesas/Kconfig" |
Jagan Teki | 0d47bc7 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 226 | source "drivers/clk/sunxi/Kconfig" |
Anup Patel | c40b6df | 2019-02-25 08:14:49 +0000 | [diff] [blame] | 227 | source "drivers/clk/sifive/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 228 | source "drivers/clk/tegra/Kconfig" |
Dario Binacchi | d09f063 | 2020-12-30 00:06:32 +0100 | [diff] [blame] | 229 | source "drivers/clk/ti/Kconfig" |
Jagan Teki | cf68225 | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 230 | source "drivers/clk/uniphier/Kconfig" |
Masahiro Yamada | 48264d9 | 2016-02-02 21:11:32 +0900 | [diff] [blame] | 231 | |
Masahiro Yamada | 8138581 | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 232 | endmenu |