2019-05-19 06:07:45 -06:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2011-06-01 15:18:22 -06:00
|
|
|
#
|
|
|
|
# ARM CPU Frequency scaling drivers
|
|
|
|
#
|
|
|
|
|
2017-12-13 10:05:35 -07:00
|
|
|
config ACPI_CPPC_CPUFREQ
|
|
|
|
tristate "CPUFreq driver based on the ACPI CPPC spec"
|
|
|
|
depends on ACPI_PROCESSOR
|
|
|
|
select ACPI_CPPC_LIB
|
|
|
|
help
|
|
|
|
This adds a CPUFreq driver which uses CPPC methods
|
|
|
|
as described in the ACPIv5.1 spec. CPPC stands for
|
|
|
|
Collaborative Processor Performance Controls. It
|
|
|
|
is based on an abstract continuous scale of CPU
|
|
|
|
performance values which allows the remote power
|
|
|
|
processor to flexibly optimize for power and
|
|
|
|
performance. CPPC relies on power management firmware
|
|
|
|
support for its operation.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2019-06-12 10:28:15 -06:00
|
|
|
config ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
|
|
|
|
tristate "Allwinner nvmem based SUN50I CPUFreq driver"
|
|
|
|
depends on ARCH_SUNXI
|
|
|
|
depends on NVMEM_SUNXI_SID
|
|
|
|
select PM_OPP
|
|
|
|
help
|
|
|
|
This adds the nvmem based CPUFreq driver for Allwinner
|
|
|
|
h6 SoC.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called sun50i-cpufreq-nvmem.
|
|
|
|
|
2017-12-14 08:00:05 -07:00
|
|
|
config ARM_ARMADA_37XX_CPUFREQ
|
|
|
|
tristate "Armada 37xx CPUFreq support"
|
2018-04-24 09:45:06 -06:00
|
|
|
depends on ARCH_MVEBU && CPUFREQ_DT
|
2017-12-14 08:00:05 -07:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for Marvell Armada 37xx SoCs.
|
|
|
|
The Armada 37xx PMU supports 4 frequency and VDD levels.
|
|
|
|
|
2019-01-18 07:51:01 -07:00
|
|
|
config ARM_ARMADA_8K_CPUFREQ
|
|
|
|
tristate "Armada 8K CPUFreq driver"
|
|
|
|
depends on ARCH_MVEBU && CPUFREQ_DT
|
2020-06-22 06:01:23 -06:00
|
|
|
select ARMADA_AP_CPU_CLK
|
2019-01-18 07:51:01 -07:00
|
|
|
help
|
|
|
|
This enables the CPUFreq driver support for Marvell
|
|
|
|
Armada8k SOCs.
|
|
|
|
Armada8K device has the AP806 which supports scaling
|
|
|
|
to any full integer divider.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2017-12-13 10:05:35 -07:00
|
|
|
config ARM_SCPI_CPUFREQ
|
|
|
|
tristate "SCPI based CPUfreq driver"
|
2018-02-23 08:54:42 -07:00
|
|
|
depends on ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
|
2017-12-13 10:05:35 -07:00
|
|
|
help
|
2018-02-23 08:54:42 -07:00
|
|
|
This adds the CPUfreq driver support for ARM platforms using SCPI
|
|
|
|
protocol for CPU power management.
|
2017-12-13 10:05:35 -07:00
|
|
|
|
|
|
|
This driver uses SCPI Message Protocol driver to interact with the
|
|
|
|
firmware providing the CPU DVFS functionality.
|
|
|
|
|
|
|
|
config ARM_VEXPRESS_SPC_CPUFREQ
|
|
|
|
tristate "Versatile Express SPC based CPUfreq driver"
|
2019-10-21 04:20:34 -06:00
|
|
|
depends on ARM_CPU_TOPOLOGY && HAVE_CLK
|
|
|
|
depends on ARCH_VEXPRESS_SPC
|
|
|
|
select PM_OPP
|
2017-12-13 10:05:35 -07:00
|
|
|
help
|
|
|
|
This add the CPUfreq driver support for Versatile Express
|
|
|
|
big.LITTLE platforms using SPC for power management.
|
|
|
|
|
2016-10-27 15:05:35 -06:00
|
|
|
config ARM_BRCMSTB_AVS_CPUFREQ
|
|
|
|
tristate "Broadcom STB AVS CPUfreq driver"
|
|
|
|
depends on ARCH_BRCMSTB || COMPILE_TEST
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Some Broadcom STB SoCs use a co-processor running proprietary firmware
|
|
|
|
("AVS") to handle voltage and frequency scaling. This driver provides
|
|
|
|
a standard CPUfreq interface to to the firmware.
|
|
|
|
|
|
|
|
Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.
|
|
|
|
|
2013-04-04 06:54:09 -06:00
|
|
|
config ARM_HIGHBANK_CPUFREQ
|
|
|
|
tristate "Calxeda Highbank-based"
|
2014-09-09 08:28:03 -06:00
|
|
|
depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
|
2013-04-04 06:54:09 -06:00
|
|
|
default m
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Calxeda Highbank SoC
|
|
|
|
based boards.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config ARM_IMX6Q_CPUFREQ
|
2013-12-19 19:12:16 -07:00
|
|
|
tristate "Freescale i.MX6 cpufreq support"
|
|
|
|
depends on ARCH_MXC
|
2013-04-04 06:54:09 -06:00
|
|
|
depends on REGULATOR_ANATOP
|
2020-07-14 12:43:56 -06:00
|
|
|
select NVMEM_IMX_OCOTP
|
2014-07-13 15:59:00 -06:00
|
|
|
select PM_OPP
|
2013-04-04 06:54:09 -06:00
|
|
|
help
|
2013-12-19 19:12:16 -07:00
|
|
|
This adds cpufreq driver support for Freescale i.MX6 series SoCs.
|
2013-04-04 06:54:09 -06:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2019-05-13 05:01:38 -06:00
|
|
|
config ARM_IMX_CPUFREQ_DT
|
|
|
|
tristate "Freescale i.MX8M cpufreq support"
|
|
|
|
depends on ARCH_MXC && CPUFREQ_DT
|
|
|
|
help
|
|
|
|
This adds cpufreq driver support for Freescale i.MX8M series SoCs,
|
|
|
|
based on cpufreq-dt.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-04 06:54:09 -06:00
|
|
|
config ARM_KIRKWOOD_CPUFREQ
|
2014-08-30 10:46:12 -06:00
|
|
|
def_bool MACH_KIRKWOOD
|
2013-04-04 06:54:09 -06:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Marvell Kirkwood
|
|
|
|
SoCs.
|
|
|
|
|
2017-07-18 00:01:43 -06:00
|
|
|
config ARM_MEDIATEK_CPUFREQ
|
|
|
|
tristate "CPU Frequency scaling support for MediaTek SoCs"
|
2015-08-18 20:05:06 -06:00
|
|
|
depends on ARCH_MEDIATEK && REGULATOR
|
|
|
|
select PM_OPP
|
|
|
|
help
|
2017-07-18 00:01:43 -06:00
|
|
|
This adds the CPUFreq driver support for MediaTek SoCs.
|
2015-08-18 20:05:06 -06:00
|
|
|
|
2012-02-15 12:01:11 -07:00
|
|
|
config ARM_OMAP2PLUS_CPUFREQ
|
|
|
|
bool "TI OMAP2+"
|
2012-04-13 14:32:30 -06:00
|
|
|
depends on ARCH_OMAP2PLUS
|
2012-02-15 12:01:11 -07:00
|
|
|
default ARCH_OMAP2PLUS
|
|
|
|
|
2019-07-25 04:41:31 -06:00
|
|
|
config ARM_QCOM_CPUFREQ_NVMEM
|
|
|
|
tristate "Qualcomm nvmem based CPUFreq"
|
2020-03-13 11:52:13 -06:00
|
|
|
depends on ARCH_QCOM
|
2018-05-29 20:39:28 -06:00
|
|
|
depends on QCOM_QFPROM
|
|
|
|
depends on QCOM_SMEM
|
|
|
|
select PM_OPP
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Qualcomm Kryo SoC based boards.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2018-12-13 21:10:24 -07:00
|
|
|
config ARM_QCOM_CPUFREQ_HW
|
|
|
|
tristate "QCOM CPUFreq HW driver"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
help
|
|
|
|
Support for the CPUFreq HW driver.
|
|
|
|
Some QCOM chipsets have a HW engine to offload the steps
|
|
|
|
necessary for changing the frequency of the CPUs. Firmware loaded
|
|
|
|
in this engine exposes a programming interface to the OS.
|
|
|
|
The driver implements the cpufreq interface for this HW engine.
|
|
|
|
Say Y if you want to support CPUFreq HW.
|
|
|
|
|
2019-06-12 12:24:56 -06:00
|
|
|
config ARM_RASPBERRYPI_CPUFREQ
|
|
|
|
tristate "Raspberry Pi cpufreq support"
|
|
|
|
depends on CLK_RASPBERRYPI || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Raspberry Pi
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-04 06:54:15 -06:00
|
|
|
config ARM_S3C_CPUFREQ
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Internal configuration node for common cpufreq on Samsung SoC
|
|
|
|
|
|
|
|
config ARM_S3C24XX_CPUFREQ
|
|
|
|
bool "CPUfreq driver for Samsung S3C24XX series CPUs (EXPERIMENTAL)"
|
|
|
|
depends on ARCH_S3C24XX
|
|
|
|
select ARM_S3C_CPUFREQ
|
|
|
|
help
|
|
|
|
This enables the CPUfreq driver for the Samsung S3C24XX family
|
|
|
|
of CPUs.
|
|
|
|
|
|
|
|
For details, take a look at <file:Documentation/cpu-freq>.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config ARM_S3C24XX_CPUFREQ_DEBUG
|
|
|
|
bool "Debug CPUfreq Samsung driver core"
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ
|
|
|
|
help
|
|
|
|
Enable s3c_freq_dbg for the Samsung S3C CPUfreq core
|
|
|
|
|
|
|
|
config ARM_S3C24XX_CPUFREQ_IODEBUG
|
|
|
|
bool "Debug CPUfreq Samsung driver IO timing"
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ
|
|
|
|
help
|
|
|
|
Enable s3c_freq_iodbg for the Samsung S3C CPUfreq core
|
|
|
|
|
|
|
|
config ARM_S3C24XX_CPUFREQ_DEBUGFS
|
|
|
|
bool "Export debugfs for CPUFreq"
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ && DEBUG_FS
|
|
|
|
help
|
|
|
|
Export status information via debugfs.
|
|
|
|
|
|
|
|
config ARM_S3C2410_CPUFREQ
|
|
|
|
bool
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2410
|
|
|
|
help
|
|
|
|
CPU Frequency scaling support for S3C2410
|
|
|
|
|
|
|
|
config ARM_S3C2412_CPUFREQ
|
|
|
|
bool
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ && CPU_S3C2412
|
|
|
|
default y
|
|
|
|
select S3C2412_IOTIMING
|
|
|
|
help
|
|
|
|
CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs.
|
|
|
|
|
2012-02-16 03:42:32 -07:00
|
|
|
config ARM_S3C2416_CPUFREQ
|
|
|
|
bool "S3C2416 CPU Frequency scaling support"
|
|
|
|
depends on CPU_S3C2416
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for the Samsung S3C2416 and
|
|
|
|
S3C2450 SoC. The S3C2416 supports changing the rate of the
|
|
|
|
armdiv clock source and also entering a so called dynamic
|
|
|
|
voltage scaling mode in which it is possible to reduce the
|
2014-04-22 13:40:10 -06:00
|
|
|
core voltage of the CPU.
|
2012-02-16 03:42:32 -07:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config ARM_S3C2416_CPUFREQ_VCORESCALE
|
2012-10-02 12:16:53 -06:00
|
|
|
bool "Allow voltage scaling for S3C2416 arm core"
|
|
|
|
depends on ARM_S3C2416_CPUFREQ && REGULATOR
|
2012-02-16 03:42:32 -07:00
|
|
|
help
|
|
|
|
Enable CPU voltage scaling when entering the dvs mode.
|
|
|
|
It uses information gathered through existing hardware and
|
|
|
|
tests but not documented in any datasheet.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-04 06:54:15 -06:00
|
|
|
config ARM_S3C2440_CPUFREQ
|
|
|
|
bool "S3C2440/S3C2442 CPU Frequency scaling support"
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
|
|
|
|
|
2011-06-06 19:43:01 -06:00
|
|
|
config ARM_S3C64XX_CPUFREQ
|
|
|
|
bool "Samsung S3C64XX"
|
|
|
|
depends on CPU_S3C6410
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Samsung S3C6410 SoC.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2011-06-01 15:18:22 -06:00
|
|
|
config ARM_S5PV210_CPUFREQ
|
|
|
|
bool "Samsung S5PV210 and S5PC110"
|
|
|
|
depends on CPU_S5PV210
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Samsung S5PV210 and
|
|
|
|
S5PC110 SoCs.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-04 06:54:16 -06:00
|
|
|
config ARM_SA1100_CPUFREQ
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_SA1110_CPUFREQ
|
|
|
|
bool
|
|
|
|
|
2017-06-18 02:38:11 -06:00
|
|
|
config ARM_SCMI_CPUFREQ
|
|
|
|
tristate "SCMI based CPUfreq driver"
|
|
|
|
depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
|
|
|
|
select PM_OPP
|
|
|
|
help
|
|
|
|
This adds the CPUfreq driver support for ARM platforms using SCMI
|
|
|
|
protocol for CPU power management.
|
|
|
|
|
|
|
|
This driver uses SCMI Message Protocol driver to interact with the
|
|
|
|
firmware providing the CPU DVFS functionality.
|
|
|
|
|
2012-11-27 06:05:26 -07:00
|
|
|
config ARM_SPEAR_CPUFREQ
|
|
|
|
bool "SPEAr CPUFreq support"
|
|
|
|
depends on PLAT_SPEAR
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for SPEAr SOCs.
|
2013-06-12 00:35:48 -06:00
|
|
|
|
2015-12-10 02:42:16 -07:00
|
|
|
config ARM_STI_CPUFREQ
|
|
|
|
tristate "STi CPUFreq support"
|
2020-08-31 00:10:13 -06:00
|
|
|
depends on CPUFREQ_DT && SOC_STIH407
|
2015-12-10 02:42:16 -07:00
|
|
|
help
|
|
|
|
This driver uses the generic OPP framework to match the running
|
|
|
|
platform with a predefined set of suitable values. If not provided
|
|
|
|
we will fall-back so safe-values contained in Device Tree. Enable
|
|
|
|
this config option if you wish to add CPUFreq support for STi based
|
|
|
|
SoCs.
|
|
|
|
|
2017-07-18 10:48:39 -06:00
|
|
|
config ARM_TANGO_CPUFREQ
|
|
|
|
bool
|
|
|
|
depends on CPUFREQ_DT && ARCH_TANGO
|
|
|
|
default y
|
|
|
|
|
2015-05-13 08:58:47 -06:00
|
|
|
config ARM_TEGRA20_CPUFREQ
|
2020-03-19 13:02:26 -06:00
|
|
|
tristate "Tegra20/30 CPUFreq support"
|
|
|
|
depends on ARCH_TEGRA && CPUFREQ_DT
|
2013-06-12 00:35:48 -06:00
|
|
|
default y
|
|
|
|
help
|
2020-03-19 13:02:26 -06:00
|
|
|
This adds the CPUFreq driver support for Tegra20/30 SOCs.
|
2014-11-23 20:59:26 -07:00
|
|
|
|
2015-05-13 08:58:48 -06:00
|
|
|
config ARM_TEGRA124_CPUFREQ
|
2019-01-03 20:06:53 -07:00
|
|
|
bool "Tegra124 CPUFreq support"
|
|
|
|
depends on ARCH_TEGRA && CPUFREQ_DT
|
2015-05-13 08:58:48 -06:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for Tegra124 SOCs.
|
|
|
|
|
2017-04-11 02:09:15 -06:00
|
|
|
config ARM_TEGRA186_CPUFREQ
|
|
|
|
tristate "Tegra186 CPUFreq support"
|
|
|
|
depends on ARCH_TEGRA && TEGRA_BPMP
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for Tegra186 SOCs.
|
|
|
|
|
2020-07-16 02:30:01 -06:00
|
|
|
config ARM_TEGRA194_CPUFREQ
|
|
|
|
tristate "Tegra194 CPUFreq support"
|
|
|
|
depends on ARCH_TEGRA_194_SOC && TEGRA_BPMP
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds CPU frequency driver support for Tegra194 SOCs.
|
|
|
|
|
2017-02-03 10:29:28 -07:00
|
|
|
config ARM_TI_CPUFREQ
|
|
|
|
bool "Texas Instruments CPUFreq support"
|
|
|
|
depends on ARCH_OMAP2PLUS
|
2020-04-15 02:15:59 -06:00
|
|
|
default ARCH_OMAP2PLUS
|
2017-02-03 10:29:28 -07:00
|
|
|
help
|
|
|
|
This driver enables valid OPPs on the running platform based on
|
|
|
|
values contained within the SoC in use. Enable this in order to
|
|
|
|
use the cpufreq-dt driver on all Texas Instruments platforms that
|
|
|
|
provide dt based operating-points-v2 tables with opp-supported-hw
|
|
|
|
data provided. Required for cpufreq support on AM335x, AM437x,
|
|
|
|
DRA7x, and AM57x platforms.
|
|
|
|
|
2014-11-23 20:59:26 -07:00
|
|
|
config ARM_PXA2xx_CPUFREQ
|
|
|
|
tristate "Intel PXA2xx CPUfreq driver"
|
|
|
|
depends on PXA27x || PXA25x
|
|
|
|
help
|
|
|
|
This add the CPUFreq driver support for Intel PXA2xx SOCs.
|
|
|
|
|
|
|
|
If in doubt, say N.
|