Commit graph

18 commits

Author SHA1 Message Date
samou
bd9bbb5288 thermal: tegu: Remove BCL related thermal zone
Bug: 342504477
Change-Id: I8da3a8b1ae6fee59b8e03fddc5f2bdca2c080a8b
Signed-off-by: samou <samou@google.com>
2024-05-24 08:03:35 +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)
605307f729 thermal: update thermal config
Algin with latest device setting

1. Update cdevceiling and hardlimit with frequency
2. Update TPU thermal throttle policy
3. Release thermal throttle in camera and game mode

Bug: 317750833
Test: Build and flash on device
Change-Id: If51183f72822febb3b3cf0cac33d03b33a4fb270
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-09 03:38:32 +00:00
Peter (YM)
eed13b648c Merge "thermal: usb thermal protection" into main 2024-05-03 05:24:53 +00:00
Peter (YM)
fd239ef939 thermal: usb thermal protection
Based on HW proposal in b/335112894#comment21

Bug: 335112894
Test: b/335112894#comment21, verifiy by HW test
Change-Id: Id1f9e1595433c55d59539c947f8e8a5da285dfa9
Signed-off-by: Peter (YM) <peterym@google.com>
2024-05-03 01:53:37 +00:00
sashwinbalaji
b564103698 thermal: Update thermistor_name.txt from tflite model
With ag/27095449, we'll always parse thermistor_name config and the
current tflite model thermistor_name is not in json format.
This will lead to thermal hal crash. Fix it by setting the file content
to empty json object {}

Bug: 337961368
Test: Locally update and ensure no thermal hal crash
Change-Id: Ib171509a9cdf89d7982adcc0fa3c9c700b49b55b
2024-04-30 19:52:13 +08:00
Peter (YM)
f60d0384fc thermal: enable thermal throttle with legacy vskin v1
Provide legacy v1 based on Proto1.1 thermal test result

Bug: 330247219
Test: Run thermal benchmark test
Change-Id: I74e1b58a045c34670694c1edbe8338827c2776fa
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-17 11:13:26 +00:00
Peter (YM)
65bc4ef474 Merge "thermal: Add VSKIN-MODEL" into main 2024-04-16 02:39:06 +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
Peter (YM)
0a40d744ba thermal: Add VSKIN-MODEL
- Enable vskin-model but not apply thermal throttle
- Capture model abnormal value when it's outside -20 and 60 degC

Bug: 330247219
Test: Build and boot to home
Change-Id: Ibfa26713129b0e22305ca4ed147b9cebd05858b6
Signed-off-by: Peter (YM) <peterym@google.com>
2024-04-12 01:18:16 +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
Peter (YM)
2bb3daf080 Merge "thermal: remove redundant config" into main 2024-02-21 06:29:23 +00:00
Peter (YM)
579cd6ce9e thermal: init basic cpu throttle
Based on similar device thermal policy init the cpu throttle

There are some basic thermal function removed / changed, b/317750833 for  tracking:
1. Remove GPU cooling device
2. Remove chg_mdis cooling device
3. Higher temperature threshold, VSKIN shutdown set to 75 degC

Bug: 317355916
Test: flash on device and boot to home
Change-Id: Ibaa6e14b68744a31c4611a3d07c311754da5364d
Signed-off-by: Peter (YM) <peterym@google.com>
2023-12-26 09:04:04 +00:00
Peter (YM)
1e7c7b751a thermal: remove redundant config
Bug: 317750833
Test: Flash and boot to home
Change-Id: I58200f722d02f031ba31a8f510f3094b91688972
Signed-off-by: Peter (YM) <peterym@google.com>
2023-12-26 08:53:10 +00:00
Peter (YM)
12f74a39c3 thermal: clean up config
Bug: 310563534
Test: None
Change-Id: I7e500801f75bf5d53b711d7299278b7b84bcd2e0
Signed-off-by: Peter (YM) <peterym@google.com>
2023-11-13 09:30:17 +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