Revert "thermal: remove gxp cooling device dependency" am: b8acf39ef0

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

Change-Id: I0f63391ef3971b657aec3395b70f9e13123291f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sayanna Chandula 2022-09-19 22:32:47 +00:00 committed by Automerger Merge Worker
commit 9c208eaf40
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ const struct MitigationConfig::Config cfg = {
"/dev/thermal/cdev-by-name/tpu_cooling/cur_state",
"/dev/thermal/cdev-by-name/CAM/cur_state",
"/dev/thermal/cdev-by-name/DISP/cur_state",
"/dev/thermal/cdev-by-name/gxp-cooling/cur_state",
"/sys/class/power_supply/battery/voltage_now",
"/sys/class/power_supply/battery/current_now",
},

View file

@ -965,6 +965,7 @@ on property:vendor.thermal.link_ready=1
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-gpufreq-0/user_vote
chown system system /dev/thermal/cdev-by-name/gxp-cooling/user_vote
chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state