PM / devfreq: rk3399_dmc: rename driver and internals to rockchip
[firefly-linux-kernel-4.4.55.git] / drivers / devfreq / Kconfig
index eac49013836f691eeb56b4dd9f5a67f8218ac3d4..82e6f96e92f3de2cbc8b80c5c2deb358550cdb35 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
@@ -65,25 +66,49 @@ config DEVFREQ_GOV_USERSPACE
 
 comment "DEVFREQ Drivers"
 
-config ROCKCHIP_RK3368_DDR_FREQ
-       bool "ROCKCHIP RK3368 DDR FREQ Driver"
-       depends on ARCH_ROCKCHIP
-       help
-         This adds the rockchip ddr change freq driver for rk3368 it
-         used MCU to change ddr freq,and mast enadle rockchip mailbox
-         and scpi.
-
 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.
+
+config ARM_ROCKCHIP_DMC_DEVFREQ
+       tristate "ARM ROCKCHIP DMC DEVFREQ Driver"
+       depends on ARCH_ROCKCHIP
+       select DEVFREQ_EVENT_ROCKCHIP_DFI
+       select DEVFREQ_GOV_SIMPLE_ONDEMAND
+       select PM_OPP
+       help
+         This adds the DEVFREQ driver for the ROCKCHIP DMC(Dynamic Memory Controller).
+         It sets the frequency for the memory controller and reads the usage counts
+         from hardware.
+
+source "drivers/devfreq/event/Kconfig"
 
 endif # PM_DEVFREQ