Revert "thermal: remove gxp cooling device dependency"

This reverts commit 617f8719f5.

Re-enable gxp cooling device

Bug: 238273184
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I3787c11e674b6781b81d01aad2abc88d99c1d1d0
Merged-In: I3787c11e674b6781b81d01aad2abc88d99c1d1d0
This commit is contained in:
Sayanna Chandula 2022-07-22 10:11:43 -07:00
parent d1b167f396
commit b8acf39ef0
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