OSDN Git Service

cpufreq: Add Kryo CPU scaling driver
authorIlia Lin <ilialin@codeaurora.org>
Wed, 30 May 2018 02:39:28 +0000 (05:39 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 May 2018 10:53:11 +0000 (12:53 +0200)
commit46e2856b8e188949757c9123fd7f9ce36edd1a52
treeabb383dfe51d59eb2347acf607b3eb491721c3d1
parentcc85de361d99490df182e63d13f409054a579a13
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>
MAINTAINERS
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile
drivers/cpufreq/cpufreq-dt-platdev.c
drivers/cpufreq/qcom-cpufreq-kryo.c [new file with mode: 0644]