2011-06-02 05:18:22 +08:00
|
|
|
#
|
|
|
|
# ARM CPU Frequency scaling drivers
|
|
|
|
#
|
|
|
|
|
2014-03-14 14:40:54 +08:00
|
|
|
# big LITTLE core layer and glue drivers
|
2013-04-01 20:57:49 +08:00
|
|
|
config ARM_BIG_LITTLE_CPUFREQ
|
2013-05-04 14:33:54 +08:00
|
|
|
tristate "Generic ARM big LITTLE CPUfreq driver"
|
2015-05-13 20:35:52 +08:00
|
|
|
depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK
|
2015-11-17 20:06:23 +08:00
|
|
|
# if CPU_THERMAL is on and THERMAL=m, ARM_BIT_LITTLE_CPUFREQ cannot be =y
|
|
|
|
depends on !CPU_THERMAL || THERMAL
|
2013-12-12 06:12:27 +08:00
|
|
|
select PM_OPP
|
2013-05-04 14:33:54 +08:00
|
|
|
help
|
|
|
|
This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.
|
2013-04-01 20:57:49 +08:00
|
|
|
|
2016-10-28 05:05:35 +08: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.
|
|
|
|
|
2016-10-28 05:05:36 +08:00
|
|
|
config ARM_BRCMSTB_AVS_CPUFREQ_DEBUG
|
|
|
|
bool "Broadcom STB AVS CPUfreq driver sysfs debug capability"
|
|
|
|
depends on ARM_BRCMSTB_AVS_CPUFREQ
|
|
|
|
help
|
|
|
|
Enabling this option turns on debug support via sysfs under
|
|
|
|
/sys/kernel/debug/brcmstb-avs-cpufreq. It is possible to read all and
|
|
|
|
write some AVS mailbox registers through sysfs entries.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-01 20:57:49 +08:00
|
|
|
config ARM_DT_BL_CPUFREQ
|
2013-05-04 14:33:54 +08:00
|
|
|
tristate "Generic probing via DT for ARM big LITTLE CPUfreq driver"
|
|
|
|
depends on ARM_BIG_LITTLE_CPUFREQ && OF
|
2013-04-01 20:57:49 +08:00
|
|
|
help
|
2013-05-04 14:33:54 +08:00
|
|
|
This enables probing via DT for Generic CPUfreq driver for ARM
|
|
|
|
big.LITTLE platform. This gets frequency tables from DT.
|
2013-04-01 20:57:49 +08:00
|
|
|
|
2014-03-14 14:40:54 +08:00
|
|
|
config ARM_VEXPRESS_SPC_CPUFREQ
|
|
|
|
tristate "Versatile Express SPC based CPUfreq driver"
|
|
|
|
depends on ARM_BIG_LITTLE_CPUFREQ && ARCH_VEXPRESS_SPC
|
|
|
|
help
|
|
|
|
This add the CPUfreq driver support for Versatile Express
|
|
|
|
big.LITTLE platforms using SPC for power management.
|
|
|
|
|
cpufreq: exynos: allow modular build
The exynos cpufreq driver code recently gained a dependency on the
cooling code, which may be a loadable module. This breaks an ARM
allmodconfig build:
drivers/built-in.o: In function `exynos_cpufreq_probe':
:(.text+0x1748e8): undefined reference to `of_cpufreq_cooling_register'
To avoid this problem, change cpufreq Kconfig to allow the drivers
to be loadable modules as well and enforce a dependency on the
thermal module.
This change, in order to allow module builds on this cpufreq
driver, properly constructs the driver into a single module,
instead of several modules. The change also keeps the proper
platform dependency, and therefore, it wont load in platforms
that are not supposed to be loaded. The user will be able to
build the support for all platforms, or select which platforms
(s)he wants (as originally), except that now it can be a module,
instead.
Besides, it will still keep the driver only on those configs
that expect it to be on. And it won't compile/load on platforms
that it is not supposed to. It brings the config ARM_EXYNOS_CPU_FREQ_BOOST_SW
closer to this driver, so it looks better in the menuconfig.
We intentionally change ARM_EXYNOS5440_CPUFREQ to be tristate too, to
avoid future troubles.
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-pm@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org
Fixes: e725d26c4857 ("cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2015-02-01 02:35:18 +08:00
|
|
|
config ARM_EXYNOS5440_CPUFREQ
|
|
|
|
tristate "SAMSUNG EXYNOS5440"
|
|
|
|
depends on SOC_EXYNOS5440
|
|
|
|
depends on HAVE_CLK && OF
|
|
|
|
select PM_OPP
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Samsung EXYNOS5440
|
|
|
|
SoC. The nature of exynos5440 clock controller is
|
|
|
|
different than previous exynos controllers so not using
|
|
|
|
the common exynos framework.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2013-04-04 20:54:09 +08:00
|
|
|
config ARM_HIGHBANK_CPUFREQ
|
|
|
|
tristate "Calxeda Highbank-based"
|
2014-09-09 22:28:03 +08:00
|
|
|
depends on ARCH_HIGHBANK && CPUFREQ_DT && REGULATOR
|
2013-04-04 20:54:09 +08:00
|
|
|
default m
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Calxeda Highbank SoC
|
|
|
|
based boards.
|
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
2017-05-11 20:12:29 +08:00
|
|
|
config ARM_DB8500_CPUFREQ
|
|
|
|
tristate "ST-Ericsson DB8500 cpufreq" if COMPILE_TEST && !ARCH_U8500
|
|
|
|
default ARCH_U8500
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on !CPU_THERMAL || THERMAL
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for ST-Ericsson Ux500 (DB8500) SoC
|
|
|
|
series.
|
|
|
|
|
2013-04-04 20:54:09 +08:00
|
|
|
config ARM_IMX6Q_CPUFREQ
|
2013-12-20 10:12:16 +08:00
|
|
|
tristate "Freescale i.MX6 cpufreq support"
|
|
|
|
depends on ARCH_MXC
|
2013-04-04 20:54:09 +08:00
|
|
|
depends on REGULATOR_ANATOP
|
2014-07-14 05:59:00 +08:00
|
|
|
select PM_OPP
|
2013-04-04 20:54:09 +08:00
|
|
|
help
|
2013-12-20 10:12:16 +08:00
|
|
|
This adds cpufreq driver support for Freescale i.MX6 series SoCs.
|
2013-04-04 20:54:09 +08:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config ARM_KIRKWOOD_CPUFREQ
|
2014-08-31 00:46:12 +08:00
|
|
|
def_bool MACH_KIRKWOOD
|
2013-04-04 20:54:09 +08:00
|
|
|
help
|
|
|
|
This adds the CPUFreq driver for Marvell Kirkwood
|
|
|
|
SoCs.
|
|
|
|
|
2015-08-19 10:05:06 +08:00
|
|
|
config ARM_MT8173_CPUFREQ
|
2016-03-01 00:04:21 +08:00
|
|
|
tristate "Mediatek MT8173 CPUFreq support"
|
2015-08-19 10:05:06 +08:00
|
|
|
depends on ARCH_MEDIATEK && REGULATOR
|
2015-11-17 05:27:55 +08:00
|
|
|
depends on ARM64 || (ARM_CPU_TOPOLOGY && COMPILE_TEST)
|
2016-03-01 00:04:21 +08:00
|
|
|
depends on !CPU_THERMAL || THERMAL
|
2015-08-19 10:05:06 +08:00
|
|
|
select PM_OPP
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for Mediatek MT8173 SoC.
|
|
|
|
|
2012-02-16 03:01:11 +08:00
|
|
|
config ARM_OMAP2PLUS_CPUFREQ
|
|
|
|
bool "TI OMAP2+"
|
2012-04-14 04:32:30 +08:00
|
|
|
depends on ARCH_OMAP2PLUS
|
2012-02-16 03:01:11 +08:00
|
|
|
default ARCH_OMAP2PLUS
|
|
|
|
|
2013-04-04 20:54:15 +08: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
|
|
|
|
select S3C2410_CPUFREQ_UTILS
|
|
|
|
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 18:42:32 +08: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-23 03:40:10 +08:00
|
|
|
core voltage of the CPU.
|
2012-02-16 18:42:32 +08:00
|
|
|
|
|
|
|
If in doubt, say N.
|
|
|
|
|
|
|
|
config ARM_S3C2416_CPUFREQ_VCORESCALE
|
2012-10-03 02:16:53 +08:00
|
|
|
bool "Allow voltage scaling for S3C2416 arm core"
|
|
|
|
depends on ARM_S3C2416_CPUFREQ && REGULATOR
|
2012-02-16 18:42:32 +08: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 20:54:15 +08:00
|
|
|
config ARM_S3C2440_CPUFREQ
|
|
|
|
bool "S3C2440/S3C2442 CPU Frequency scaling support"
|
|
|
|
depends on ARM_S3C24XX_CPUFREQ && (CPU_S3C2440 || CPU_S3C2442)
|
|
|
|
select S3C2410_CPUFREQ_UTILS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
|
|
|
|
|
2011-06-07 09:43:01 +08: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-02 05:18:22 +08: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 20:54:16 +08:00
|
|
|
config ARM_SA1100_CPUFREQ
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARM_SA1110_CPUFREQ
|
|
|
|
bool
|
|
|
|
|
2015-03-30 17:59:52 +08:00
|
|
|
config ARM_SCPI_CPUFREQ
|
|
|
|
tristate "SCPI based CPUfreq driver"
|
2015-11-18 21:52:44 +08:00
|
|
|
depends on ARM_BIG_LITTLE_CPUFREQ && ARM_SCPI_PROTOCOL && COMMON_CLK_SCPI
|
2015-03-30 17:59:52 +08:00
|
|
|
help
|
|
|
|
This adds the CPUfreq driver support for ARM big.LITTLE platforms
|
|
|
|
using SCPI protocol for CPU power management.
|
|
|
|
|
|
|
|
This driver uses SCPI Message Protocol driver to interact with the
|
|
|
|
firmware providing the CPU DVFS functionality.
|
|
|
|
|
2012-11-27 21:05:26 +08: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 14:35:48 +08:00
|
|
|
|
2015-12-10 17:42:16 +08:00
|
|
|
config ARM_STI_CPUFREQ
|
|
|
|
tristate "STi CPUFreq support"
|
|
|
|
depends on SOC_STIH407
|
|
|
|
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.
|
|
|
|
|
2015-05-13 22:58:47 +08:00
|
|
|
config ARM_TEGRA20_CPUFREQ
|
|
|
|
bool "Tegra20 CPUFreq support"
|
2013-06-12 14:35:48 +08:00
|
|
|
depends on ARCH_TEGRA
|
|
|
|
default y
|
|
|
|
help
|
2015-05-13 22:58:47 +08:00
|
|
|
This adds the CPUFreq driver support for Tegra20 SOCs.
|
2014-11-24 11:59:26 +08:00
|
|
|
|
2015-05-13 22:58:48 +08:00
|
|
|
config ARM_TEGRA124_CPUFREQ
|
|
|
|
tristate "Tegra124 CPUFreq support"
|
2015-12-09 05:52:45 +08:00
|
|
|
depends on ARCH_TEGRA && CPUFREQ_DT && REGULATOR
|
2015-05-13 22:58:48 +08:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This adds the CPUFreq driver support for Tegra124 SOCs.
|
|
|
|
|
2017-04-11 16:09:15 +08: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.
|
|
|
|
|
2017-02-04 01:29:28 +08:00
|
|
|
config ARM_TI_CPUFREQ
|
|
|
|
bool "Texas Instruments CPUFreq support"
|
|
|
|
depends on ARCH_OMAP2PLUS
|
|
|
|
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-24 11:59:26 +08: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.
|
2015-10-02 22:04:01 +08:00
|
|
|
|
|
|
|
config ACPI_CPPC_CPUFREQ
|
|
|
|
tristate "CPUFreq driver based on the ACPI CPPC spec"
|
2017-02-15 05:19:18 +08:00
|
|
|
depends on ACPI_PROCESSOR
|
2015-10-02 22:04:01 +08:00
|
|
|
select ACPI_CPPC_LIB
|
|
|
|
default n
|
|
|
|
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.
|