- Validate for display panel availability only in userdebug builds.
- Add check to fall back to wingboard config for charging mode as well.
- Move fallback to backup config for proto and wingboard to init rc
file.
Bug: 338295174
Flag: EXEMPT NDK
Test: Local build and verify init_thermal_config and property
Change-Id: I4b2db92df1d74be4038e256ab6e25ee616c5feb6
VSYS_PWR_MMWAVE will be replaced with S12S_VDD_AUR on SUB6
only sku. The replacement failed sometimes because there are
2 random mappings to iio device.
Mapping 1
iio:device0 -> s2mpg14-odpm
iio:device1 -> s2mpg15-odpm
Mapping 2
iio:device0 -> s2mpg15-odpm
iio:device1 -> s2mpg14-odpm
Bug: 337665886
Bug: 338416918
Bug: 338316877
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I0f469f663ca25dce86f4e9e44442723627fbb724
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Update the trigger sensors and equation for virtual-skin.
Bug: 303547449
Test: Local build, verify no thermal error logs and lshal.
Change-Id: I72677b58a4c4e29f4cd5e95b98691e4e1efb0fdc
Fix: 322899718
Test: 1. No hall sensor in getevent.
2. Inner/outer screen can be switched in offmode charging,
recovery, fastboot mode.
Change-Id: Ie61216a201b31a320b423460fe6694d21838b973
Signed-off-by: emilchung <emilchung@google.com>
Add service which will device thermal config on basis of following
conditions:
- No display panel / proto, use thermal_info_config_proto
Bug: 315096213
Test: Build and verify on all device variations
Change-Id: Ic1f652dcf38888150200bb80b35aad740058e85f
init.zumapro.board.rc contains configurations for zumapro board
use ro.board.platform to get device board type
Bug: 311016628
Test: None
Change-Id: I90f7f01646aee8ea44ffe2a94980826b20d989ea
Due to change in power rail naming b/297343909 split the thermal info
config for proto separately from later hardware versions.
Bug: 314047297
Test: Build and verify thermal logs on proto and evt devices.
Change-Id: I9cc4570f7d983dd9b3554aea636fc50a00eefd62
Bug: 270639066
Test: Set ro.bootmode=normal and see hall sensor is disabled.
Test: Set ro.bootmode=factory and see hall sensor is disabled.
Change-Id: Id5666e2e74fdaebd2c79ad65046251f025f54afb
Signed-off-by: emilchung <emilchung@google.com>
To decouple init.insmod.${device}.cfg from HLOS,
it is moved to kernel repo and built in vendor_dlkm.img.
Also make init.rc to load it from vendor_dlkm/
Bug: 270603150
Test: Build image and check vendor_dlkm.img
Change-Id: Iebef45abfa310cc231f5a62a55746f3a055940fc