ARM: dts: qcom: Add qcom,ship-mode-immediate property for Sun platforms

Currently, charger FW configures and enables ship mode in parallel with
shutdown activity. This can cause a race condition leaving the device in
a bad state if the device is powering off while SW is still issuing SPMI
writes.

Add the battery charger "qcom,ship-mode-immediate" property on Sun
platforms so that ship mode will be configured immediately by charger FW
after user sets ship_mode_en.

Change-Id: I55a78c7b5c59b8b82519713fb4267d081c54a92f
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
Anjelique Melendez
2024-02-28 15:50:37 -08:00
parent 869e35b819
commit ff3eff593b
3 changed files with 3 additions and 0 deletions

View File

@@ -68,6 +68,7 @@
qcom,thermal-mitigation-step = <500000>; qcom,thermal-mitigation-step = <500000>;
#cooling-cells = <2>; #cooling-cells = <2>;
qcom,wireless-fw-name = "idt9418.bin"; qcom,wireless-fw-name = "idt9418.bin";
qcom,ship-mode-immediate;
}; };
&pmic_glink_debug { &pmic_glink_debug {

View File

@@ -45,6 +45,7 @@
qcom,thermal-mitigation-step = <500000>; qcom,thermal-mitigation-step = <500000>;
#cooling-cells = <2>; #cooling-cells = <2>;
qcom,wireless-fw-name = "idt9418.bin"; qcom,wireless-fw-name = "idt9418.bin";
qcom,ship-mode-immediate;
}; };
&pmic_glink_debug { &pmic_glink_debug {

View File

@@ -43,6 +43,7 @@
qcom,thermal-mitigation-step = <500000>; qcom,thermal-mitigation-step = <500000>;
#cooling-cells = <2>; #cooling-cells = <2>;
qcom,wireless-fw-name = "idt9418.bin"; qcom,wireless-fw-name = "idt9418.bin";
qcom,ship-mode-immediate;
}; };
&pmic_glink_debug { &pmic_glink_debug {