thermal: change permission for usbc related thermal sysfs am: 569878efa9 am: 708945a219
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15242250 Change-Id: Ia35ff14d279a6500ea179ad9fa5d292095ef5ea4
This commit is contained in:
commit
e3f583c9d3
1 changed files with 3 additions and 0 deletions
|
@ -859,6 +859,8 @@ on property:vendor.thermal.link_ready=1
|
||||||
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_hyst
|
chown system system /dev/thermal/tz-by-name/quiet_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_temp
|
||||||
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_hyst
|
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_hyst
|
||||||
|
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/trip_point_0_temp
|
||||||
|
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/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
|
||||||
|
@ -866,6 +868,7 @@ on property:vendor.thermal.link_ready=1
|
||||||
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
|
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
|
||||||
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
|
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
|
||||||
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
|
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
|
||||||
|
chown system system /dev/thermal/cdev-by-name/usbc-port/cur_state
|
||||||
|
|
||||||
on property:vendor.disable.bcl.control=1
|
on property:vendor.disable.bcl.control=1
|
||||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue