- 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>
- Use stats-updator to ensure all the virutal sensor we want to monitor
can be trigger at the same time.
- Remove the un-used virtual sensor
- Update the name of VSKIN-SKIN-UNDER-52 to avoid confusion
Bug: 333834000
Test: Build on device and boot to home, b/333834000#comment8
Flag: EXEMPT (bug 337358613)
Change-Id: I9fc4df066b17417cee412d776a118ea1935fbc34
Signed-off-by: Peter (YM) <peterym@google.com>
Align charging thermal throttling parameters with leading project.
Bug: 333833667
Test: boot to home and thermal throttling worked as expected.
Change-Id: If8cfb1738c0dd921d52bdeb243dabdf3c190a9a4
Align with latest Pixel setup.
Fix the issue that sensor trip temp not updated.
Bug: 346562574
Test: Build and boot to home, confirm the sensor trip temp is updated
Change-Id: I588e65e72158a0b9006f949688e0fa18e4f6d2b4
Signed-off-by: Peter (YM) <peterym@google.com>
- Model: based on evt 1.0 50 case and Proto 1.1 150 case
- Legacy: based on evt 1.0 50 case, also update the trigger temp based on legacy report (b/333834000#6)
Bug: 333834000
Test: Build and boot to home
Change-Id: Ibe4988ec2e9944a81c7a64a0315727a6c942e2e0
Signed-off-by: Peter (YM) <peterym@google.com>
- increase shutdown threshold to 60 to better monitor the thermal under
high vskin
- Monitor vskin_legay - quiet_therm and vskin_model - quiet_them when vskin is higher than 52
- Monitor quiet_therm when it's over candidate shutdown threshold (55 degC)
Bug: 333485619
Test: Flash and boot to home
Change-Id: Id2ca58d427d342d353d7083e4771ac47caa074ec
Signed-off-by: Peter (YM) <peterym@google.com>
The threshold was increased in early stage, since we have a better vskin
eqaution now, we can align the threshold value to other pixel device.
Bug: 346484703
Test: build and boot to home
Change-Id: Ie191e816e2a0a2be405c7c71ece38b7d2fb71d8e
Signed-off-by: Peter (YM) <peterym@google.com>
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>
- 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>
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>
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>
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
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>
- 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>
- 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>
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
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>