From 2bb5a796f97c0704dc463f4af74e5c37d629504b Mon Sep 17 00:00:00 2001 From: YiHo Cheng Date: Fri, 23 Jul 2021 14:15:01 +0800 Subject: [PATCH] thermal: Update usb_pwr_therm2 emul_temp control Update usb_pwr_therm2 emul_temp control to allow vendor.disable.usb.overheat.mitigation.control to disable/enable usbc-port throttling to prevent device offline during thermal mitigation test in lab. Bug: 194252201 Test: setprop vendor.disable.usb.overheat.mitigation.control 0/1 to check usb_pwr_therm2 temperature reading Change-Id: Ia522706ce32bee68596b977a3e526f0b951a95ca --- conf/init.gs101.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index d9d462e7..974c93c9 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -882,6 +882,7 @@ on property:vendor.thermal.link_ready=1 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/tz-by-name/usb_pwr_therm2/emul_temp 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-2/user_vote