aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/cpufreq/Kconfig.arm
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2015-11-17 12:06:23 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-10 00:14:58 +0100
commit2f7e8a175db72bdaf377235962fd85796edb3fbc (patch)
tree4f25585f65cece59ca04bbe72981db5c1a6d1089 /drivers/cpufreq/Kconfig.arm
parentcpufreq-dt: Supply power coefficient when registering cooling devices (diff)
downloadwireguard-linux-2f7e8a175db72bdaf377235962fd85796edb3fbc.tar.xz
wireguard-linux-2f7e8a175db72bdaf377235962fd85796edb3fbc.zip
cpufreq: arm_big_little: Add support to register a cpufreq cooling device
Register passive cooling devices when initialising cpufreq on big.LITTLE systems. If the device tree provides a dynamic power coefficient for the CPUs then the bound cooling device will support the extensions that allow it to be used with all the existing thermal governors including the power allocator governor. A cooling device will be created per individual frequency domain and can be bound to thermal zones via the thermal DT bindings. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig.arm')
-rw-r--r--drivers/cpufreq/Kconfig.arm2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 235a1ba73d92..80fbfb32b5a9 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -6,6 +6,8 @@
config ARM_BIG_LITTLE_CPUFREQ
tristate "Generic ARM big LITTLE CPUfreq driver"
depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK
+ # if CPU_THERMAL is on and THERMAL=m, ARM_BIT_LITTLE_CPUFREQ cannot be =y
+ depends on !CPU_THERMAL || THERMAL
select PM_OPP
help
This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.