PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs
[firefly-linux-kernel-4.4.55.git] / drivers / power / avs / Kconfig
index a67eeace6a89b897fdd442770d32cb0410de34b3..694e524cf3e5170e5c170e3832acad9a553ecc82 100644 (file)
@@ -18,3 +18,12 @@ config ROCKCHIP_IODOMAIN
           Say y here to enable support io domains on Rockchip SoCs. It is
           necessary for the io domain setting of the SoC to match the
           voltage supplied by the regulators.
+
+config ROCKCHIP_CPU_AVS
+       bool "Rockchip CPU AVS support"
+       depends on POWER_AVS && ARCH_ROCKCHIP && OF && CPU_FREQ
+       depends on (ARM_CPU_TOPOLOGY || ARM64) && ROCKCHIP_EFUSE
+       help
+         Say y here to enable support CPU AVS on Rockchip SoCs.
+         The cpu's operating voltage is adapted depending on leakage
+         or pvtm.