arm64: dts: qcom: move pon reboot-modes from pm8150.dtsi to board files

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>
This commit is contained in:
Tingguo Cheng 2024-12-02 17:37:23 +08:00 committed by Bjorn Andersson
parent 27554e2bef
commit 87ca44ab7f
13 changed files with 60 additions and 2 deletions

View File

@ -49,8 +49,6 @@ pm8150_0: pmic@0 {
pon: pon@800 {
compatible = "qcom,pm8998-pon";
reg = <0x0800>;
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
pon_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";

View File

@ -239,6 +239,11 @@ vreg_l18a_1p2: ldo18 {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&qup_i2c1_data_clk {
drive-strength = <2>;
bias-pull-up;

View File

@ -964,6 +964,11 @@ led@3 {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -239,6 +239,11 @@ vreg_l18a_1p2: ldo18 {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&qup_i2c1_data_clk {
drive-strength = <2>;
bias-pull-up;

View File

@ -578,6 +578,11 @@ pm8150b_typec_sbu_out: endpoint {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -430,6 +430,11 @@ &i2c19 {
/* MAX34417 @ 0x1e */
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -358,6 +358,11 @@ &gpu {
status = "okay";
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -601,6 +601,11 @@ main_cam_pwr_vmdr_en: main-cam-pwr-vmdr-en-state {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -373,6 +373,11 @@ &gpu {
status = "okay";
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -627,6 +627,11 @@ channel@4f {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&qupv3_id_0 {
status = "okay";
};

View File

@ -591,6 +591,11 @@ focus_n: focus-n-state {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -757,6 +757,11 @@ &pm8150b_vbus {
status = "okay";
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};

View File

@ -554,6 +554,11 @@ vol_up_n: vol-up-n-state {
};
};
&pon {
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
};
&pon_pwrkey {
status = "okay";
};