msm: msm_dcvs: Add msm_dcvs manager
The msm_dcvs manager works with the DCVS algorithm in TrustZone by
taking regular idle pulse inputs and feeding back the frequency to
the CPU and GPU cores.
Core frequency is effected on the CPU by using a governor for the
CPUFreq framework and on the GPU using the KGSL driver.
Change-Id: Icef8433f96376698fa0c5c3e4e765d5043734080
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index ff35e4c..ed2b9ad 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -2165,4 +2165,13 @@
For production builds, it may be acceptable to say 'N' here, since
an uncorrectable error might not necessarily cause further problems.
+config MSM_DCVS
+ bool "Use MSM DCVS for CPU/GPU Frequency control"
+ depends on MSM_SCM
+ help
+ Enable support for MSM DCVS to control all CPU and GPU core frequencies.
+ The DCVS manager allows idle driver to feed the idle information to the
+ algorithm and the algorithm returns a frequency for the core which is
+ passed to the frequency change driver.
+
endif