]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: qcom: pmk8350: Specify PBS register for PON
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 15 Nov 2022 13:26:26 +0000 (14:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:46 +0000 (09:32 +0100)
[ Upstream commit 1feb697ebd7d05f830af17cf4fd0a96bdbd965ba ]

PMK8350 is the first PMIC to require both HLOS and PBS registers for
PON to function properly (at least in theory, sm8350 sees no change).
The support for it on the driver side has been added long ago,
but it has never been wired up. Do so.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221115132626.7465-1-konrad.dybcio@linaro.org
Stable-dep-of: 0b6d7bf042c3 ("arm64: dts: qcom: pmk8350: Use the correct PON compatible")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/pmk8350.dtsi

index a7ec9d11946df654b954ef0a6aeb73b9e2336616..ec002eecb19d9ad09ae05ba96e550c142c73652e 100644 (file)
@@ -17,7 +17,8 @@
 
                pmk8350_pon: pon@1300 {
                        compatible = "qcom,pm8998-pon";
-                       reg = <0x1300>;
+                       reg = <0x1300>, <0x800>;
+                       reg-names = "hlos", "pbs";
 
                        pon_pwrkey: pwrkey {
                                compatible = "qcom,pmk8350-pwrkey";