cpufreq: Enable big.LITTLE cpufreq driver on arm64
authorMark Brown <broonie@linaro.org>
Fri, 9 May 2014 16:40:31 +0000 (17:40 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 27 May 2014 16:14:38 +0000 (17:14 +0100)
There are arm64 big.LITTLE systems so enable the big.LITTLE cpufreq driver.
While IKS is not available for these systems the driver is still useful
since it manages clusters with shared frequencies which is the common case
for these systems.

Long term combining the cpufreq-cpu0 and big.LITTLE drivers may be a
more sensible option but that is substantially more complex especially
in the case of IKS.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 4920ab84979d8cd2eb7e3c4fefcc924efabf1cb2)
Signed-off-by: Mark Brown <broonie@linaro.org>
Conflicts:
drivers/cpufreq/Kconfig.arm

drivers/cpufreq/Kconfig.arm

index 6e57543fe0b981e55cfdd9623c5eb1ed910ffd8c..2378a52e1504932dc8fd31211a706c8aa01fa696 100644 (file)
@@ -4,7 +4,8 @@
 
 config ARM_BIG_LITTLE_CPUFREQ
        tristate "Generic ARM big LITTLE CPUfreq driver"
-       depends on ARM_CPU_TOPOLOGY && PM_OPP && HAVE_CLK
+       depends on ARM_CPU_TOPOLOGY || (ARM64 && SMP)
+       depends on PM_OPP && HAVE_CLK
        help
          This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.