Commit Graph

18 Commits

Author SHA1 Message Date
Kyle Lin 7cb76d4475 thermal: enable SendPowerHint of skin-therm-monitor
Bug: 162791243
Test: build and using emul temp/running burn8 to verify it
Change-Id: Ifc401b4409642b909b209bf6907faacce9f200a3
2020-08-19 00:14:46 +00:00
TreeHugger Robot 3138b6d728 Merge "thermal: Remove camera-critical tz" into rvc-d1-dev 2020-07-17 14:18:50 +00:00
TeYuan Wang 07780f8c5c thermal: monitor usbc virtual sensor from thermalhal
Bug: 147861290
Test: Verified by emul_temp
Change-Id: I7ef7275150ab8d8c4237d28bf45249a2ed9b6f8d
2020-07-14 15:05:43 +08:00
YiHo Cheng 4fe292220c thermal: Remove camera-critical tz
The sensor offset was introduced to resolve the correlation impact for
camera use cases so camera-critical tz is not required anymore.

Bug: 160294041
Test: check if camera-critical tz was removed.
Change-Id: I3a28e8d8f4619685d843a3a6d815bf3b272a0776
2020-07-14 14:51:13 +08:00
YiHo Cheng 7dd0b74437 thermal: Add camera-critical tz
- Add camera-critical tz for 4K 60 and setting critical severity
threshold as 46.5C(47C + 1C offset - 1C transient - 0.5C buffer)
- Follow legacy hysteresis 1.9C

Bug: 156569397
Bug: 159102998
Test: dump and check thermalhal camera-critical threshold
Change-Id: If3c1309dbe290e1d3f767019c07f470afc88c111
2020-06-23 21:52:53 +08:00
TeYuan Wang 60f2a7bd30 thermal: adjust thermal shutdown threshold
Acocording to the redfin EVT thermal virus test. When skin-therm is
53 degC, the max surface temperature is only 53degC. So, adjust shutdown
 threshold to 55 degC and emergency threshold to 53 degC to improvide
the UX.

Bug: 153850974
Test: Test thermalhal shutdown by emul temp
Change-Id: Ia3813e9aa4c7848d1df0a31074534e2870f6b132
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-06-23 14:53:35 +08:00
justinweng e5dabd4d1d audio: adjust panel thermal throttling level am: ce11036ef5
Change-Id: I646c34a024df78adb76afc0c237c74a27ec02f88
2020-05-29 21:22:37 +08:00
justinweng 2a9ccbd6f4 audio: adjust panel thermal throttling level
Increased max temperature (41degC -> 42degC)

Bug: 143265000
Test: Verify by H/W

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I0bcb9d92a80195d8345c6c3ff33121c6e33a0318
2020-05-29 21:22:37 +08:00
Justin Weng 34a7a1fdac Merge "thermal: add thermal sensors for panel audio throttling" into rvc-dev am: 8b793a6aa3
Change-Id: Ie01bb041d2b4d79fefdfc498b43b9fb13684c94a
2020-05-29 21:22:32 +08:00
TeYuan Wang d6616de80c thermal: add thermal sensors for panel audio throttling
Add panel-audio-therm for audio hal to detect Tskin temperature and sdm-therm to detect system power.
Bug: 143265000
Test: Panel audio throttling can be triggered
Change-Id: I5e0d659deca4d50d7a142b2efbf030c284de8784
2020-05-29 21:22:31 +08:00
TeYuan Wang 27c7f426bc thermal: adjust hyst threshold to align with thermal core CPU throttling
Bug: 153850974
Test: verified thermalhal notification with emul temp
Change-Id: I89e6bccd66c6b85d015d85fbafcb64445ad11500
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:22:05 +08:00
TeYuan Wang d9effae456 thermal: add cellular-emergency thermal zone in thermlhal config
define cellular-emergency thermal zone as POWER_AMPLIFIER TYPE
for limited service throttling

Bug: 151359760
Test: pts-tradefed run pts -m PtsThermalHalTestCases
      cellular-emergency thermal zone can be enabled/disabled by persist.vendor.disable.thermal.control
Change-Id: I2c9140358df9054d21d511296d32c93e10c0b570
2020-05-29 21:21:56 +08:00
TeYuan Wang 161a2e117a thermal: adjust thermalhal threshold according to P1.1 test result
Bug: 150352904
Test: verified by emul_temp
Change-Id: I8a99bdb8ef578040f8cd94b15b2f51d910be4bbd
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:21:26 +08:00
TeYuan Wang 23b1984c69 thermal: enable usb port overheat ui warning
Bug: 146403950
Test: verified by emul_temp

Change-Id: Ic83f7d280391822bba8bf29ff158671306ce7cdb
Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-05-29 21:18:49 +08:00
mandyshen cf907620ea thermal: update thermal config for thermal hal
Bug: 139840143
Test: Thermal hal PTS run pass
Change-Id: Id32177f41fd348dde8b4ace26ba36e96ecc0a330
2019-11-05 16:15:49 +08:00
ChengYou Ho a7e0f4632c Update to latest and remove common part
to common folder

Bug: 140363359
Change-Id: I9319e1451dbccc9d19568bf4ae4719b2d04450eb
2019-09-10 10:59:47 +08:00
Adam Shih 65ba2420ac Remove Thermal HAL setting
Bug: 137166127
Bug: 139775222

Change-Id: Ic95ca7fa5fcf9ff7e1639e1c384ea1cfe291cbd4
2019-08-30 14:35:30 +08:00
Alex Hong 1c2dbd8222 Create aosp_redfin target
Bug: 139478768
Change-Id: I061f89a72b5e7b81280406abf85cca479b86f340
2019-08-19 12:39:55 +08:00