Bug: 259641711 Test: used local build to verify change in VIRTUAL-SKIN Change-Id: I58f652789bb4772bc4003f734dfe4bdd584f924d
503 lines
17 KiB
JSON
503 lines
17 KiB
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"neutral_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"quiet_therm",
|
|
"Type":"UNKNOWN",
|
|
"HotThreshold":["NAN", "35.0", "NAN", "NAN", "NAN", "NAN", "NAN"],
|
|
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"charger_skin_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/charger_skin_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"disp_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/disp_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"usb_pwr_therm2",
|
|
"Type":"UNKNOWN",
|
|
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-FRONT-SOC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.484", "1.081", "0.093", "-0.003"],
|
|
"Offset":6435,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-FRONT-BL",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["0.132", "-0.195", "0.006", "0.975"],
|
|
"Offset":2769,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-BACK-SOC",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.120", "0.785", "0.153", "-0.079"],
|
|
"Offset":5971,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-BACK-CHARGER",
|
|
"Type":"UNKNOWN",
|
|
"Hidden":true,
|
|
"VirtualSensor":true,
|
|
"Formula":"WEIGHTED_AVG",
|
|
"Combination":["neutral_therm", "quiet_therm", "charger_skin_therm", "disp_therm"],
|
|
"Coefficient":["-0.148", "0.666", "0.256", "-0.079"],
|
|
"Offset":7137,
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"VIRTUAL-SKIN",
|
|
"Type":"SKIN",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"quiet_therm",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
|
|
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
|
|
"HotThreshold":["NAN", "39.0", "43.0", "45.0", "47.0", "51.0", "140.0"],
|
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
|
|
"Multiplier":0.001,
|
|
"SendPowerHint":true,
|
|
"Monitor":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"cellular-emergency",
|
|
"Type":"POWER_AMPLIFIER",
|
|
"VirtualSensor":true,
|
|
"TriggerSensor":"quiet_therm",
|
|
"Formula":"MAXIMUM",
|
|
"Combination":["VIRTUAL-FRONT-SOC", "VIRTUAL-FRONT-BL", "VIRTUAL-BACK-SOC", "VIRTUAL-BACK-CHARGER"],
|
|
"Coefficient":["1.0", "1.0", "1.0", "1.0"],
|
|
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "138.0", "NAN"],
|
|
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
|
"Multiplier":0.001,
|
|
"Monitor":true,
|
|
"PollingDelay":300000,
|
|
"PassiveDelay":7000
|
|
},
|
|
{
|
|
"Name":"LITTLE",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"MID",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"BIG",
|
|
"Type":"CPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"G3D",
|
|
"Type":"GPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"TPU",
|
|
"Type":"NPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"AUR",
|
|
"Type":"NPU",
|
|
"Multiplier":0.001
|
|
},
|
|
{
|
|
"Name":"ISP",
|
|
"Type":"NPU",
|
|
"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", 70, "NAN", "NAN", "NAN", "NAN"],
|
|
"Multiplier":1
|
|
},
|
|
{
|
|
"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,
|
|
"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,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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,
|
|
"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,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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,
|
|
"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,
|
|
"Monitor":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":60000,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
|
},
|
|
{
|
|
"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":[-45000, 70],
|
|
"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,
|
|
"Monitor":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":60000,
|
|
"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,
|
|
"Monitor":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":60000,
|
|
"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":"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,
|
|
"Monitor":true,
|
|
"PollingDelay":0,
|
|
"PassiveDelay":60000,
|
|
"BindedCdevInfo": [
|
|
{
|
|
"CdevRequest": "thermal-cpufreq-2",
|
|
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
},
|
|
{
|
|
"CdevRequest": "thermal-gpufreq-0",
|
|
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"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":[4371, 3543, 3085, 2293, 1927, 1707, 1394, 1171, 967, 768, 592, 433]
|
|
},
|
|
{
|
|
"Name":"tpu_cooling",
|
|
"Type":"NPU",
|
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
|
}
|
|
]
|
|
}
|