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
745 lines
30 KiB
JSON
745 lines
30 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":"battery_cycle",
|
|
"Type":"BCL_VOLTAGE"
|
|
},
|
|
{
|
|
"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,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000,
|
|
"SendCallback":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,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000,
|
|
"SendCallback":true,
|
|
"SendPowerHint":true
|
|
},
|
|
{
|
|
"Name":"soc",
|
|
"Type":"BCL_PERCENTAGE",
|
|
"HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"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,
|
|
"SendCallback":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000
|
|
},
|
|
{
|
|
"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"],
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000,
|
|
"Multiplier":1,
|
|
"SendCallback":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,
|
|
"SendCallback":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000
|
|
},
|
|
{
|
|
"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,
|
|
"SendCallback":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000
|
|
},
|
|
{
|
|
"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,
|
|
"SendCallback":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":1000
|
|
},
|
|
{
|
|
"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-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.24, 0.31, 0.09, 0.05, 0.21, 0.08, 0.01, 0, 0],
|
|
"Offset":-610,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.08, 0.11, 0.24, 0.11, 0.04, 0.28, 0.01, 0, 0],
|
|
"Offset":2900,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.01, 0, 0, 0, 0.32, 0.21, 0.18, 0.08, 0.09],
|
|
"Offset":2790,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.05, 0, 0.01, 0, 0.28, 0.18, 0.06, 0.02, 0.28],
|
|
"Offset":2830,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.02, 0, 0.37, 0.06, 0.39, 0.06, 0, 0.12, 0],
|
|
"Offset":-4050,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.13, 0, 0, 0.08, 0.77, 0.03, 0, 0, 0],
|
|
"Offset":-880,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-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.29, 0, 0, 0, 0.7, 0.15, 0, 0, 0],
|
|
"Offset":-6040,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-SUB-7",
|
|
"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.11, 0.05, 0.04, 0.13, 0.55, 0.02, 0, 0.07, 0],
|
|
"Offset":330,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-SUB-8",
|
|
"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-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-BTS-WINDOW-PARTIAL",
|
|
"Type":"UNKNOWN",
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["cam_therm", "north_therm", "soc_therm"],
|
|
"Coefficient":[0.14, 0.27, 0.03],
|
|
"Offset":1900,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-SPEAKER",
|
|
"Type":"UNKNOWN",
|
|
"Version":"1.0",
|
|
"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.09, 0.01, 0, 0.18, 0.2, 0.21, 0, 0.35, 0.03],
|
|
"Offset":-4990,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN",
|
|
"Type":"SKIN",
|
|
"Version":"3.0",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN-SUB-0", "VIRTUAL-SKIN-SUB-1", "VIRTUAL-SKIN-SUB-2",
|
|
"VIRTUAL-SKIN-SUB-3", "VIRTUAL-SKIN-SUB-4", "VIRTUAL-SKIN-SUB-5",
|
|
"VIRTUAL-SKIN-SUB-6", "VIRTUAL-SKIN-SUB-7", "VIRTUAL-SKIN-SUB-8"],
|
|
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
|
|
"HotThreshold":["NAN", 39.0, 43.0, 45.0, 46.5, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"SendCallback":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "tpu_cooling",
|
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
|
},
|
|
{
|
|
"CdevRequest": "gxp-cooling",
|
|
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-HINT",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN"],
|
|
"Coefficient":[1.0],
|
|
"HotThreshold":["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"SendPowerHint":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CPU",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN"],
|
|
"Coefficient":[1.0],
|
|
"HotThreshold":["NAN", 37.0, 39.0, 41.0, 46.5, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", "NAN", 400, "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", "NAN", 10000, "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
|
|
},
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-0",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S4M_VDD_CPUCL0",
|
|
"CdevCeiling": [0, 12, 12, 12, 12, 14, 14],
|
|
"LimitInfo": [0, 0, 0, 0, 12, 14, 14]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-1",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S3M_VDD_CPUCL1",
|
|
"CdevCeiling": [0, 14, 14, 14, 14, 16, 16],
|
|
"LimitInfo": [0, 0, 0, 0, 14, 16, 16]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 2,
|
|
"BindedPowerRail": "S2M_VDD_CPUCL2",
|
|
"CdevCeiling": [0, 14, 14, 14, 14, 16, 16],
|
|
"LimitInfo": [0, 0, 0, 0, 14, 16, 16]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN-CPU-GPU",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN"],
|
|
"Coefficient":[1.0],
|
|
"HotThreshold":["NAN", 37.0, 43.0, 45.0, 46.5, 52.0, 55.0],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"PIDInfo": {
|
|
"K_Po":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
|
|
"K_Pu":["NAN", "NAN", "NAN", 300, "NAN", "NAN", "NAN"],
|
|
"K_I":["NAN", "NAN", "NAN", 5, "NAN", "NAN", "NAN"],
|
|
"K_D":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
|
|
"I_Max":["NAN", "NAN", "NAN", 700, "NAN", "NAN", "NAN"],
|
|
"S_Power":["NAN", "NAN", "NAN", 800, "NAN", "NAN", "NAN"],
|
|
"MinAllocPower":["NAN", "NAN", "NAN", 0, "NAN", "NAN", "NAN"],
|
|
"MaxAllocPower":["NAN", "NAN", "NAN", 3900, "NAN", "NAN", "NAN"],
|
|
"I_Cutoff":["NAN", "NAN", "NAN", 2, "NAN", "NAN", "NAN"]
|
|
},
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-0",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S4M_VDD_CPUCL0",
|
|
"CdevCeiling": [0, 12, 12, 12, 12, 14, 14],
|
|
"LimitInfo": [0, 0, 0, 0, 12, 14, 14]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-1",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S3M_VDD_CPUCL1",
|
|
"CdevCeiling": [0, 14, 14, 14, 14, 16, 16],
|
|
"LimitInfo": [0, 0, 0, 0, 14, 16, 16]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 2,
|
|
"BindedPowerRail": "S2M_VDD_CPUCL2",
|
|
"CdevCeiling": [0, 14, 14, 14, 14, 16, 16],
|
|
"LimitInfo": [0, 0, 0, 0, 14, 16, 16]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
|
|
"MaxReleaseStep": 1,
|
|
"MaxThrottleStep": 1,
|
|
"BindedPowerRail": "S2S_VDD_G3D",
|
|
"CdevCeiling": [0, 8, 8, 8, 9, 11, 11],
|
|
"LimitInfo": [0, 0, 0, 0, 9, 11, 11]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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":"cellular-emergency",
|
|
"Type":"POWER_AMPLIFIER",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":["north_therm", "cam_therm", "soc_therm", "charge_therm", "disp_therm", "neutral_therm", "quiet_therm"],
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-SKIN"],
|
|
"Coefficient":[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-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
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-USB-UI",
|
|
"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":[48000, 48000, 11000, 5000],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "3.0", "NAN"],
|
|
"Multiplier":1,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000,
|
|
"SendCallback":true
|
|
},
|
|
{
|
|
"Name":"LITTLE",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"MID",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"BIG",
|
|
"Type":"CPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"G3D",
|
|
"Type":"GPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"TPU",
|
|
"Type":"NPU",
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":0.001
|
|
}
|
|
],
|
|
"CoolingDevices":[
|
|
{
|
|
"Name":"thermal-cpufreq-0",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-1",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
|
|
},
|
|
{
|
|
"Name":"thermal-cpufreq-2",
|
|
"Type":"CPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
|
|
},
|
|
{
|
|
"Name":"thermal-gpufreq-0",
|
|
"Type":"GPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
|
|
},
|
|
{
|
|
"Name":"chg_mdis",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"usbc-port",
|
|
"Type":"BATTERY"
|
|
},
|
|
{
|
|
"Name":"tpu_cooling",
|
|
"Type":"NPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
|
},
|
|
{
|
|
"Name":"gxp-cooling",
|
|
"Type":"NPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
|
}
|
|
],
|
|
"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", "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],
|
|
"PowerSampleDelay":7000,
|
|
"PowerSampleCount":5
|
|
}
|
|
]
|
|
}
|