summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsashwinbalaji <sashwinbalaji@google.com>2023-01-12 13:16:10 +0800
committersashwinbalaji <sashwinbalaji@google.com>2023-01-12 13:35:41 +0800
commitaa7f6423b08574138e51f5c6bdd713ea85f42f0a (patch)
tree1f0cfcf3dcbe5522f54c354b1310fdd3e21af821
parent877d745d7be9cf68628548b22bc92a68e6b1844d (diff)
downloadtangorpro-aa7f6423b08574138e51f5c6bdd713ea85f42f0a.tar.gz
thermal: Add shutdown thermistors
Add disp_therm, quiet_therm as backup shutdown thermistors Bug: 254021613 Test: Use emul_temp to trigger shutdown Change-Id: I2a2a102245227e3172675f0efec296e1e01df7d5
-rw-r--r--dts/gs201-tangorpro-thermal.dtsi24
1 files changed, 22 insertions, 2 deletions
diff --git a/dts/gs201-tangorpro-thermal.dtsi b/dts/gs201-tangorpro-thermal.dtsi
index 7ba2c6f..dd1e38d 100644
--- a/dts/gs201-tangorpro-thermal.dtsi
+++ b/dts/gs201-tangorpro-thermal.dtsi
@@ -40,10 +40,20 @@
thermal-sensors = <&gs201_tm1 1>;
trips {
trip_config1: trip-config1 {
- temperature = <125000>;
+ temperature = <62000>;
hysteresis = <1000>;
type = "passive";
};
+ backup_shutdown_sw1: backup-shutdown-sw1 {
+ temperature = <64000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ backup_shutdown_hw1: backup-shutdown-hw1 {
+ temperature = <66000>;
+ hysteresis = <1000>;
+ type = "hot";
+ };
};
};
charger_skin_therm {
@@ -92,10 +102,20 @@
thermal-sensors = <&gs201_tm1 5>;
trips {
trip_config5: trip-config5 {
- temperature = <125000>;
+ temperature = <55000>;
hysteresis = <1000>;
type = "passive";
};
+ backup_shutdown_sw2: backup-shutdown-sw2 {
+ temperature = <57000>;
+ hysteresis = <1000>;
+ type = "critical";
+ };
+ backup_shutdown_hw2: backup-shutdown-hw2 {
+ temperature = <59000>;
+ hysteresis = <1000>;
+ type = "hot";
+ };
};
};
therm_6 {