From ca7a6331efafdb05786f702be5951f6547d1dc12 Mon Sep 17 00:00:00 2001 From: Blake Kragten Date: Tue, 6 Apr 2021 13:33:55 -0700 Subject: [PATCH] Add Modem Thermistors To make thermisters rf1_therm and rf2_therm visible to thermal hal they are needed to be added to the thermal_info_config Bug: 171092743 Test: On Device Change-Id: I6ae8933afed7cfbd9b90290eddb7b84aaa7612de --- thermal_info_config_oriole.json | 32 +++++++++++++++++++++++++++++++- thermal_info_config_raven.json | 32 +++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 2 deletions(-) diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json index 26a1b38..a9766c5 100644 --- a/thermal_info_config_oriole.json +++ b/thermal_info_config_oriole.json @@ -15,6 +15,36 @@ "VrThreshold":"NAN", "Multiplier":0.001 }, + { + "Name":"rf1_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"rf2_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, { "Name":"neutral_therm", "Type":"UNKNOWN", @@ -243,8 +273,8 @@ 0.0, 0.0, 0.0, - 0.0, 1.9, + 0.0, 0.0 ], "VrThreshold":"NAN", diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json index 4eb649c..ba3a340 100644 --- a/thermal_info_config_raven.json +++ b/thermal_info_config_raven.json @@ -15,6 +15,36 @@ "VrThreshold":"NAN", "Multiplier":0.001 }, + { + "Name":"rf1_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, + { + "Name":"rf2_therm", + "Type":"UNKNOWN", + "HotThreshold":[ + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN", + "NAN" + ], + "VrThreshold":"NAN", + "Multiplier":0.001 + }, { "Name":"neutral_therm", "Type":"UNKNOWN", @@ -243,8 +273,8 @@ 0.0, 0.0, 0.0, - 0.0, 1.9, + 0.0, 0.0 ], "VrThreshold":"NAN",