Move shusky thermal .json files into thermal/ and perf configs into perf/. Also move the configs into device-shusky-common.mk, allowing override of the config file path. Bug: 277993984 Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
280 lines
11 KiB
JSON
280 lines
11 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", 60.0],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"neutral_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 49.4, "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/neutral_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"north_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 32, "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/north_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"charge_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 56.4, "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/charge_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 35.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":"cam_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 33.8, "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/cam_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 30.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/disp_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"soc_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 50.5, "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/soc_therm/tz_temp",
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", 36.8, "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/quiet_therm/tz_temp",
|
|
"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.04, 0.02, 0.01, 0.12, 0.66, 0.12, 0, 0, 0],
|
|
"Offset":340,
|
|
"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.13, 0, 0, 0.08, 0.77, 0.03, 0, 0, 0],
|
|
"Offset":-880,
|
|
"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.03, 0.12, 0.26, 0.08, 0.2, 0, 0.06, 0.01, 0.06],
|
|
"Offset":3950,
|
|
"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.29, 0, 0, 0, 0.7, 0.15, 0, 0, 0],
|
|
"Offset":-6040,
|
|
"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.23, 0, 0.01, 0.08, 0.68, 0, 0.01, 0, 0],
|
|
"Offset":-750,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CHARGE",
|
|
"Type":"UNKNOWN",
|
|
"Version":"2.0",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"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"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 25.0, 39.0, 41.0, 45.0, 47, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":60000,
|
|
"PassiveDelay":60000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", 1000, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", 30, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", 40, "NAN", "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", 2000, "NAN", "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", 3600, "NAN", "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", 0, "NAN", "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", 10000, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", 14, "NAN", "NAN", "NAN", "NAN"],
|
|
"I_Default":2000
|
|
},
|
|
"ExcludedPowerInfo": [
|
|
{
|
|
"PowerRail": "PARTIAL_SYSTEM_POWER",
|
|
"PowerWeight": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
|
|
}
|
|
],
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "chg_mdis",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"CdevCeiling": [0, 5, 8, 8, 9, 9, 9],
|
|
"LimitInfo": [0, 0, 0, 0, 0, 9, 9]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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, -6],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-USB-THROTTLING",
|
|
"Type":"USB_PORT",
|
|
"VirtualSensor":true,
|
|
"Formula":"COUNT_THRESHOLD",
|
|
"TriggerSensor": "usb_pwr_therm",
|
|
"Combination":["usb_pwr_therm", "usb_pwr_therm", "USB-MINUS-NEUTRAL", "USB_QUIET_RFFE"],
|
|
"Coefficient":[46000, 46000, 10000, 4000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "3.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", "L9S_GNSS_CORE", "L21S_VDD2L_MEM", "VSYS_PWR_DISPLAY", "VSYS_PWR_WLAN_BT", "VSYS_PWR_MMWAVE", "S1M_VDD_MIF", "S2M_VDD_CPUCL2", "S3M_VDD_CPUCL1", "S4M_VDD_CPUCL0", "S5M_VDD_INT", "S6M_LLDO1", "S7M_VDD_TPU", "S8M_LLDO2", "L22M_DISP", "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, 1.0, 1.0, 1.0],
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":5
|
|
}
|
|
]
|
|
}
|