From 76b6c9aad473cbf592d5c1943c833c2ada46c300 Mon Sep 17 00:00:00 2001 From: "Peter (YM)" Date: Fri, 16 Aug 2024 06:09:54 +0000 Subject: [PATCH] thermal: read thermistor temp from sysfs - avoid wrong sensor value reading for thermalHAL Bug: 327327502 Test: Build to boot to home Flag: EXEMPT (bug 337358613) Change-Id: Icaeac539f24f68560852e9822d89c3d552c3d7d0 Signed-off-by: Peter (YM) --- thermal_info_config_bluejay.json | 8 -------- thermal_info_config_charge_bluejay.json | 8 -------- 2 files changed, 16 deletions(-) diff --git a/thermal_info_config_bluejay.json b/thermal_info_config_bluejay.json index 17b0eb0..a09197b 100644 --- a/thermal_info_config_bluejay.json +++ b/thermal_info_config_bluejay.json @@ -21,7 +21,6 @@ 0.0, 0.0 ], - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, @@ -39,7 +38,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/skin_therm1/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -55,7 +53,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/skin_therm2/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -71,7 +68,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -87,7 +83,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -112,7 +107,6 @@ "0.0", "0.0" ], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -128,7 +122,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -144,7 +137,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, diff --git a/thermal_info_config_charge_bluejay.json b/thermal_info_config_charge_bluejay.json index 2ee436f..f19aa45 100644 --- a/thermal_info_config_charge_bluejay.json +++ b/thermal_info_config_charge_bluejay.json @@ -21,7 +21,6 @@ 0.0, 0.0 ], - "TempPath":"/dev/thermal/tz-by-name/neutral_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001, "PollingDelay":60000, @@ -39,7 +38,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/skin_therm1/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -55,7 +53,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/skin_therm2/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -71,7 +68,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/disp_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -87,7 +83,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -112,7 +107,6 @@ "0.0", "0.0" ], - "TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -128,7 +122,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 }, @@ -144,7 +137,6 @@ "NAN", "NAN" ], - "TempPath":"/dev/thermal/tz-by-name/quiet_therm/adc_channel/channel_temp", "VrThreshold":"NAN", "Multiplier":0.001 },