L22M_DISP ODPM rail is LDO downstream from S6M_LLDO1, Remove L22M_DISP from PARTIAL_SYSTEM_POWER to avoid the duplicate counting. Flag: EXEMPT config update Bug: 364666080 Test: boot to home and thermal throttling worked properly Change-Id: Ia06dd36ccfba3219b1e4af404c011b00ee36ed5a
371 lines
14 KiB
JSON
371 lines
14 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"north_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 38.8, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"cam_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 31.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"soc_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 41.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"charge_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 42.4, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 31.2, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"HotThreshold":["NaN", "NaN", "NaN", "NaN", "NaN", "NaN", 60.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"neutral_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 41.5, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 35.1, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NaN", 35.0, "NaN", "NaN", "NaN", "NaN", "NaN"],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-0",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0.28, 0.14, 0.17, 0.13, 0.02, 0.19, 0, 0, 0],
|
|
"Offset":1280,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-1",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0.07, 0.05, 0.18, 0.19, 0.43, 0, 0.1, 0, 0],
|
|
"Offset":-3320,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-2",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0, 0, 0, 0.21, 0.17, 0.20, 0.07, 0.04, 0.18],
|
|
"Offset":2960,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-3",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0.06, 0.06, 0.05, 0, 0.17, 0.13, 0, 0.4, 0.09],
|
|
"Offset":1010,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-4",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0.06, 0.14, 0.01, 0.16, 0.09, 0.31, 0.01, 0.13, 0.02],
|
|
"Offset":1750,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-5",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0, 0.14, 0.31, 0.11, 0.06, 0.13, 0.16, 0, 0],
|
|
"Offset":1500,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-SUB-6",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "battery", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Coefficient":[0.01, 0.02, 0.33, 0.09, 0.62, 0, 0, 0, 0],
|
|
"Offset":-5080,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"thb_hda",
|
|
"Type":"UNKNOWN",
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"IS_WLC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"Combination":["thb_hda"],
|
|
"Coefficient":[1],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE",
|
|
"Type":"UNKNOWN",
|
|
"Version":"4.0",
|
|
"VirtualSensor":true,
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN-CHARGE-SUB-0", "VIRTUAL-SKIN-CHARGE-SUB-1", "VIRTUAL-SKIN-CHARGE-SUB-2", "VIRTUAL-SKIN-CHARGE-SUB-3", "VIRTUAL-SKIN-CHARGE-SUB-4", "VIRTUAL-SKIN-CHARGE-SUB-5", "VIRTUAL-SKIN-CHARGE-SUB-6"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-WIRED",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["VIRTUAL-SKIN-CHARGE", "IS_WLC"],
|
|
"Coefficient":[1.0, -1000000],
|
|
"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":60000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NaN", "NaN", 101, "NaN", "NaN", "NaN", "NaN"],
|
|
"K_Pu":["NaN", "NaN", 101, "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", 1099, "NaN", "NaN", "NaN", "NaN"],
|
|
"S_Power":["NaN", "NaN", 2404, "NaN", "NaN", "NaN", "NaN"],
|
|
"MinAllocPower":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
|
|
"MaxAllocPower":["NaN", "NaN", 5519, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Cutoff":["NaN", "NaN", 6, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Default":1099
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.1, 0.1, 0.05, 0.05, 0.2, 0.2, 0.2]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "chg_mdis",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 25, 25, 25, 26, 26, 26],
|
|
"LimitInfo": [0, 0, 1, 1, 1, 26, 26]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-PERSIST",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm", "usb_pwr_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN-CHARGE"],
|
|
"Coefficient":[1.0],
|
|
"HotThreshold":["NaN", 35.0, 41.0, 45.0, 47.0, 51.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 3.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NaN", "NaN", 164, "NaN", "NaN", "NaN", "NaN"],
|
|
"K_Pu":["NaN", "NaN", 164, "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", 1066, "NaN", "NaN", "NaN", "NaN"],
|
|
"S_Power":["NaN", "NaN", 2066, "NaN", "NaN", "NaN", "NaN"],
|
|
"MinAllocPower":["NaN", "NaN", 0, "NaN", "NaN", "NaN", "NaN"],
|
|
"MaxAllocPower":["NaN", "NaN", 6412, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Cutoff":["NaN", "NaN", 8, "NaN", "NaN", "NaN", "NaN"],
|
|
"I_Default":1066
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.16, 0.16, 0.16, 0.16, 0.32, 0.32, 0.32]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "chg_mdis",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 25, 25, 26, 26, 26, 26],
|
|
"LimitInfo": [0, 0, 1, 1, 26, 26, 26]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"USB-MINUS-NEUTRAL",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["usb_pwr_therm", "neutral_therm"],
|
|
"Coefficient":[1.0, -1.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"USB-MINUS-QUIET",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["usb_pwr_therm", "quiet_therm"],
|
|
"Coefficient":[1.0, -1.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"USB_QUIET_RFFE",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["USB-MINUS-QUIET", "VSYS_PWR_RFFE"],
|
|
"CombinationType":["SENSOR", "ODPM"],
|
|
"Coefficient":[1, -8],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-USB-THROTTLING-SUB0",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"Combination":["USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
|
|
"Coefficient":[10000, 5000],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-USB-THROTTLING",
|
|
"Type":"USB_PORT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Combination":["usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB-MINUS-QUIET", "VIRTUAL-USB-THROTTLING-SUB0"],
|
|
"Coefficient":[46000, 0, 0, 1],
|
|
"HotThreshold":["NaN", "NaN", "NaN", "NaN", "4.0", "NaN", "NaN"],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "usbc-port",
|
|
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
|
}
|
|
],
|
|
"Multiplier":1,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
}
|
|
],
|
|
"CoolingDevices":[
|
|
{
|
|
"Name":"chg_mdis",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"usbc-port",
|
|
"Type":"BATTERY"
|
|
}
|
|
],
|
|
"PowerRails":[
|
|
{
|
|
"Name":"VSYS_PWR_RFFE",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":2
|
|
},
|
|
{
|
|
"Name":"S2M_VDD_CPUCL2",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":1
|
|
},
|
|
{
|
|
"Name":"S3M_VDD_CPUCL1",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":1
|
|
},
|
|
{
|
|
"Name":"S4M_VDD_CPUCL0",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":1
|
|
},
|
|
{
|
|
"Name":"S2S_VDD_G3D",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":1
|
|
},
|
|
{
|
|
"Name":"PARTIAL_SYSTEM_POWER",
|
|
"VirtualRails":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["S1S_VDD_CAM", "S2S_VDD_G3D", "S4S_VDD2H_MEM", "S5S_VDDQ_MEM", "S8S_VDD_G3D_L2", "S9S_VDD_AOC", "L2S_PLL_MIPI_UFS", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "VSYS_PWR_MODEM", "VSYS_PWR_RFFE"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":5
|
|
}
|
|
]
|
|
}
|