Merge back earlier cpufreq material for v4.5.
[linux-drm-fsl-dcu.git] / drivers / cpufreq / Kconfig.arm
index 235a1ba73d92d577bbf605f5dab9d737fe246797..0031069b64c95aa93f2d1d0696ee8a9c63cc59ef 100644 (file)
@@ -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.
@@ -217,6 +219,16 @@ config ARM_SPEAR_CPUFREQ
        help
          This adds the CPUFreq driver support for SPEAr SOCs.
 
+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.
+
 config ARM_TEGRA20_CPUFREQ
        bool "Tegra20 CPUFreq support"
        depends on ARCH_TEGRA
@@ -226,7 +238,7 @@ config ARM_TEGRA20_CPUFREQ
 
 config ARM_TEGRA124_CPUFREQ
        tristate "Tegra124 CPUFreq support"
-       depends on ARCH_TEGRA && CPUFREQ_DT
+       depends on ARCH_TEGRA && CPUFREQ_DT && REGULATOR
        default y
        help
          This adds the CPUFreq driver support for Tegra124 SOCs.