Commit graph

5 commits

Author SHA1 Message Date
Peter (YM)
959543581d 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: I8b6c828896159af3d4a0fbe6023a1097b0d6dc77
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:51:14 +00:00
sashwinbalaji
2d2f84936d thermal: Remove deprecated power rails
Remove the below power rails as they're going to be replaced with
different ones for better ODPM coverage.

  - S8S_VDD_G3D_L2
  - L9S_GNSS_CORE

Bug: 331556280
Test: Push config and verify thermal logs
Change-Id: Ic5c6cb7c4ddae258c89cbe3cb50a104f7044e016
2024-04-01 12:42:56 +08:00
samou
a19931dca2 thermal: remove brownout event
The battery_mitigation takes over the brownout event
and informs subsystems to do mitigation.

Bug: 319285945
Change-Id: I6b318197a5248470cce670747393f67663689487
Signed-off-by: samou <samou@google.com>
2024-01-11 14:15:45 +00:00
sashwinbalaji
fc365a9d48 thermal: Add INNER-DISPLAY-DIFF virtual sensor.
Add LEFT-INNER-DISPLAY, RIGHT-INNER-DISPLAY virtual sensors.
Add INNER-DISPLAY-DIFF (diff of right - left) virtual sensor.

The INNER-DISPLAY-DIFF sensor will be used for inner display thermal
compensation.

Bug: 309716793
Test: Push config to device and verify thermal log and lshal
Change-Id: I4f7fbb2006b84dd6ab945d0de94f5d5ca2ffcd49
2024-01-02 13:03:50 +08:00
sashwinbalaji
edb8b488e5 thermal: Dynamically decide thermal config to use
Add service which will device thermal config on basis of following
conditions:

- No display panel / proto, use thermal_info_config_proto

Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
2023-12-18 19:28:00 +08:00