]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: qcs404-evb: Set vdd_apc regulator in high power mode
authorNiklas Cassel <niklas.cassel@linaro.org>
Mon, 14 Oct 2019 12:09:20 +0000 (14:09 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 7 Jan 2020 23:17:04 +0000 (15:17 -0800)
vdd_apc is the regulator that supplies the main CPU cluster.

At sudden CPU load changes, we have noticed invalid page faults on
addresses with all bits shifted, as well as on addresses with individual
bits flipped.

By putting the vdd_apc regulator in high power mode, the voltage drops
during sudden load changes will be less severe, and we have not been able
to reproduce the invalid page faults with the regulator in this mode.

Fixes: 8faea8edbb35 ("arm64: dts: qcom: qcs404-evb: add spmi regulators")
Cc: stable@vger.kernel.org
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20191014120920.12691-1-niklas.cassel@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi

index 501a7330dbc882f3ef11ac0af512d631b0a5fd58..522d3ef72df5e50c017a41ddf22e4ee3e10975f7 100644 (file)
@@ -73,6 +73,7 @@ pms405_s3: s3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vdd_apc";
+               regulator-initial-mode = <1>;
                regulator-min-microvolt = <1048000>;
                regulator-max-microvolt = <1384000>;
        };