]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: dts: qcom: qcs404-evb: fix l3 min voltage
authorNiklas Cassel <niklas.cassel@linaro.org>
Thu, 25 Apr 2019 12:34:01 +0000 (14:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Aug 2019 17:08:02 +0000 (19:08 +0200)
[ Upstream commit 887b528c958f40b064d53edd0bfa9fea3a69eccd ]

The current l3 min voltage level is not supported by
the regulator (the voltage is not a multiple of the regulator step size),
so a driver requesting this exact voltage would fail, see discussion in:
https://patchwork.kernel.org/comment/22461199/

It was agreed upon to set a min voltage level that is a multiple of the
regulator step size.

There was actually a patch sent that did this:
https://patchwork.kernel.org/patch/10819313/

However, the commit 331ab98f8c4a ("arm64: dts: qcom: qcs404:
Fix voltages l3") that was applied is not identical to that patch.

Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi

index 2c3127167e3c247d51ce3f52f96b314672ede8d3..d987d6741e40b3b17b7bdf560a3e80abe526fc87 100644 (file)
                };
 
                vreg_l3_1p05: l3 {
-                       regulator-min-microvolt = <1050000>;
+                       regulator-min-microvolt = <1048000>;
                        regulator-max-microvolt = <1160000>;
                };