Commit graph

10 commits

Author SHA1 Message Date
TeYuan Wang
ea8c58d2d1 thermal: update WLC charging throttling policy
Bug: 323435751
Test: run the charging test with D250
Change-Id: I028f809f54fdb0c9675c82f34f6aab989b99cb65
2024-02-29 04:59:17 +00:00
TeYuan Wang
f2a7aba99e thermal: reading the 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.

Bug: 326252555
Test: adb shell dumpsys thermalservice
Change-Id: I82cf81d940585c4827256804bc9c9397f4b54ccf
2024-02-28 07:30:38 +00:00
Jikai Ma
89813cd1df thermal: remove ODPM from legacy and patched linear model
- remove ODPM from legacy formulas
- remove ODPM from patched linear formulas
- update VIRTUAL-SKIN-CHARGE formulas

Bug: 320714468
Test: build and boot to home

Change-Id: I974476d45d9ace1740f9fec06af9399db5b7cb59
Signed-off-by: Jikai Ma <jikai@google.com>
2024-02-15 16:03:56 -08:00
Jikai Ma
305646c5f6 thermal: update virtual sensor formula for EVT devices
Bug: 320714468
Test: boot to home
Change-Id: I14b945a520df0466ee6f024983283543e2b363fe
Signed-off-by: Jikai Ma <jikai@google.com>
2024-01-22 10:38:00 -08:00
TeYuan Wang
fcf460a0e9 thermal: update USBC throttling policy
Bug: 317281453
Test: verified by emul_temp
Change-Id: Idc2e31e32bd7b278fa7a64d8e6de123c14bfa15a
2024-01-03 14:50:32 -08:00
Jikai Ma
b14b8d7586 thermal: update virtual skin sensor formula
formulas updated with P1.1 test data

Bug: 296476775
Test: boot to home

Sign-off-by: jikai@google.com
Change-Id: I88febd4792f9c32c6fcbd3d27490cdac80f00311
2023-11-07 19:18:29 +00:00
TeYuan Wang
397ab294f9 thermal: update charging thermal target for off-mode charging
Bug: 307972260
Test: adb shell dumpsys android.hardware.thermal.IThermal/default
Change-Id: Ibbb64b8a4ae2c598c05d31ad871e787a8527ba0b
2023-10-26 18:17:00 +00:00
Jikai Ma
4dafc1777b thermal: update VSKIN equation for CM4/KM4/TK4 P1
should work with ag/24907329 that allow thermalHAL to config trip of
btmskpr_therm

Bug: 296476775
Test: boot to home

Change-Id: I05e65c3f3ccce9d06640735b23976006cd99495e
2023-10-03 00:18:26 +00:00
Ramya Subramanian
4efb293678 thermal: enabled Thermal HAL and policies on Km4/CM4/TK4
Bug: b/292586445
Test: Tested with burn8 and thermal recorder to ensure policies kicked in

Change-Id: Id4b9a00329153ba2e2f68fb4d8dd8657bbbf4d5e
Signed-off-by: Ramya Subramanian <rsubr@google.com>
2023-09-12 21:22:54 +00:00
Robin Peng
b5194d9b24 Migrate caimito devices into caimito folder from sha 31a6eb4c2ffbc
Bug: 291867277
Change-Id: Ia7d34e6ab34bdd03406391f98c58b04eb77671cd
2023-08-16 10:26:07 +00:00