Merge "thermal: bringup USBC throttling policy" into tm-qpr-dev am: 6dbe6cab9d
am: b50ee992e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/19252422 Change-Id: I057d8fd1d259cb23dae73de91aad6e8e6b8e52bf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
80b7f3d390
1 changed files with 59 additions and 5 deletions
|
@ -27,17 +27,17 @@
|
||||||
{
|
{
|
||||||
"Name":"usb_pwr_therm",
|
"Name":"usb_pwr_therm",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"HotThreshold":["NAN", 35.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
||||||
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
|
||||||
"Multiplier":0.001,
|
"Multiplier":0.001
|
||||||
"PollingDelay":60000,
|
|
||||||
"PassiveDelay":7000
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"usb_pwr_therm2",
|
"Name":"usb_pwr_therm2",
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
|
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||||
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001,
|
||||||
|
"PollingDelay":60000,
|
||||||
|
"PassiveDelay":7000
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name":"inner_disp_therm",
|
"Name":"inner_disp_therm",
|
||||||
|
@ -57,6 +57,60 @@
|
||||||
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"USB2-MINUS-USB",
|
||||||
|
"Type":"UNKNOWN",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"TriggerSensor": "usb_pwr_therm2",
|
||||||
|
"Formula":"WEIGHTED_AVG",
|
||||||
|
"Combination":["usb_pwr_therm2", "usb_pwr_therm"],
|
||||||
|
"Coefficient":[1.0, -1.0],
|
||||||
|
"HotThreshold":["NAN", "7.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
||||||
|
"BindedCdevInfo": [
|
||||||
|
{
|
||||||
|
"CdevRequest": "usbc-port",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Multiplier":0.001,
|
||||||
|
"PollingDelay":0,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"VIRTUAL-USB-THROTTLING",
|
||||||
|
"Type":"USB_PORT",
|
||||||
|
"Hidden":true,
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"TriggerSensor": "usb_pwr_therm2",
|
||||||
|
"Combination":["usb_pwr_therm2", "USB2-MINUS-USB"],
|
||||||
|
"Coefficient":[40000, 10000],
|
||||||
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
|
||||||
|
"BindedCdevInfo": [
|
||||||
|
{
|
||||||
|
"CdevRequest": "usbc-port",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Multiplier":1,
|
||||||
|
"PollingDelay":60000,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"VIRTUAL-USB-UI",
|
||||||
|
"Type":"USB_PORT",
|
||||||
|
"VirtualSensor":true,
|
||||||
|
"Formula":"COUNT_THRESHOLD",
|
||||||
|
"TriggerSensor": "usb_pwr_therm2",
|
||||||
|
"Combination":["usb_pwr_therm2", "USB2-MINUS-USB"],
|
||||||
|
"Coefficient":[40000, 13000],
|
||||||
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
|
||||||
|
"Multiplier":1,
|
||||||
|
"Monitor":true,
|
||||||
|
"PollingDelay":60000,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"LITTLE",
|
"Name":"LITTLE",
|
||||||
"Type":"CPU",
|
"Type":"CPU",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue