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

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

Change-Id: I6a8fb02781c479564469781110f12e1599620602
This commit is contained in:
George Lee 2021-05-28 17:18:12 +00:00 committed by Automerger Merge Worker
commit f1f871b65a

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