Masahiro Yamada | 92b8c2f | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 1 | menu "Clock" |
| 2 | |
Simon Glass | 36ad234 | 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 | b16de45 | 2015-08-12 07:31:46 +0900 | [diff] [blame] | 13 | config SPL_CLK |
Simon Glass | 36ad234 | 2015-06-23 15:39:15 -0600 | [diff] [blame] | 14 | bool "Enable clock support in SPL" |
Wenyou Yang | e4cf413 | 2017-07-31 15:21:57 +0800 | [diff] [blame] | 15 | depends on CLK && SPL && SPL_DM |
Simon Glass | 36ad234 | 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 | 92b8c2f | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 22 | |
Philipp Tomsich | 592c3db | 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 | c35611c | 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 | 0399f44 | 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 | 4de44bb | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 49 | config SPL_CLK_CCF |
| 50 | bool "SPL Common Clock Framework [CCF] support " |
Adam Ford | ac4d80e | 2019-08-24 13:50:34 -0500 | [diff] [blame] | 51 | depends on SPL |
Lukasz Majewski | 4de44bb | 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 | 2d9bd93 | 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 | 4de44bb | 2019-06-24 15:50:45 +0200 | [diff] [blame] | 63 | config CLK_CCF |
| 64 | bool "Common Clock Framework [CCF] support " |
Lukasz Majewski | 4de44bb | 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 | 2d9bd93 | 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 | 6eb4e3c | 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 | 560b07f | 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 | d4f2d20 | 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 | |
Eugeniy Paltsev | 7e1fb09 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 101 | config CLK_HSDK |
Eugeniy Paltsev | 6bd63fc | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 102 | bool "Enable cgu clock driver for HSDK boards" |
| 103 | depends on CLK && TARGET_HSDK |
Eugeniy Paltsev | 7e1fb09 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 104 | help |
Eugeniy Paltsev | 6bd63fc | 2020-05-07 22:20:10 +0300 | [diff] [blame] | 105 | Enable this to support the cgu clocks on Synopsys ARC HSDK and |
| 106 | Synopsys ARC HSDK-4xD boards |
Eugeniy Paltsev | 7e1fb09 | 2017-12-10 21:20:08 +0300 | [diff] [blame] | 107 | |
Siva Durga Prasad Paladugu | f7a7120 | 2019-06-23 12:24:57 +0530 | [diff] [blame] | 108 | config CLK_VERSAL |
| 109 | bool "Enable clock driver support for Versal" |
| 110 | depends on ARCH_VERSAL |
| 111 | select ZYNQMP_FIRMWARE |
| 112 | help |
| 113 | This clock driver adds support for clock realted settings for |
| 114 | Versal platform. |
| 115 | |
Liviu Dudau | ba024e6 | 2018-09-17 17:50:00 +0100 | [diff] [blame] | 116 | config CLK_VEXPRESS_OSC |
| 117 | bool "Enable driver for Arm Versatile Express OSC clock generators" |
| 118 | depends on CLK && VEXPRESS_CONFIG |
| 119 | help |
| 120 | This clock driver adds support for clock generators present on |
| 121 | Arm Versatile Express platforms. |
| 122 | |
Stefan Herbrechtsmeier | f1f88c9 | 2017-01-17 16:27:29 +0100 | [diff] [blame] | 123 | config CLK_ZYNQ |
| 124 | bool "Enable clock driver support for Zynq" |
| 125 | depends on CLK && ARCH_ZYNQ |
| 126 | default y |
| 127 | help |
Michal Simek | 8ce9043 | 2021-04-07 14:36:14 +0200 | [diff] [blame] | 128 | This clock driver adds support for clock related settings for |
Stefan Herbrechtsmeier | f1f88c9 | 2017-01-17 16:27:29 +0100 | [diff] [blame] | 129 | Zynq platform. |
| 130 | |
Zhengxun | 39df053 | 2021-06-11 15:10:48 +0000 | [diff] [blame] | 131 | config CLK_XLNX_CLKWZRD |
| 132 | bool "Xilinx Clocking Wizard" |
| 133 | depends on CLK |
| 134 | help |
| 135 | Support for the Xilinx Clocking Wizard IP core clock generator. |
| 136 | The wizard support for dynamically reconfiguring the clocking |
| 137 | primitives for Multiply, Divide, Phase Shift/Offset, or Duty |
| 138 | Cycle. Limited by U-Boot clk uclass without set_phase API and |
| 139 | set_duty_cycle API, this driver only supports set_rate to modify |
| 140 | the frequency. |
| 141 | |
Siva Durga Prasad Paladugu | 468b55f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 142 | config CLK_ZYNQMP |
| 143 | bool "Enable clock driver support for ZynqMP" |
| 144 | depends on ARCH_ZYNQMP |
Rajan Vaja | 833be32 | 2019-02-15 04:45:32 -0800 | [diff] [blame] | 145 | select ZYNQMP_FIRMWARE |
Siva Durga Prasad Paladugu | 468b55f | 2016-11-15 16:15:41 +0530 | [diff] [blame] | 146 | help |
| 147 | This clock driver adds support for clock realted settings for |
| 148 | ZynqMP platform. |
| 149 | |
Patrick Delaunay | e6ab627 | 2018-03-12 10:46:15 +0100 | [diff] [blame] | 150 | config CLK_STM32MP1 |
| 151 | bool "Enable RCC clock driver for STM32MP1" |
| 152 | depends on ARCH_STM32MP && CLK |
| 153 | default y |
| 154 | help |
| 155 | Enable the STM32 clock (RCC) driver. Enable support for |
| 156 | manipulating STM32MP1's on-SoC clocks. |
| 157 | |
Tero Kristo | 814c611 | 2019-09-27 19:14:26 +0300 | [diff] [blame] | 158 | config CLK_CDCE9XX |
| 159 | bool "Enable CDCD9XX clock driver" |
| 160 | depends on CLK |
| 161 | help |
| 162 | Enable the clock synthesizer driver for CDCE913/925/937/949 |
| 163 | series of chips. |
| 164 | |
Etienne Carriere | 78928e1 | 2020-09-09 18:44:04 +0200 | [diff] [blame] | 165 | config CLK_SCMI |
| 166 | bool "Enable SCMI clock driver" |
| 167 | depends on SCMI_FIRMWARE |
| 168 | help |
| 169 | Enable this option if you want to support clock devices exposed |
| 170 | by a SCMI agent based on SCMI clock protocol communication |
| 171 | with a SCMI server. |
| 172 | |
Sean Anderson | 152919d | 2021-06-11 00:16:14 -0400 | [diff] [blame] | 173 | config CLK_K210 |
| 174 | bool "Clock support for Kendryte K210" |
| 175 | depends on CLK |
| 176 | help |
| 177 | This enables support clock driver for Kendryte K210 platforms. |
| 178 | |
| 179 | config CLK_K210_SET_RATE |
| 180 | bool "Enable setting the Kendryte K210 PLL rate" |
| 181 | depends on CLK_K210 |
| 182 | help |
| 183 | Add functionality to calculate new rates for K210 PLLs. Enabling this |
| 184 | feature adds around 1K to U-Boot's final size. |
| 185 | |
Anup Patel | 00a156d | 2019-06-25 06:31:02 +0000 | [diff] [blame] | 186 | source "drivers/clk/analogbits/Kconfig" |
Wenyou Yang | 8c772bd | 2016-07-20 17:55:12 +0800 | [diff] [blame] | 187 | source "drivers/clk/at91/Kconfig" |
Jagan Teki | 9d2787c | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 188 | source "drivers/clk/exynos/Kconfig" |
Peng Fan | 5e80d5a | 2018-10-18 14:28:30 +0200 | [diff] [blame] | 189 | source "drivers/clk/imx/Kconfig" |
Jerome Brunet | 3da39a8 | 2019-02-10 14:54:30 +0100 | [diff] [blame] | 190 | source "drivers/clk/meson/Kconfig" |
Padmarao Begari | 0c4ae80 | 2021-01-15 08:20:38 +0530 | [diff] [blame] | 191 | source "drivers/clk/microchip/Kconfig" |
Marek Behún | 61d74e8 | 2018-04-24 17:21:25 +0200 | [diff] [blame] | 192 | source "drivers/clk/mvebu/Kconfig" |
Manivannan Sadhasivam | 91a8513 | 2018-06-14 23:38:35 +0530 | [diff] [blame] | 193 | source "drivers/clk/owl/Kconfig" |
Jagan Teki | 9d2787c | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 194 | source "drivers/clk/renesas/Kconfig" |
Jagan Teki | 1d150b4 | 2018-12-22 21:32:49 +0530 | [diff] [blame] | 195 | source "drivers/clk/sunxi/Kconfig" |
Anup Patel | 42fdf08 | 2019-02-25 08:14:49 +0000 | [diff] [blame] | 196 | source "drivers/clk/sifive/Kconfig" |
Jagan Teki | 9d2787c | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 197 | source "drivers/clk/tegra/Kconfig" |
Dario Binacchi | da3b020 | 2020-12-30 00:06:32 +0100 | [diff] [blame] | 198 | source "drivers/clk/ti/Kconfig" |
Jagan Teki | 9d2787c | 2018-07-30 18:26:18 +0530 | [diff] [blame] | 199 | source "drivers/clk/uniphier/Kconfig" |
Masahiro Yamada | e4dfb05 | 2016-02-02 21:11:32 +0900 | [diff] [blame] | 200 | |
Mario Six | a3c0706 | 2018-04-27 14:53:15 +0200 | [diff] [blame] | 201 | config ICS8N3QV01 |
| 202 | bool "Enable ICS8N3QV01 VCXO driver" |
| 203 | depends on CLK |
| 204 | help |
| 205 | Support for the ICS8N3QV01 Quad-Frequency VCXO (Voltage-Controlled |
| 206 | Crystal Oscillator). The output frequency can be programmed via an |
| 207 | I2C interface. |
| 208 | |
Mario Six | 7cab147 | 2018-08-06 10:23:36 +0200 | [diff] [blame] | 209 | config CLK_MPC83XX |
| 210 | bool "Enable MPC83xx clock driver" |
| 211 | depends on CLK |
| 212 | help |
| 213 | Support for the clock driver of the MPC83xx series of SoCs. |
| 214 | |
Lukasz Majewski | 8c0709b | 2019-06-24 15:50:50 +0200 | [diff] [blame] | 215 | config SANDBOX_CLK_CCF |
| 216 | bool "Sandbox Common Clock Framework [CCF] support " |
| 217 | depends on SANDBOX |
| 218 | select CLK_CCF |
| 219 | help |
| 220 | Enable this option if you want to test the Linux kernel's Common |
| 221 | Clock Framework [CCF] code in U-Boot's Sandbox clock driver. |
| 222 | |
Adam Ford | db7b2f4 | 2021-06-04 12:26:06 -0500 | [diff] [blame] | 223 | config CLK_VERSACLOCK |
| 224 | tristate "Enable VersaClock 5/6 devices" |
| 225 | depends on CLK |
| 226 | depends on CLK_CCF |
| 227 | depends on OF_CONTROL |
| 228 | help |
| 229 | This driver supports the IDT VersaClock 5 and VersaClock 6 |
| 230 | programmable clock generators. |
| 231 | |
Masahiro Yamada | 92b8c2f | 2016-01-12 16:36:38 +0900 | [diff] [blame] | 232 | endmenu |