thermal: usb thermal protection
Based on HW proposal in b/335112894#comment21 Bug: 335112894 Test: b/335112894#comment21, verifiy by HW test Change-Id: Id1f9e1595433c55d59539c947f8e8a5da285dfa9 Signed-off-by: Peter (YM) <peterym@google.com>
This commit is contained in:
parent
4bde1ff78e
commit
fd239ef939
1 changed files with 44 additions and 0 deletions
|
@ -788,6 +788,50 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"USB-MINUS-CHARGER",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"WEIGHTED_AVG",
|
||||||
|
"Combination":["usb_pwr_therm", "charging_therm"],
|
||||||
|
"Coefficient":[1.0, -1.0],
|
||||||
|
"Multiplier":0.001
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"VIRTUAL-USB-THROTTLING",
|
||||||
|
"Type":"USB_PORT",
|
||||||
|
"Version":"0.1",
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"TriggerSensor": "usb_pwr_therm",
|
||||||
|
"Combination":["usb_pwr_therm", "USB-MINUS-CHARGER"],
|
||||||
|
"Coefficient":[46000, 7000],
|
||||||
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
|
||||||
|
"BindedCdevInfo": [
|
||||||
|
{
|
||||||
|
"CdevRequest": "usbc-port",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Multiplier":1,
|
||||||
|
"PollingDelay":300000,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"VIRTUAL-USB-UI",
|
||||||
|
"Type":"USB_PORT",
|
||||||
|
"Version":"0.1",
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"TriggerSensor": "usb_pwr_therm",
|
||||||
|
"Combination":["usb_pwr_therm", "USB-MINUS-CHARGER"],
|
||||||
|
"Coefficient":[46000, 10000],
|
||||||
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
|
||||||
|
"Multiplier":1,
|
||||||
|
"SendCallback":true,
|
||||||
|
"PollingDelay":300000,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"LITTLE",
|
"Name":"LITTLE",
|
||||||
"Type":"CPU",
|
"Type":"CPU",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue