diff options
author | Farid Zare Seisan <faridzs@google.com> | 2018-01-10 16:20:12 -0800 |
---|---|---|
committer | Farid Zare Seisan <faridzs@google.com> | 2018-01-10 16:20:12 -0800 |
commit | f166d7aced263946f7f961fb97abfcd58493d03f (patch) | |
tree | 79f39fad19273ad2af69ac6e120be51737b15901 | |
parent | 7ff409cd99c2ec91bcd16168b9a6d9b762386da0 (diff) |
dts: forcing all warm reboot to hard reboot
Charger and batter temps are hight when doing
a warm reboot. If there is a crash then device
warm reboots, which results in higher temps
for charger and battery. The high temp will
prevent the device from being charge.
Bug: 71816520
Test: echo c > /proc/sysrq-trigger will cause the
device to crash. Before this change temps are high
and afte this change temps are correct and device
charges.
Change-Id: I0255300adbe341bb88f533b68cdcc3bcb7ee8b00
-rw-r--r-- | arch/arm/boot/dts/qcom/apq8098-polaris-ver2.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/apq8098-polaris-ver2.dts b/arch/arm/boot/dts/qcom/apq8098-polaris-ver2.dts index d9c4f732225e..4340c9076bbb 100644 --- a/arch/arm/boot/dts/qcom/apq8098-polaris-ver2.dts +++ b/arch/arm/boot/dts/qcom/apq8098-polaris-ver2.dts @@ -41,6 +41,16 @@ qcom,ibat-monitor { qcom,mitigation-freq-khz = <1132800>; qcom,soc-low-threshold = <2>; + }; }; }; + +&spmi_bus { + qcom,pm8998@0 { + qcom,power-on@800 { + qcom,warm-reset-poweroff-type = <PON_POWER_OFF_HARD_RESET>; + }; + }; +}; + |