From ad4241c733ec9ab78dd4db9c1a7a89d27141aac8 Mon Sep 17 00:00:00 2001 From: Swetha Chikkaboraiah Date: Tue, 4 Oct 2022 13:19:03 +0530 Subject: [PATCH] ARM: dts: msm: Update power-on node for pm6125 Update the power-on node with qpnp-power-on driver node, to be in compatible with kernel msm poweroff driver. Change-Id: Ic5a1756541a23d42e85ffc0253bbac2a9b861016 --- qcom/pm6125.dtsi | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/qcom/pm6125.dtsi b/qcom/pm6125.dtsi index ed49b316..bfcf95e2 100644 --- a/qcom/pm6125.dtsi +++ b/qcom/pm6125.dtsi @@ -12,23 +12,25 @@ #size-cells = <0>; qcom,power-on@800 { - compatible = "qcom,pm8998-pon"; + compatible = "qcom,qpnp-power-on"; reg = <0x800>; - mode-bootloader = <0x2>; - mode-recovery = <0x1>; - pwrkey { - compatible = "qcom,pm8941-pwrkey"; - interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>; - debounce = <15625>; - bias-pull-up; + interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>, + <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>; + interrupt-names = "kpdpwr", "resin"; + qcom,pon-dbc-delay = <15625>; + qcom,kpdpwr-sw-debounce; + qcom,system-reset; + qcom,store-hard-reset-reason; + + qcom,pon_1 { + qcom,pon-type = ; + qcom,pull-up = <1>; linux,code = ; }; - resin { - compatible = "qcom,pm8941-resin"; - interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>; - debounce = <15625>; - bias-pull-up; + qcom,pon_2 { + qcom,pon-type = ; + qcom,pull-up = <1>; linux,code = ; }; };