thermal: add support for multiple trigger sensors

Bug: 271378726
Test: Build and boot on device. Test with emul temp

Change-Id: I3cc53cb11e5dabbb894990c57e10da3a895244e7
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2023-03-07 13:13:41 -08:00
parent 5c2d07e775
commit 66aa28ff3e

View file

@ -946,6 +946,20 @@ on property:vendor.thermal.link_ready=1
# Thermal # Thermal
chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_temp chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_hyst chown system system /dev/thermal/tz-by-name/disp_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/north_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/north_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/cam_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/cam_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/charge_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/charge_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soc_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soc_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/usb_pwr_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/usb_pwr_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_hyst
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote