Commit graph

9 commits

Author SHA1 Message Date
Peter (YM)
c1a6e0447e thermal: reading the thermistor temperature from upstream sysfs
- Workaround to avoid wrong sensor value reading for thermalHAL
- align thermal trigger temp for off mode charging config

Bug: 351248307
Test: Build and boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: Ic83bb09287d4203eb816987e6abf4579b37b002b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-07-09 03:12:12 +00:00
David Chao
e625085871 thermal: update charging thermal throttling
Align charging thermal throttling parameters with leading project.

Bug: 333833667
Test: boot to home and thermal throttling worked as expected.
Change-Id: If8cfb1738c0dd921d52bdeb243dabdf3c190a9a4
2024-06-17 11:36:31 +00:00
Peter (YM)
8f730bc927 thermal: usb thermal throttle in off charging mode
Fix the issue that device not trigger usb throttle in off mode charging.

Bug: 344445952
Test: Build and flash on device, verify with uart.
Change-Id: Ic6d453b1cab4614f8f6b42a9b6f5fe521a98101d
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-03 06:57:07 +00:00
Peter (YM)
1ef4072ac6 thermal: init WLC themral throttle
- Init vskin-wlc v1
- init wlc thermal throttle with last generation algorithm

Bug: 341236825
Test: Build and boot to home
Change-Id: Iac66f0a13d94bf1e94744f7954775f0a91cbde0b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-20 23:28:42 +00:00
Peter (YM)
36ca057ab7 thermal: Align PARTIAL_SYSTEM_POWER rails
Test: Build and verify offmode charge no thermalhal crash
Bug: 332417716
Change-Id: I7735336ed5282457af8f134c065c01f8022813c8
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:40:48 +00:00
Peter (YM)
398ff36592 thermal: enable wired charging throttle
- Enable VSKIN-CHARGE based on idle charging case
- Enable Wired charging throttle with previous generation product's policy

Bug: 333663839
Test: Build and boot to home
Change-Id: I8b6f4a8d41afbd2f739f73d56c8e49fca406704b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-12 07:20:55 +00:00
sashwinbalaji
66c6afa1e2 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: I5a04e715bf49a6c4ee502eb82ca18795cff3eb9a
2024-04-01 12:48:54 +08:00
Peter (YM)
48a04811af thermal: remove chg_mdis
Bug: 328019873
Test: Device boot to home
Change-Id: I130099fa565a0c7f9c75d3acbd77e987e596a0f8
Signed-off-by: Peter (YM) <peterym@google.com>
2024-03-05 02:41:53 +00:00
Wilson Sung
a5146d127e Initialize Tegu
Copy tegu from caimito c3019ae

Bug: 298309659
Change-Id: I7d168ff0c60b7c3696239c12534ea3cfac239c1a
2023-09-15 09:48:00 +00:00