1 # SPDX-License-Identifier: GPL-2.0-only
3 # ARM CPU Frequency scaling drivers
6 config ACPI_CPPC_CPUFREQ
7 tristate "CPUFreq driver based on the ACPI CPPC spec"
8 depends on ACPI_PROCESSOR
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.
22 config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
23 tristate "Allwinner nvmem based SUN50I CPUFreq driver"
25 depends on NVMEM_SUNXI_SID
28 This adds the nvmem based CPUFreq driver for Allwinner
31 To compile this driver as a module, choose M here: the
32 module will be called sun50i-cpufreq-nvmem.
34 config ARM_ARMADA_37XX_CPUFREQ
35 tristate "Armada 37xx CPUFreq support"
36 depends on ARCH_MVEBU && CPUFREQ_DT
38 This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
39 The Armada 37xx PMU supports 4 frequency and VDD levels.
41 config ARM_ARMADA_8K_CPUFREQ
42 tristate "Armada 8K CPUFreq driver"
43 depends on ARCH_MVEBU && CPUFREQ_DT
44 select ARMADA_AP_CPU_CLK
46 This enables the CPUFreq driver support for Marvell
48 Armada8K device has the AP806 which supports scaling
49 to any full integer divider.
53 # big LITTLE core layer and glue drivers
54 config ARM_BIG_LITTLE_CPUFREQ
55 tristate "Generic ARM big LITTLE CPUfreq driver"
56 depends on ARM_CPU_TOPOLOGY && HAVE_CLK
59 This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
61 config ARM_SCPI_CPUFREQ
62 tristate "SCPI based CPUfreq driver"
63 depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
65 This adds the CPUfreq driver support for ARM platforms using SCPI
66 protocol for CPU power management.
68 This driver uses SCPI Message Protocol driver to interact with the
69 firmware providing the CPU DVFS functionality.
71 config ARM_VEXPRESS_SPC_CPUFREQ
72 tristate "Versatile Express SPC based CPUfreq driver"
73 depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC
75 This add the CPUfreq driver support for Versatile Express
76 big.LITTLE platforms using SPC for power management.
78 config ARM_BRCMSTB_AVS_CPUFREQ
79 tristate "Broadcom STB AVS CPUfreq driver"
80 depends on ARCH_BRCMSTB || COMPILE_TEST
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.
87 Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.
89 config ARM_HIGHBANK_CPUFREQ
90 tristate "Calxeda Highbank-based"
91 depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
94 This adds the CPUFreq driver for Calxeda Highbank SoC
99 config ARM_IMX6Q_CPUFREQ
100 tristate "Freescale i.MX6 cpufreq support"
102 depends on REGULATOR_ANATOP
105 This adds cpufreq driver support for Freescale i.MX6 series SoCs.
109 config ARM_IMX_CPUFREQ_DT
110 tristate "Freescale i.MX8M cpufreq support"
111 depends on ARCH_MXC && CPUFREQ_DT
113 This adds cpufreq driver support for Freescale i.MX8M series SoCs,
118 config ARM_KIRKWOOD_CPUFREQ
119 def_bool MACH_KIRKWOOD
121 This adds the CPUFreq driver for Marvell Kirkwood
124 config ARM_MEDIATEK_CPUFREQ
125 tristate "CPU Frequency scaling support for MediaTek SoCs"
126 depends on ARCH_MEDIATEK && REGULATOR
129 This adds the CPUFreq driver support for MediaTek SoCs.
131 config ARM_OMAP2PLUS_CPUFREQ
133 depends on ARCH_OMAP2PLUS
134 default ARCH_OMAP2PLUS
136 config ARM_QCOM_CPUFREQ_NVMEM
137 tristate "Qualcomm nvmem based CPUFreq"
139 depends on QCOM_QFPROM
143 This adds the CPUFreq driver for Qualcomm Kryo SoC based boards.
147 config ARM_QCOM_CPUFREQ_HW
148 tristate "QCOM CPUFreq HW driver"
149 depends on ARCH_QCOM || COMPILE_TEST
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.
158 config ARM_RASPBERRYPI_CPUFREQ
159 tristate "Raspberry Pi cpufreq support"
160 depends on CLK_RASPBERRYPI || COMPILE_TEST
162 This adds the CPUFreq driver for Raspberry Pi
166 config ARM_S3C_CPUFREQ
169 Internal configuration node for common cpufreq on Samsung SoC
171 config ARM_S3C24XX_CPUFREQ
172 bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
173 depends on ARCH_S3C24XX
174 select ARM_S3C_CPUFREQ
176 This enables the CPUfreq driver for the Samsung S3C24XX family
179 For details, take a look at <file:Documentation/cpu-freq>.
183 config ARM_S3C24XX_CPUFREQ_DEBUG
184 bool "Debug CPUfreq Samsung driver core"
185 depends on ARM_S3C24XX_CPUFREQ
187 Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
189 config ARM_S3C24XX_CPUFREQ_IODEBUG
190 bool "Debug CPUfreq Samsung driver IO timing"
191 depends on ARM_S3C24XX_CPUFREQ
193 Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
195 config ARM_S3C24XX_CPUFREQ_DEBUGFS
196 bool "Export debugfs for CPUFreq"
197 depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
199 Export status information via debugfs.
201 config ARM_S3C2410_CPUFREQ
203 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
204 select S3C2410_CPUFREQ_UTILS
206 CPU Frequency scaling support for S3C2410
208 config ARM_S3C2412_CPUFREQ
210 depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
212 select S3C2412_IOTIMING
214 CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
216 config ARM_S3C2416_CPUFREQ
217 bool "S3C2416 CPU Frequency scaling support"
218 depends on CPU_S3C2416
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.
228 config ARM_S3C2416_CPUFREQ_VCORESCALE
229 bool "Allow voltage scaling for S3C2416 arm core"
230 depends on ARM_S3C2416_CPUFREQ && REGULATOR
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.
238 config 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
244 CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
246 config ARM_S3C64XX_CPUFREQ
247 bool "Samsung S3C64XX"
248 depends on CPU_S3C6410
251 This adds the CPUFreq driver for Samsung S3C6410 SoC.
255 config ARM_S5PV210_CPUFREQ
256 bool "Samsung S5PV210 and S5PC110"
257 depends on CPU_S5PV210
260 This adds the CPUFreq driver for Samsung S5PV210 and
265 config ARM_SA1100_CPUFREQ
268 config ARM_SA1110_CPUFREQ
271 config ARM_SCMI_CPUFREQ
272 tristate "SCMI based CPUfreq driver"
273 depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
276 This adds the CPUfreq driver support for ARM platforms using SCMI
277 protocol for CPU power management.
279 This driver uses SCMI Message Protocol driver to interact with the
280 firmware providing the CPU DVFS functionality.
282 config ARM_SPEAR_CPUFREQ
283 bool "SPEAr CPUFreq support"
284 depends on PLAT_SPEAR
287 This adds the CPUFreq driver support for SPEAr SOCs.
289 config ARM_STI_CPUFREQ
290 tristate "STi CPUFreq support"
291 depends on SOC_STIH407
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
299 config ARM_TANGO_CPUFREQ
301 depends on CPUFREQ_DT && ARCH_TANGO
304 config ARM_TEGRA20_CPUFREQ
305 tristate "Tegra20 CPUFreq support"
306 depends on ARCH_TEGRA
309 This adds the CPUFreq driver support for Tegra20 SOCs.
311 config ARM_TEGRA124_CPUFREQ
312 bool "Tegra124 CPUFreq support"
313 depends on ARCH_TEGRA && CPUFREQ_DT
316 This adds the CPUFreq driver support for Tegra124 SOCs.
318 config ARM_TEGRA186_CPUFREQ
319 tristate "Tegra186 CPUFreq support"
320 depends on ARCH_TEGRA && TEGRA_BPMP
322 This adds the CPUFreq driver support for Tegra186 SOCs.
324 config ARM_TI_CPUFREQ
325 bool "Texas Instruments CPUFreq support"
326 depends on ARCH_OMAP2PLUS
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.
335 config ARM_PXA2xx_CPUFREQ
336 tristate "Intel PXA2xx CPUfreq driver"
337 depends on PXA27x || PXA25x
339 This add the CPUFreq driver support for Intel PXA2xx SOCs.