summaryrefslogtreecommitdiff
path: root/thermal
diff options
context:
space:
mode:
authorGeorge Lee <geolee@google.com>2021-01-07 10:00:29 -0800
committerGeorge Lee <geolee@google.com>2021-01-07 10:00:29 -0800
commitd7914f2970b07e3144373b612dbc489c4df8931e (patch)
tree55f565ea909e320ca18ce0311560011dad9352d0 /thermal
parentf54f9cd93cead0c43083aeb1b8bb3bce33b535db (diff)
downloadpixel-d7914f2970b07e3144373b612dbc489c4df8931e.tar.gz
thermal: permission enable for soc's mode
health service needs access to soc's mode for enabling and disabling throttling. Bug: 176987203 Test: Local test Signed-off-by: George Lee <geolee@google.com> Change-Id: I9030d8caf8c41c69d84a63fabcead2fe4a06497d
Diffstat (limited to 'thermal')
-rw-r--r--thermal/android.hardware.thermal@2.0-service.pixel.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/thermal/android.hardware.thermal@2.0-service.pixel.rc b/thermal/android.hardware.thermal@2.0-service.pixel.rc
index 9f677422..a3febb31 100644
--- a/thermal/android.hardware.thermal@2.0-service.pixel.rc
+++ b/thermal/android.hardware.thermal@2.0-service.pixel.rc
@@ -27,6 +27,7 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/soft_ocp_tpu/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/soft_ocp_gpu/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/soft_ocp_gpu/trip_point_0_hyst
+ chown system system /dev/thermal/tz-by-name/soc/mode
start vendor.thermal-hal-2-0
service vendor.thermal-hal-2-0 /vendor/bin/hw/android.hardware.thermal@2.0-service.pixel