1# SPDX-License-Identifier: GPL-2.0-only 2# 3# ARM CPU Frequency scaling drivers 4# 5 6config ACPI_CPPC_CPUFREQ 7 tristate "CPUFreq driver based on the ACPI CPPC spec" 8 depends on ACPI_PROCESSOR 9 select ACPI_CPPC_LIB 10 help 11 This adds a CPUFreq driver which uses CPPC methods 12 as described in the ACPIv5.1 spec. CPPC stands for 13 Collaborative Processor Performance Controls. It 14 is based on an abstract continuous scale of CPU 15 performance values which allows the remote power 16 processor to flexibly optimize for power and 17 performance. CPPC relies on power management firmware 18 support for its operation. 19 20 If in doubt, say N. 21 22config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM 23 tristate "Allwinner nvmem based SUN50I CPUFreq driver" 24 depends on ARCH_SUNXI 25 depends on NVMEM_SUNXI_SID 26 select PM_OPP 27 help 28 This adds the nvmem based CPUFreq driver for Allwinner 29 h6 SoC. 30 31 To compile this driver as a module, choose M here: the 32 module will be called sun50i-cpufreq-nvmem. 33 34config ARM_ARMADA_37XX_CPUFREQ 35 tristate "Armada 37xx CPUFreq support" 36 depends on ARCH_MVEBU && CPUFREQ_DT 37 help 38 This adds the CPUFreq driver support for Marvell Armada 37xx SoCs. 39 The Armada 37xx PMU supports 4 frequency and VDD levels. 40 41config ARM_ARMADA_8K_CPUFREQ 42 tristate "Armada 8K CPUFreq driver" 43 depends on ARCH_MVEBU && CPUFREQ_DT 44 select ARMADA_AP_CPU_CLK 45 help 46 This enables the CPUFreq driver support for Marvell 47 Armada8k SOCs. 48 Armada8K device has the AP806 which supports scaling 49 to any full integer divider. 50 51 If in doubt, say N. 52 53# big LITTLE core layer and glue drivers 54config ARM_BIG_LITTLE_CPUFREQ 55 tristate "Generic ARM big LITTLE CPUfreq driver" 56 depends on ARM_CPU_TOPOLOGY && HAVE_CLK 57 select PM_OPP 58 help 59 This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. 60 61config ARM_SCPI_CPUFREQ 62 tristate "SCPI based CPUfreq driver" 63 depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI 64 help 65 This adds the CPUfreq driver support for ARM platforms using SCPI 66 protocol for CPU power management. 67 68 This driver uses SCPI Message Protocol driver to interact with the 69 firmware providing the CPU DVFS functionality. 70 71config ARM_VEXPRESS_SPC_CPUFREQ 72 tristate "Versatile Express SPC based CPUfreq driver" 73 depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC 74 help 75 This add the CPUfreq driver support for Versatile Express 76 big.LITTLE platforms using SPC for power management. 77 78config ARM_BRCMSTB_AVS_CPUFREQ 79 tristate "Broadcom STB AVS CPUfreq driver" 80 depends on ARCH_BRCMSTB || COMPILE_TEST 81 default y 82 help 83 Some Broadcom STB SoCs use a co-processor running proprietary firmware 84 ("AVS") to handle voltage and frequency scaling. This driver provides 85 a standard CPUfreq interface to to the firmware. 86 87 Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS. 88 89config ARM_HIGHBANK_CPUFREQ 90 tristate "Calxeda Highbank-based" 91 depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR 92 default m 93 help 94 This adds the CPUFreq driver for Calxeda Highbank SoC 95 based boards. 96 97 If in doubt, say N. 98 99config ARM_IMX6Q_CPUFREQ 100 tristate "Freescale i.MX6 cpufreq support" 101 depends on ARCH_MXC 102 depends on REGULATOR_ANATOP 103 select PM_OPP 104 help 105 This adds cpufreq driver support for Freescale i.MX6 series SoCs. 106 107 If in doubt, say N. 108 109config ARM_IMX_CPUFREQ_DT 110 tristate "Freescale i.MX8M cpufreq support" 111 depends on ARCH_MXC && CPUFREQ_DT 112 help 113 This adds cpufreq driver support for Freescale i.MX8M series SoCs, 114 based on cpufreq-dt. 115 116 If in doubt, say N. 117 118config ARM_KIRKWOOD_CPUFREQ 119 def_bool MACH_KIRKWOOD 120 help 121 This adds the CPUFreq driver for Marvell Kirkwood 122 SoCs. 123 124config ARM_MEDIATEK_CPUFREQ 125 tristate "CPU Frequency scaling support for MediaTek SoCs" 126 depends on ARCH_MEDIATEK && REGULATOR 127 select PM_OPP 128 help 129 This adds the CPUFreq driver support for MediaTek SoCs. 130 131config ARM_OMAP2PLUS_CPUFREQ 132 bool "TI OMAP2+" 133 depends on ARCH_OMAP2PLUS 134 default ARCH_OMAP2PLUS 135 136config ARM_QCOM_CPUFREQ_NVMEM 137 tristate "Qualcomm nvmem based CPUFreq" 138 depends on ARM64 139 depends on QCOM_QFPROM 140 depends on QCOM_SMEM 141 select PM_OPP 142 help 143 This adds the CPUFreq driver for Qualcomm Kryo SoC based boards. 144 145 If in doubt, say N. 146 147config ARM_QCOM_CPUFREQ_HW 148 tristate "QCOM CPUFreq HW driver" 149 depends on ARCH_QCOM || COMPILE_TEST 150 help 151 Support for the CPUFreq HW driver. 152 Some QCOM chipsets have a HW engine to offload the steps 153 necessary for changing the frequency of the CPUs. Firmware loaded 154 in this engine exposes a programming interface to the OS. 155 The driver implements the cpufreq interface for this HW engine. 156 Say Y if you want to support CPUFreq HW. 157 158config ARM_RASPBERRYPI_CPUFREQ 159 tristate "Raspberry Pi cpufreq support" 160 depends on CLK_RASPBERRYPI || COMPILE_TEST 161 help 162 This adds the CPUFreq driver for Raspberry Pi 163 164 If in doubt, say N. 165 166config ARM_S3C_CPUFREQ 167 bool 168 help 169 Internal configuration node for common cpufreq on Samsung SoC 170 171config ARM_S3C24XX_CPUFREQ 172 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)" 173 depends on ARCH_S3C24XX 174 select ARM_S3C_CPUFREQ 175 help 176 This enables the CPUfreq driver for the Samsung S3C24XX family 177 of CPUs. 178 179 For details, take a look at <file:Documentation/cpu-freq>. 180 181 If in doubt, say N. 182 183config ARM_S3C24XX_CPUFREQ_DEBUG 184 bool "Debug CPUfreq Samsung driver core" 185 depends on ARM_S3C24XX_CPUFREQ 186 help 187 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core 188 189config ARM_S3C24XX_CPUFREQ_IODEBUG 190 bool "Debug CPUfreq Samsung driver IO timing" 191 depends on ARM_S3C24XX_CPUFREQ 192 help 193 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core 194 195config ARM_S3C24XX_CPUFREQ_DEBUGFS 196 bool "Export debugfs for CPUFreq" 197 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS 198 help 199 Export status information via debugfs. 200 201config ARM_S3C2410_CPUFREQ 202 bool 203 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410 204 select S3C2410_CPUFREQ_UTILS 205 help 206 CPU Frequency scaling support for S3C2410 207 208config ARM_S3C2412_CPUFREQ 209 bool 210 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412 211 default y 212 select S3C2412_IOTIMING 213 help 214 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. 215 216config ARM_S3C2416_CPUFREQ 217 bool "S3C2416 CPU Frequency scaling support" 218 depends on CPU_S3C2416 219 help 220 This adds the CPUFreq driver for the Samsung S3C2416 and 221 S3C2450 SoC. The S3C2416 supports changing the rate of the 222 armdiv clock source and also entering a so called dynamic 223 voltage scaling mode in which it is possible to reduce the 224 core voltage of the CPU. 225 226 If in doubt, say N. 227 228config ARM_S3C2416_CPUFREQ_VCORESCALE 229 bool "Allow voltage scaling for S3C2416 arm core" 230 depends on ARM_S3C2416_CPUFREQ && REGULATOR 231 help 232 Enable CPU voltage scaling when entering the dvs mode. 233 It uses information gathered through existing hardware and 234 tests but not documented in any datasheet. 235 236 If in doubt, say N. 237 238config ARM_S3C2440_CPUFREQ 239 bool "S3C2440/S3C2442 CPU Frequency scaling support" 240 depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442) 241 select S3C2410_CPUFREQ_UTILS 242 default y 243 help 244 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs. 245 246config ARM_S3C64XX_CPUFREQ 247 bool "Samsung S3C64XX" 248 depends on CPU_S3C6410 249 default y 250 help 251 This adds the CPUFreq driver for Samsung S3C6410 SoC. 252 253 If in doubt, say N. 254 255config ARM_S5PV210_CPUFREQ 256 bool "Samsung S5PV210 and S5PC110" 257 depends on CPU_S5PV210 258 default y 259 help 260 This adds the CPUFreq driver for Samsung S5PV210 and 261 S5PC110 SoCs. 262 263 If in doubt, say N. 264 265config ARM_SA1100_CPUFREQ 266 bool 267 268config ARM_SA1110_CPUFREQ 269 bool 270 271config ARM_SCMI_CPUFREQ 272 tristate "SCMI based CPUfreq driver" 273 depends on ARM_SCMI_PROTOCOL || COMPILE_TEST 274 select PM_OPP 275 help 276 This adds the CPUfreq driver support for ARM platforms using SCMI 277 protocol for CPU power management. 278 279 This driver uses SCMI Message Protocol driver to interact with the 280 firmware providing the CPU DVFS functionality. 281 282config ARM_SPEAR_CPUFREQ 283 bool "SPEAr CPUFreq support" 284 depends on PLAT_SPEAR 285 default y 286 help 287 This adds the CPUFreq driver support for SPEAr SOCs. 288 289config ARM_STI_CPUFREQ 290 tristate "STi CPUFreq support" 291 depends on SOC_STIH407 292 help 293 This driver uses the generic OPP framework to match the running 294 platform with a predefined set of suitable values. If not provided 295 we will fall-back so safe-values contained in Device Tree. Enable 296 this config option if you wish to add CPUFreq support for STi based 297 SoCs. 298 299config ARM_TANGO_CPUFREQ 300 bool 301 depends on CPUFREQ_DT && ARCH_TANGO 302 default y 303 304config ARM_TEGRA20_CPUFREQ 305 tristate "Tegra20 CPUFreq support" 306 depends on ARCH_TEGRA 307 default y 308 help 309 This adds the CPUFreq driver support for Tegra20 SOCs. 310 311config ARM_TEGRA124_CPUFREQ 312 bool "Tegra124 CPUFreq support" 313 depends on ARCH_TEGRA && CPUFREQ_DT 314 default y 315 help 316 This adds the CPUFreq driver support for Tegra124 SOCs. 317 318config ARM_TEGRA186_CPUFREQ 319 tristate "Tegra186 CPUFreq support" 320 depends on ARCH_TEGRA && TEGRA_BPMP 321 help 322 This adds the CPUFreq driver support for Tegra186 SOCs. 323 324config ARM_TI_CPUFREQ 325 bool "Texas Instruments CPUFreq support" 326 depends on ARCH_OMAP2PLUS 327 help 328 This driver enables valid OPPs on the running platform based on 329 values contained within the SoC in use. Enable this in order to 330 use the cpufreq-dt driver on all Texas Instruments platforms that 331 provide dt based operating-points-v2 tables with opp-supported-hw 332 data provided. Required for cpufreq support on AM335x, AM437x, 333 DRA7x, and AM57x platforms. 334 335config ARM_PXA2xx_CPUFREQ 336 tristate "Intel PXA2xx CPUfreq driver" 337 depends on PXA27x || PXA25x 338 help 339 This add the CPUFreq driver support for Intel PXA2xx SOCs. 340 341 If in doubt, say N. 342