96ab71498c
Based on Safety results to modify thermal formula V0.6 for EVT1.0. Bug: 253992204 Test: boot to home and thermal throttling worked properly. Change-Id: I545fd4d0fce8dadbf82c45f4f867eb06e811719b
805 lines
29 KiB
JSON
805 lines
29 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"neutral_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"gnss_tcxo_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm2",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"skin_therm1",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 29.9, "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.9, 0.0, 0.0, 0.0, 0.0, 0.0],
|
|
"TempPath":"/dev/thermal/tz-by-name/skin_therm1/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"skin_therm2",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/skin_therm2/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-NEU-QUT-DISP-GNSS-BATT",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "disp_therm", "gnss_tcxo_therm", "battery"],
|
|
"Coefficient":[0.28, 0.42, 0.1, 0.1, 0.1],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "disp_therm", "skin_therm1", "gnss_tcxo_therm", "battery"],
|
|
"Coefficient":[0.27, 0.23, 0.1, 0.27, 0.13],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN2-USB2-DISP-BATT",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm", "battery"],
|
|
"Coefficient":[0.28, 0.21, 0.3, 0.21],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-QUT-SKIN2-USB2-DISP",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm2", "disp_therm"],
|
|
"Coefficient":[0.35, 0.25, 0.2, 0.2],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN2-USB2-DISP",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
|
|
"Coefficient":[0.42, 0.29, 0.29],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN",
|
|
"Type":"SKIN",
|
|
"Version":"0.6",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 39.0, 43.0, 45.0, 47.0, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"Monitor":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-HINT",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 37.0, 43.0, 45.0, 47.0, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"SendPowerHint":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CPU-GPU",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 37.0, 39.0, 41.0, 47.0, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 0.9, 0.9, 0.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", 600, 500, "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", 600, 500, "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", 0, 5, "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", 0, 0, "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", 0, 300, "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", 2000, 800, "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", 1200, 800, "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", 10000, 10000, "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", 0, 2, "NAN", "NAN", "NAN"],
|
|
"TranCycle": 5
|
|
},
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-0",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S4M_VDD_CPUCL0",
|
|
"CdevCeiling": [0, 8, 8, 8, 8, 10, 10],
|
|
"LimitInfo": [0, 0, 0, 0, 8, 10, 10]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-1",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S3M_VDD_CPUCL1",
|
|
"CdevCeiling": [0, 12, 12, 12, 12, 14, 14],
|
|
"LimitInfo": [0, 0, 0, 0, 12, 14, 14]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S2M_VDD_CPUCL2",
|
|
"CdevCeiling": [0, 15, 15, 15, 15, 17, 17],
|
|
"LimitInfo": [0, 0, 0, 0, 15, 17, 17]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S2S_VDD_G3D",
|
|
"CdevCeiling": [0, 10, 10, 10, 10, 12, 12],
|
|
"LimitInfo": [0, 0, 0, 0, 10, 12, 12]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", 700, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", 1200, "NAN", "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "fcc",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 9, 10, 11, 12, 12, 12],
|
|
"LimitInfo": [0, 0, 0, 0, 0, 12, 12]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE-WLC",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
|
|
"Coefficient":[0.51, 0.25, 0.24],
|
|
"HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", 5, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", 800, "NAN", "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", 300, "NAN", "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", 6000, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", 2, "NAN", "NAN", "NAN", "NAN"]
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [0.5, 0.5, 0.8, 1.0, 1.0, 1.0, 1.0]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "dc_icl",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 5, 8, 11, 12, 12, 12],
|
|
"LimitInfo": [0, 0, 0, 0, 0, 12, 12]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"cellular-emergency",
|
|
"Type":"POWER_AMPLIFIER",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"skin_therm1",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 54.0, "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
|
"Multiplier":0.001,
|
|
"SendCallback":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"USB-MINUS-SKIN2",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["usb_pwr_therm", "skin_therm2"],
|
|
"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",
|
|
"Version":"0.1",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
|
|
"Coefficient":[40000, 10000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "2.0", "NAN", "NAN"],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "usbc-port",
|
|
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
|
}
|
|
],
|
|
"VrThreshold":"NAN",
|
|
"Multiplier":1,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-USB-UI",
|
|
"Type":"USB_PORT",
|
|
"Version":"0.1",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Combination":["usb_pwr_therm", "USB-MINUS-SKIN2"],
|
|
"Coefficient":[40000, 13000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "2.0", "NAN"],
|
|
"VrThreshold":"NAN",
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"LITTLE",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"MID",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"BIG",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"G3D",
|
|
"Type":"GPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"TPU",
|
|
"Type":"NPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 115.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"battery_cycle",
|
|
"Type":"BCL_VOLTAGE",
|
|
"Multiplier":1,
|
|
"Monitor":false
|
|
},
|
|
{
|
|
"Name":"critical-battery-cell",
|
|
"Type":"BCL_VOLTAGE",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "vdroop1",
|
|
"Combination":["battery", "battery_cycle", "vdroop1"],
|
|
"Coefficient":[-10000, 400, 1000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"FLASH_LED_REDUCE",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "vdroop1",
|
|
"Combination":["battery", "battery_cycle", "vdroop1"],
|
|
"Coefficient":[-10000, 400, 1000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"SendPowerHint":true
|
|
},
|
|
{
|
|
"Name":"soc",
|
|
"Type":"BCL_PERCENTAGE",
|
|
"HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"BCL_TPU_LOW_TEMP",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"TriggerSensor": "ocp_tpu",
|
|
"Combination":["ocp_tpu", "battery"],
|
|
"Coefficient":[1, -10],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_GPU_LOW_TEMP",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"TriggerSensor": "ocp_gpu",
|
|
"Combination":["ocp_gpu", "battery"],
|
|
"Coefficient":[1, -10],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 11, 11, 11]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_BATOILO_GPU_LOW_TEMP",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "batoilo",
|
|
"Combination":["batoilo", "ocp_gpu", "battery"],
|
|
"Coefficient":[5000, 12000, -1000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 11, 11, 11]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_BATOILO_TPU_LOW_TEMP",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "batoilo",
|
|
"Combination":["batoilo", "ocp_tpu", "battery"],
|
|
"Coefficient":[5000, 12000, -1000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_BATOILO_GPU",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "batoilo",
|
|
"Combination":["batoilo", "ocp_gpu"],
|
|
"Coefficient":[5000, 12000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_BATOILO_TPU",
|
|
"Type":"BCL_CURRENT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "batoilo",
|
|
"Combination":[
|
|
"batoilo",
|
|
"ocp_tpu"
|
|
],
|
|
"Coefficient":[5000, 12000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true,
|
|
"PassiveDelay":500,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"batoilo",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
},
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"BCL_AUDIO_BAACL",
|
|
"Type":"BCL_VOLTAGE",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "soc",
|
|
"Combination":["battery", "soc"],
|
|
"Coefficient":[-25000, 80],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"vdroop1",
|
|
"Type":"BCL_VOLTAGE",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 2, 2, 2]
|
|
},
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"vdroop2",
|
|
"Type":"BCL_VOLTAGE",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
|
|
},
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"smpl_gm",
|
|
"Type":"BCL_VOLTAGE",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
},
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"ocp_cpu1",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Hidden":true
|
|
},
|
|
{
|
|
"Name":"ocp_cpu2",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Hidden":true
|
|
},
|
|
{
|
|
"Name":"ocp_tpu",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"ocp_gpu",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"soft_ocp_cpu2",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"soft_ocp_cpu1",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Monitor":true
|
|
},
|
|
{
|
|
"Name":"soft_ocp_tpu",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Hidden":true
|
|
},
|
|
{
|
|
"Name":"soft_ocp_gpu",
|
|
"Type":"BCL_CURRENT",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
|
|
"Multiplier":1,
|
|
"Hidden":true
|
|
}
|
|
],
|
|
"CoolingDevices":[
|
|
{
|
|
"Name":"thermal-cpufreq-0",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
|
|
"State2Power":[1100, 1050, 1000, 950, 900, 850, 800, 750, 700, 650, 600]
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-1",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
|
|
"State2Power":[1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-2",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
|
|
"State2Power":[1450, 1400, 1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000, 950, 900, 850, 800, 750]
|
|
},
|
|
{
|
|
"Name":"thermal-gpufreq-0",
|
|
"Type":"GPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
|
|
"State2Power":[4599, 3727, 3259, 2378, 2044, 1813, 1449, 1223, 1007, 804, 633, 452]
|
|
},
|
|
{
|
|
"Name":"fcc",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"dc_icl",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"usbc-port",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"tpu_cooling",
|
|
"Type":"NPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
|
}
|
|
],
|
|
"PowerRails":[
|
|
{
|
|
"Name":"VSYS_PWR_WLAN_BT"
|
|
},
|
|
{
|
|
"Name":"VSYS_PWR_DISPLAY"
|
|
},
|
|
{
|
|
"Name":"VSYS_PWR_MODEM"
|
|
},
|
|
{
|
|
"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":"S5M_VDD_INT"
|
|
},
|
|
{
|
|
"Name":"S1M_VDD_MIF"
|
|
},
|
|
{
|
|
"Name":"S2S_VDD_G3D",
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":1
|
|
},
|
|
{
|
|
"Name":"PARTIAL_SYSTEM_POWER",
|
|
"VirtualRails":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["VSYS_PWR_MODEM", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S1M_VDD_MIF", "S2S_VDD_G3D", "VSYS_PWR_WLAN_BT", "VSYS_PWR_DISPLAY"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"PowerSampleDelay":14000,
|
|
"PowerSampleCount":5
|
|
}
|
|
]
|
|
}
|