thermal: enable logging for USBC virtual sensor am: 5243b1a5ca am: be6029c34d am: 743eb0681a

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19084683

Change-Id: Ic8f95de43df6fbf75011bc7f2124dad7a7f03dfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TeYuan Wang 2022-06-28 21:07:29 +00:00 committed by Automerger Merge Worker
commit 697ae150ef
2 changed files with 44 additions and 8 deletions

View file

@ -259,19 +259,39 @@
"Name":"USB-MINUS-USB2", "Name":"USB-MINUS-USB2",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"VirtualSensor":true, "VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "usb_pwr_therm2"], "Combination":["usb_pwr_therm", "usb_pwr_therm2"],
"Coefficient":[1.0, -1.0], "Coefficient":[1.0, -1.0],
"Multiplier":0.001 "HotThreshold":["NAN", "2.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":"USB-MINUS-NEUTRAL", "Name":"USB-MINUS-NEUTRAL",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"VirtualSensor":true, "VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "neutral_therm"], "Combination":["usb_pwr_therm", "neutral_therm"],
"Coefficient":[1.0, -1.0], "Coefficient":[1.0, -1.0],
"Multiplier":0.001 "HotThreshold":["NAN", "4.5", "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", "Name":"VIRTUAL-USB-THROTTLING",
@ -288,7 +308,6 @@
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -302,7 +321,6 @@
"Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"], "Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"],
"Coefficient":[43500, 2800, 6000], "Coefficient":[43500, 2800, 6000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true, "Monitor":true,
"PollingDelay":60000, "PollingDelay":60000,

View file

@ -259,19 +259,39 @@
"Name":"USB-MINUS-USB2", "Name":"USB-MINUS-USB2",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"VirtualSensor":true, "VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "usb_pwr_therm2"], "Combination":["usb_pwr_therm", "usb_pwr_therm2"],
"Coefficient":[1.0, -1.0], "Coefficient":[1.0, -1.0],
"Multiplier":0.001 "HotThreshold":["NAN", "1.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":"USB-MINUS-NEUTRAL", "Name":"USB-MINUS-NEUTRAL",
"Type":"UNKNOWN", "Type":"UNKNOWN",
"VirtualSensor":true, "VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG", "Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "neutral_therm"], "Combination":["usb_pwr_therm", "neutral_therm"],
"Coefficient":[1.0, -1.0], "Coefficient":[1.0, -1.0],
"Multiplier":0.001 "HotThreshold":["NAN", "2.5", "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", "Name":"VIRTUAL-USB-THROTTLING",
@ -288,7 +308,6 @@
"LimitInfo": [0, 0, 0, 0, 1, 1, 1] "LimitInfo": [0, 0, 0, 0, 1, 1, 1]
} }
], ],
"VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"PollingDelay":60000, "PollingDelay":60000,
"PassiveDelay":7000 "PassiveDelay":7000
@ -302,7 +321,6 @@
"Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"], "Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"],
"Coefficient":[42000, 2000, 4000], "Coefficient":[42000, 2000, 4000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"], "HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true, "Monitor":true,
"PollingDelay":60000, "PollingDelay":60000,