diff mbox series

arm64: dts: qcom: pmk8350: Specify PBS register for PON

Message ID 20221115132626.7465-1-konrad.dybcio@linaro.org
State Accepted
Commit f46ef374e0dcb8fd2f272a376cf0dcdab7e52fc2
Headers show
Series arm64: dts: qcom: pmk8350: Specify PBS register for PON | expand

Commit Message

Konrad Dybcio Nov. 15, 2022, 1:26 p.m. UTC
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>
---
 arch/arm64/boot/dts/qcom/pmk8350.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Bjorn Andersson Dec. 6, 2022, 6:19 p.m. UTC | #1
On Tue, 15 Nov 2022 14:26:26 +0100, Konrad Dybcio wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: pmk8350: Specify PBS register for PON
      commit: f46ef374e0dcb8fd2f272a376cf0dcdab7e52fc2

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pmk8350.dtsi b/arch/arm64/boot/dts/qcom/pmk8350.dtsi
index 2730d97ab213..32f5e6af8c11 100644
--- a/arch/arm64/boot/dts/qcom/pmk8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmk8350.dtsi
@@ -22,7 +22,8 @@  pmk8350: pmic@PMK8350_SID {
 
 		pmk8350_pon: pon@1300 {
 			compatible = "qcom,pm8998-pon";
-			reg = <0x1300>;
+			reg = <0x1300>, <0x800>;
+			reg-names = "hlos", "pbs";
 
 			pon_pwrkey: pwrkey {
 				compatible = "qcom,pmk8350-pwrkey";