arm64: dts: qcom: move pon reboot-modes from pm8150.dtsi to board files
authorTingguo Cheng <quic_tingguoc@quicinc.com>
Mon, 2 Dec 2024 09:37:23 +0000 (17:37 +0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Dec 2024 21:14:47 +0000 (15:14 -0600)
Reboot modes were originally managed by PMIC pon driver on mobile/IoT
platforms, such as sm8150,sm8250,qdu1000... But recently, QCS615 is
going to adopt PSCI to manage linux reboot modes, which involves firm
wares to co-work with. In this case, reboot-modes should be removed
from pon dts node to avoid conflicting. This implies that reboot modes
go with devices rather than PMICs as well.

Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241202-adds-spmi-pmic-peripherals-for-qcs615-v6-2-bdd306b4940d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
13 files changed:
arch/arm64/boot/dts/qcom/pm8150.dtsi
arch/arm64/boot/dts/qcom/qdu1000-idp.dts
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
arch/arm64/boot/dts/qcom/qru1000-idp.dts
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dts
arch/arm64/boot/dts/qcom/sm8150-mtp.dts
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi
arch/arm64/boot/dts/qcom/sm8250-hdk.dts
arch/arm64/boot/dts/qcom/sm8250-mtp.dts
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
arch/arm64/boot/dts/qcom/sm8250-xiaomi-pipa.dts

index a74a7ff660d2b1be0df0dc26d79e1921a3935f14..d2568686a098cb4d78573000b34840d8f5f674aa 100644 (file)
@@ -49,8 +49,6 @@
                pon: pon@800 {
                        compatible = "qcom,pm8998-pon";
                        reg = <0x0800>;
-                       mode-bootloader = <0x2>;
-                       mode-recovery = <0x1>;
 
                        pon_pwrkey: pwrkey {
                                compatible = "qcom,pm8941-pwrkey";
index e65305f8136c886c076bd9603b48aadedf59730a..82f6b4a3e24aa2caba90715e12bca25b693a0d65 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qup_i2c1_data_clk {
        drive-strength = <2>;
        bias-pull-up;
index 52eef88e882c356a62bf563fcd7ce3d54b5ea824..7afa5acac3fcf7cb6f8c5274acdc2e55192c1280 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 1c781d9e24cf4d4f45380860c6d89c21e8df9925..fe0b782aa3ff5f4b73e921880fc3cd9908398705 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qup_i2c1_data_clk {
        drive-strength = <2>;
        bias-pull-up;
index bac08f00b303ff6e6d47697f1cd9bff53efaf27b..6ea883b1edfa6c511730550f4db0cb9c25fc633d 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index b039773c44653ae8cd5c2b9fdeccbd304ad2c9e5..fc11ef0373c6920e970886ce2eb2c4f20c75154a 100644 (file)
        /* MAX34417 @ 0x1e */
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 256a1ba9494560b93dc324751ee8327f763aad90..2e1c7afe0aa7d4ad560dd8e5aab2ce835991cc9d 100644 (file)
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index ae0ca48b89a59f669e0f359e48632b335050a2eb..70fd6455518b9101ba25dda6e1fb5f87c1053a71 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 1bbb71e1a4fc0f1289663165e0a8f7ef88d9b429..f5c193c6c5f9b4bf007a17926bcce319f2608706 100644 (file)
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 21b2ca1def8363cbaf7857215f42ff8492a8f7fa..7f592bd3024868c6ab4c9c61051d3f2cf5707a1a 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
index f6870d3f2886fc68aaf914caecdd3a22ba249c5a..d8289b2698f37bce0501ac20c356bd5ae017e1ab 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 100607da42adc6b2aa24433ccf834c42bc2e66d7..813b009b7bd6818b92b243f0982d2c7ef903d421 100644 (file)
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
index 86e1f7fd1c2058202c9506d7e737fadabf476d5d..668078ea4f04a7ead052d28bf111be6daf25805f 100644 (file)
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };