thermal: add soc to thermal HAL monitoring am: ba6176f2b2 am: 6ac84b118f

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14737124

Change-Id: I059b4acef9838a88277f1d388d425e40dd678e6c
This commit is contained in:
George Lee 2021-05-28 16:53:52 +00:00 committed by Automerger Merge Worker
commit 09d33bdfee

View file

@ -801,3 +801,10 @@ on fs
chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails chown system system /sys/devices/platform/acpm_mfd_bus@17500000/i2c-7/i2c-s2mpg10mfd/s2mpg10-meter/s2mpg10-odpm/iio:device0/enabled_rails
chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/i2c-s2mpg11mfd/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails chown system system /sys/devices/platform/acpm_mfd_bus@17510000/i2c-8/i2c-s2mpg11mfd/s2mpg11-meter/s2mpg11-odpm/iio:device1/enabled_rails
# BCL
on property:vendor.thermal.link_ready=1
write /dev/thermal/tz-by-name/soc/policy user_space
chown system system /dev/thermal/tz-by-name/soc/mode
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc/trip_point_0_hyst