thermal: enable cellular emergency sensor

Add cellular-emergency sensor with same virtual
coefficients as virtual-skin, but a 54 degC
emergency threshold.

Bug: 216391268
Test: build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I8d6178b228ffaf31b80341efb4a78e681940bb47
This commit is contained in:
Sayanna Chandula 2022-02-15 00:32:46 +00:00
parent db6c57f396
commit 74d797205a
2 changed files with 80 additions and 0 deletions

View file

@ -381,6 +381,46 @@
} }
] ]
}, },
{
"Name":"cellular-emergency",
"Type":"POWER_AMPLIFIER",
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM",
"Combination":[
"VIRTUAL-QI-USB",
"VIRTUAL-USB2-QUIET",
"VIRTUAL-QUIET-USB2"
],
"Coefficient":[
"1.0",
"1.0",
"1.0"
],
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"54.0",
"NAN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
0.0,
1.9,
0.0
],
"VrThreshold":"NAN",
"Multiplier":0.001,
"Monitor":true,
"PollingDelay":300000,
"PassiveDelay":7000
},
{ {
"Name":"LITTLE", "Name":"LITTLE",
"Type":"CPU", "Type":"CPU",

View file

@ -409,6 +409,46 @@
} }
] ]
}, },
{
"Name":"cellular-emergency",
"Type":"POWER_AMPLIFIER",
"VirtualSensor":true,
"TriggerSensor":"quiet_therm",
"Formula":"MAXIMUM",
"Combination":[
"VIRTUAL-QI-USB",
"VIRTUAL-USB-QUIET",
"VIRTUAL-GNSS-USB2"
],
"Coefficient":[
"1.0",
"1.0",
"1.0"
],
"HotThreshold":[
"NAN",
"NAN",
"NAN",
"NAN",
"NAN",
"54.0",
"NAN"
],
"HotHysteresis":[
0.0,
0.0,
0.0,
0.0,
0.0,
1.9,
0.0
],
"VrThreshold":"NAN",
"Multiplier":0.001,
"Monitor":true,
"PollingDelay":300000,
"PassiveDelay":7000
},
{ {
"Name":"LITTLE", "Name":"LITTLE",
"Type":"CPU", "Type":"CPU",