thermal: disable usbc protection for EVT1.0 and PROTO

We have USBC thermistor change after EVT1.0, so disable the
throttling for earlier HW version to prevent false alarm.

Bug: 197266814
Test: adb shell cat /dev/thermal/tz-by-name/usb_pwr_therm2/temp
Change-Id: Ia829d6a16d8ac390ed213efe2c5e12e24aca4320
diff --git a/conf/init.raven.rc b/conf/init.raven.rc
index af9fbfc..5153c58 100644
--- a/conf/init.raven.rc
+++ b/conf/init.raven.rc
@@ -34,6 +34,16 @@
 on property:graphics.display.kernel_idle_timer.enabled=false
     write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "0"
 
+# Thermal
+on late-init && property:ro.boot.hardware.revision=PROTO1.0
+    setprop vendor.disable.usb.overheat.mitigation.control 1
+
+on late-init && property:ro.boot.hardware.revision=PROTO1.1
+    setprop vendor.disable.usb.overheat.mitigation.control 1
+
+on late-init && property:ro.boot.hardware.revision=EVT1.0
+    setprop vendor.disable.usb.overheat.mitigation.control 1
+
 # Bluetooth
 on post-fs-data
     chown bluetooth system /proc/bluetooth/timesync