arm64: dts: apq8096-db820c: Fix VDD core voltage
authorLoic Poulain <loic.poulain@linaro.org>
Tue, 7 Jan 2020 12:55:55 +0000 (13:55 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 7 Jan 2020 23:27:57 +0000 (15:27 -0800)
commit7a2a2231ef22cb158ea05e60ba6a6d329327a963
tree668bca7e5c251298324a37f38567759f3a1860dd
parenteac8ce86cb90ba96cb4bcbf2549d7a8b6938aa30
arm64: dts: apq8096-db820c: Fix VDD core voltage

APQ8096 has its VDD APC (Power for quad Kryo applications
microprocessors) powered by PM8996 PMIC S9, S10, S11 tri-phase
regulators (gang). The bootloader may have configured these
regulators with non sustainable default values, leading to sporadic
hangs under CPU stress tests (cpufreq-bench). Ideally we should enable
voltage scaling along with frequency scaling, but for now just set the
regulator gang value to a sane voltage, capable of supporting highest
frequencies (turbo).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/1578401755-26211-1-git-send-email-loic.poulain@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi
arch/arm64/boot/dts/qcom/msm8996.dtsi
arch/arm64/boot/dts/qcom/pm8994.dtsi