thermal: Update thermal table
- Add TempPath field to support force update for on-board ntc
thermistors.
- Update hysteresis for trigger sensors to prevent genlink storm
Bug: 191971470
Test: check if thermhal polling can start in time by burn8
Change-Id: I855ccee34602268315d7cd16896cba19b954d115
diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json
index 3e9022e..f5a2fd6 100644
--- a/thermal_info_config_oriole.json
+++ b/thermal_info_config_oriole.json
@@ -57,6 +57,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -72,6 +73,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -87,6 +89,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/qi_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -102,6 +105,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -117,6 +121,16 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.9,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
+ "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001,
"PollingDelay":60000,
@@ -134,6 +148,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -149,6 +164,16 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.9,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
+ "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001,
"PollingDelay":60000,
@@ -723,6 +748,15 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 100,
+ 0.0,
+ 0.0
+ ],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
diff --git a/thermal_info_config_oriole_WHI_A.json b/thermal_info_config_oriole_WHI_A.json
index c0597b5..79f44b0 100644
--- a/thermal_info_config_oriole_WHI_A.json
+++ b/thermal_info_config_oriole_WHI_A.json
@@ -27,6 +27,16 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.9,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
+ "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001,
"PollingDelay":60000,
@@ -44,6 +54,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -59,6 +70,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/qi_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -412,6 +424,15 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 100,
+ 0.0,
+ 0.0
+ ],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json
index 5d59943..bc94332 100644
--- a/thermal_info_config_raven.json
+++ b/thermal_info_config_raven.json
@@ -57,6 +57,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -72,6 +73,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -87,6 +89,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/qi_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -102,6 +105,16 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.9,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
+ "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001,
"PollingDelay":60000,
@@ -119,6 +132,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -134,6 +148,16 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.9,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0
+ ],
+ "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001,
"PollingDelay":60000,
@@ -151,6 +175,7 @@
"NAN",
"NAN"
],
+ "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp",
"VrThreshold":"NAN",
"Multiplier":0.001
},
@@ -723,6 +748,15 @@
"NAN",
"NAN"
],
+ "HotHysteresis":[
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 100,
+ 0.0,
+ 0.0
+ ],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true