thermal: Bringup initial VIRTUAL-SKIN thermal policy

Bug: 303547234
Test: Update config and run burn8 to verify thermal logs.
Change-Id: Id2a9caac0bb044bfb28d3c3f5acb4550c979fd87
This commit is contained in:
sashwinbalaji 2023-11-17 18:37:40 +08:00
parent 4f29e5d7b2
commit 7534e2b0ab
2 changed files with 732 additions and 120 deletions

View file

@ -43,6 +43,13 @@ on init && property:ro.bootmode=normal
on init && property:ro.bootmode=factory
write /sys/devices/platform/hall_sensor/enable 0
# Thermal
on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/charger_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/charger_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/batoilo2/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/batoilo2/trip_point_0_hyst
# SFPS Fingerprint
on post-fs-data
chown system system /sys/devices/platform/odm/odm:fp_fpc1020/clk_enable