Commit graph

5 commits

Author SHA1 Message Date
David Chao
af60880652 thermal: enable VIRTUAL-CHARGE sensor for thermal_recorder
Remove "Hidden" to enable VIRTUAL-CHARGE sensor for thermalservice,
So that thermal_recorder can record the temperature and seveirty for
tuning.

Bug: 242944140
Test: thermalservice can read VIRTUAL CHARGE sensors.
Temperature{mValue=26.606302, mType=3, mName=VIRTUAL-SKIN, mStatus=0}
Temperature{mValue=26.577953, mType=-1, mName=VIRTUAL-SKIN-CHARGE, mStatus=0}
Temperature{mValue=26.92495, mType=-1, mName=VIRTUAL-SKIN-CHARGE-WLC, mStatus=0}

Change-Id: Icc38895d19ff7d89e307e96c2b35e26d43c1a753
2022-08-19 08:48:20 +00:00
David Chao
5caf26d1e6 thermal: enable fcc & dc_icl PID charging throttling
- Enable fcc & dc_icl SKIN PID charging throttling with state2power table
- Switch on temp 35C, target temp 39C

Bug: 239507440
Test: Charging throttling worked as expected.
Change-Id: I172b71e64f6dc03627c4c33be556080a1a29d777
2022-08-18 01:48:16 +00:00
David Chao
20ef1286dc thermal: update thermal config
1) Based on Proto1.0 and 1.1 thermal result to modify VIRTUAL-SKIN formula v0.4.
2) Add WLAN and DISPLAY odpm power rail in PARTIAL_SYSTEM_POWER
3) Enable USB overheat protection polling log 3 degC earlier.
4) Set the cdev_ceiling for CPU/GPU to avoid the abnormal throttling request when ODPM has issue.
5) Move target temperature from 45 degC to 41 degC.

Bug: 236562040
Test: ThermalHAL throttling worked properly
Change-Id: I78ec8c1fe44f3674d4f578c8e48a50f004c406f3
2022-08-18 01:48:16 +00:00
David Chao
c3ea2b16cf thermal: update thermal config
1) add usbc overheat mitigation v0.1.
2) add VIRTUAL-SKIN formula v0.1.
3) enable thermal throttling as P10 device.

Bug: 231404311
Bug: 229581307
Test: Build and boot on device.
Change-Id: I6d2f3c4860112df43aef9eedaef121a1f47365d4
Signed-off-by: David Chao <davidchao@google.com>
2022-06-09 03:17:57 +00:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00