Merge "thermal: init WLC themral throttle" into main

This commit is contained in:
Peter (YM) 2024-05-21 02:36:50 +00:00 committed by Android (Google) Code Review
commit 193441806e
2 changed files with 88 additions and 0 deletions

View file

@ -138,6 +138,50 @@
"LimitInfo": [0, 0, 0, 0, 0, 26, 26]
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WLC",
"Type":"UNKNOWN",
"Version":"0.1",
"VirtualSensor":true,
"TriggerSensor":"charging_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["charging_therm", "usb_pwr_therm", "soc_therm"],
"Coefficient":[0.259, 0.418, 0.23],
"Offset":2146,
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 600, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 200, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 21, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 1400, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
"I_Default":400
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.1, 0.1, 0.05, 0.05, 0.2, 0.2, 0.2]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "dc_icl",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
"LimitInfo": [0, 1, 1, 1, 1, 26, 26]
}
]
}
],
"CoolingDevices":[

View file

@ -844,6 +844,50 @@
}
]
},
{
"Name":"VIRTUAL-SKIN-CHARGE-WLC",
"Type":"UNKNOWN",
"Version":"0.1",
"VirtualSensor":true,
"TriggerSensor":"charging_therm",
"Formula":"WEIGHTED_AVG",
"Combination":["charging_therm", "usb_pwr_therm", "soc_therm"],
"Coefficient":[0.259, 0.418, 0.23],
"Offset":2146,
"HotThreshold":["NAN", 34.0, 38.0, 41.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 3.9, 2.9, 3.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000,
"PIDInfo": {
"K_Po":["NAN", "NAN", 600, "NAN", "NAN", "NAN", "NAN"],
"K_Pu":["NAN", "NAN", 200, "NAN", "NAN", "NAN", "NAN"],
"K_I":["NAN", "NAN", 21, "NAN", "NAN", "NAN", "NAN"],
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
"I_Max":["NAN", "NAN", 400, "NAN", "NAN", "NAN", "NAN"],
"S_Power":["NAN", "NAN", 1400, "NAN", "NAN", "NAN", "NAN"],
"MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", 6, "NAN", "NAN", "NAN", "NAN"],
"I_Default":400
},
"ExcludedPowerInfo": [
{
"PowerRail": "PARTIAL_SYSTEM_POWER",
"PowerWeight": [0.1, 0.1, 0.05, 0.05, 0.2, 0.2, 0.2]
}
],
"BindedCdevInfo": [
{
"CdevRequest": "dc_icl",
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
"LimitInfo": [0, 1, 1, 1, 1, 26, 26]
}
]
},
{
"Name":"USB-MINUS-CHARGER",
"Type":"UNKNOWN",