thermal: bringup policy for USBC overheat warning UI

Bug: 275660018
Test: verified by emul_temp
Change-Id: Id7b2399a399c50265f85bbcc9b087a8eed894d4b
This commit is contained in:
TeYuan Wang 2023-04-06 09:17:42 +08:00
parent 2f4c29e388
commit 8ea39c8d6d
2 changed files with 30 additions and 4 deletions

View file

@ -520,7 +520,6 @@
"Combination":["USB-MINUS-QUIET", "VSYS_PWR_RFFE"], "Combination":["USB-MINUS-QUIET", "VSYS_PWR_RFFE"],
"CombinationType":["SENSOR", "ODPM"], "CombinationType":["SENSOR", "ODPM"],
"Coefficient":[1, -6], "Coefficient":[1, -6],
"Offset":-4000,
"Multiplier":0.001 "Multiplier":0.001
}, },
{ {
@ -530,7 +529,7 @@
"Formula":"COUNT_THRESHOLD", "Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"], "Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
"Coefficient":[46000, 46000, 10000, 0], "Coefficient":[46000, 46000, 10000, 4000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
@ -542,6 +541,20 @@
"PollingDelay":300000, "PollingDelay":300000,
"PassiveDelay":7000 "PassiveDelay":7000
}, },
{
"Name":"VIRTUAL-USB-UI",
"Type":"USB_PORT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm",
"Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
"Coefficient":[48000, 48000, 11000, 5000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"Multiplier":1,
"PollingDelay":300000,
"PassiveDelay":7000,
"SendCallback":true
},
{ {
"Name":"LITTLE", "Name":"LITTLE",
"Type":"CPU", "Type":"CPU",

View file

@ -549,7 +549,6 @@
"Combination":["USB-MINUS-QUIET", "VSYS_PWR_RFFE"], "Combination":["USB-MINUS-QUIET", "VSYS_PWR_RFFE"],
"CombinationType":["SENSOR", "ODPM"], "CombinationType":["SENSOR", "ODPM"],
"Coefficient":[1, -8], "Coefficient":[1, -8],
"Offset":-5000,
"Multiplier":0.001 "Multiplier":0.001
}, },
{ {
@ -559,7 +558,7 @@
"Formula":"COUNT_THRESHOLD", "Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm", "TriggerSensor": "usb_pwr_therm",
"Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"], "Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
"Coefficient":[46000, 46000, 10000, 0], "Coefficient":[46000, 46000, 10000, 5000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.0", "NAN", "NAN"],
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
@ -571,6 +570,20 @@
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
}, },
{
"Name":"VIRTUAL-USB-UI",
"Type":"USB_PORT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "usb_pwr_therm",
"Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
"Coefficient":[48000, 48000, 11000, 6000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"Multiplier":1,
"PollingDelay":300000,
"PassiveDelay":7000,
"SendCallback":true
},
{ {
"Name":"LITTLE", "Name":"LITTLE",
"Type":"CPU", "Type":"CPU",