summaryrefslogtreecommitdiff
path: root/crosshatch
diff options
context:
space:
mode:
authorMiguel de Dios <migueldedios@google.com>2018-06-25 12:36:58 -0700
committerMiguel de Dios <migueldedios@google.com>2018-06-26 11:24:01 -0700
commitc93aea82c17a40bc66f04f9b12369787435a1b8d (patch)
treee781b98a0cfa72ea9176c39687403b65894023c3 /crosshatch
parentb0d3b101e6ed65c587440be727bb2d6267d8a3b9 (diff)
thermal: thermal-hal support reading fps-therm-adc for new HW version
Since new HW version implement fps_therm, so B1/C1 DVT devices will use fps-therm-adc as T-skin thermistor Bug: 80259361 Test: manual - thermal-hal can read fps-therm-adc correctly. Test: pts-tradefed run pts -m PtsThermalHalTestCases Test: VtsHalThermalV1_0TargetTest Change-Id: Ifd155b31122419a982e284be8a7a8bfc348da9cd Signed-off-by: davidchao <davidchao@google.com>
Diffstat (limited to 'crosshatch')
-rw-r--r--crosshatch/init.crosshatch.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crosshatch/init.crosshatch.rc b/crosshatch/init.crosshatch.rc
index 0fe0b1b..6eb6eeb 100644
--- a/crosshatch/init.crosshatch.rc
+++ b/crosshatch/init.crosshatch.rc
@@ -21,3 +21,4 @@ on init
on late-init && property:ro.boot.hardware.revision=EVT1.0
setprop vendor.thermal.hw_mode "-evt"
+ write /sys/devices/virtual/thermal/tz-by-name/quiet-therm-adc/mode enabled