BACKPORT: UPSTREAM: cpufreq: Add Kryo CPU scaling driver
In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, the CPU frequency subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables defines the voltage and frequency value based on the msm-id in SMEM and speedbin blown in the efuse combination. The qcom-cpufreq-kryo driver reads the msm-id and efuse value from the SoC to provide the OPP framework with required information. This is used to determine the voltage and frequency value for each OPP of operating-points-v2 table when it is parsed by the OPP framework. Signed-off-by:Ilia Lin <ilialin@codeaurora.org> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by:
Amit Kucheria <amit.kucheria@linaro.org> Tested-by:
Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 46e2856b https://github.com/torvalds/linux.git ) Signed-off-by:
Niklas Cassel <niklas.cassel@linaro.org> BUG=b:129558664 TEST=Validate DVFS and schedutil governor Git-repo: https://git.linaro.org/people/niklas.cassel/kernel.git Git-commit: 4d7466a9cabccbbf5533bc3e75d6054d3c23e766 Signed-off-by:
Praveen Koya <pkoya@codeaurora.org> Change-Id: Iadfa0a896de048b22af90460758e4ae64f398b53 Signed-off-by:
Vamsi Singamsetty <vamssi@codeaurora.org> Signed-off-by:
Khasim Syed Mohammed <khasim.mohammed@linaro.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1664361 Reviewed-by:
Zhihong Yu <zhihongyu@chromium.org> Commit-Queue: Zhihong Yu <zhihongyu@chromium.org> Tested-by:
Zhihong Yu <zhihongyu@chromium.org>
Loading
Please sign in to comment