Skip to content
Snippets Groups Projects
Commit 5243b1a5 authored by TeYuan Wang's avatar TeYuan Wang Committed by Jia-yi Chen
Browse files

thermal: enable logging for USBC virtual sensor

Bug: 222577017
Test: Verified by emul_temp
06-28 14:33:25.423 I/pixel-thermal( 6959): usb_pwr_therm: 37
06-28 14:33:25.424 I/pixel-thermal( 6959): USB-MINUS-USB2: 8.456
06-28 14:33:25.425 I/pixel-thermal( 6959): USB-MINUS-NEUTRAL: 7.676

Change-Id: I13a13aa4df7d68946ed0aab7937495b5b5365704
parent 915bde6f
No related branches found
No related tags found
No related merge requests found
......@@ -259,19 +259,39 @@
"Name":"USB-MINUS-USB2",
"Type":"UNKNOWN",
"VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "usb_pwr_therm2"],
"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",
"Type":"UNKNOWN",
"VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "neutral_therm"],
"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",
......@@ -288,7 +308,6 @@
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
}
],
"VrThreshold":"NAN",
"Multiplier":1,
"PollingDelay":60000,
"PassiveDelay":7000
......@@ -302,7 +321,6 @@
"Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"],
"Coefficient":[43500, 2800, 6000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":60000,
......
......@@ -259,19 +259,39 @@
"Name":"USB-MINUS-USB2",
"Type":"UNKNOWN",
"VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "usb_pwr_therm2"],
"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",
"Type":"UNKNOWN",
"VirtualSensor":true,
"TriggerSensor": "usb_pwr_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["usb_pwr_therm", "neutral_therm"],
"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",
......@@ -288,7 +308,6 @@
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
}
],
"VrThreshold":"NAN",
"Multiplier":1,
"PollingDelay":60000,
"PassiveDelay":7000
......@@ -302,7 +321,6 @@
"Combination":["usb_pwr_therm", "USB-MINUS-USB2", "USB-MINUS-NEUTRAL"],
"Coefficient":[42000, 2000, 4000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true,
"PollingDelay":60000,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment