device_google_comet/thermal
sashwinbalaji 2c94505351 thermal: read thermistor temperature from upstream sysfs
tz_temp callback will invoke thermal_zone_device_update and return the
cached temp from thermal core. However, during device resume, the cached
temp may be reset to INVALID number before being returned.

So, change the reading path to upstream temp_show which will return the
temperature from thermistor driver directly.

Current Issue:
We are observing lot of extreme low temp for vskin being reported and
with all coefficients being positive the only way negative vskin is
reported is when thermistors report very low temp. Since abnormality
logging is rate limited this reduces the amount of ml model issues
reported.

Bug: 323987378
Test: Local build and verify lshal
Change-Id: I2445f9d654c2a86c9507bf1654dc44f3b765c889
2024-04-19 09:49:15 +08:00
..
Android.bp thermal: Dynamically decide thermal config to use 2023-12-18 19:28:00 +08:00
init_thermal_config.cpp thermal: Dynamically decide thermal config to use 2023-12-18 19:28:00 +08:00
thermal_info_config_backup_comet.json thermal: Remove deprecated power rails 2024-04-01 12:42:56 +08:00
thermal_info_config_charge_comet.json thermal: read thermistor temperature from upstream sysfs 2024-04-19 09:49:15 +08:00
thermal_info_config_comet.json thermal: read thermistor temperature from upstream sysfs 2024-04-19 09:49:15 +08:00
vt_estimation_model_comet.tflite thermal: Add VIRTUAL-SKIN-MODEL 2024-04-08 10:52:19 +08:00