Merge tag 'v4.4-rc8'
[firefly-linux-kernel-4.4.55.git] / drivers / devfreq / Kconfig
index 0f079be133051540c62d8c83d03579e132f7d6bd..64281bb2f6503c5a63d605ca7249ca86434d5aaf 100644 (file)
@@ -1,5 +1,6 @@
 menuconfig PM_DEVFREQ
        bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support"
+       select SRCU
        help
          A device may have a list of frequencies and voltages available.
          devfreq, a generic DVFS framework can be registered for a device
@@ -67,15 +68,36 @@ comment "DEVFREQ Drivers"
 
 config ARM_EXYNOS4_BUS_DEVFREQ
        bool "ARM Exynos4210/4212/4412 Memory Bus DEVFREQ Driver"
-       depends on CPU_EXYNOS4210 || CPU_EXYNOS4212 || CPU_EXYNOS4412
-       select ARCH_HAS_OPP
+       depends on (CPU_EXYNOS4210 || SOC_EXYNOS4212 || SOC_EXYNOS4412) && !ARCH_MULTIPLATFORM
        select DEVFREQ_GOV_SIMPLE_ONDEMAND
+       select PM_OPP
        help
          This adds the DEVFREQ driver for Exynos4210 memory bus (vdd_int)
          and Exynos4212/4412 memory interface and bus (vdd_mif + vdd_int).
          It reads PPMU counters of memory controllers and adjusts
          the operating frequencies and voltages with OPP support.
-         To operate with optimal voltages, ASV support is required
-         (CONFIG_EXYNOS_ASV).
+         This does not yet operate with optimal voltages.
+
+config ARM_EXYNOS5_BUS_DEVFREQ
+       tristate "ARM Exynos5250 Bus DEVFREQ Driver"
+       depends on SOC_EXYNOS5250
+       select DEVFREQ_GOV_SIMPLE_ONDEMAND
+       select PM_OPP
+       help
+         This adds the DEVFREQ driver for Exynos5250 bus interface (vdd_int).
+         It reads PPMU counters of memory controllers and adjusts the
+         operating frequencies and voltages with OPP support.
+
+config ARM_TEGRA_DEVFREQ
+       tristate "Tegra DEVFREQ Driver"
+       depends on ARCH_TEGRA_124_SOC
+       select DEVFREQ_GOV_SIMPLE_ONDEMAND
+       select PM_OPP
+       help
+         This adds the DEVFREQ driver for the Tegra family of SoCs.
+         It reads ACTMON counters of memory controllers and adjusts the
+         operating frequencies and voltages with OPP support.
+
+source "drivers/devfreq/event/Kconfig"
 
 endif # PM_DEVFREQ