thermal: cleanup thermal settings
Bug: 263547204 Test: boot to home and no thermalHAL crash Change-Id: If4ea2834fcf81c3a89ed1ccf5d343a887562a9b9
This commit is contained in:
parent
1008c1990a
commit
e7a3e4e9c8
2 changed files with 0 additions and 555 deletions
|
@ -181,7 +181,6 @@ endif
|
||||||
# Set zram size
|
# Set zram size
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
vendor.zram.size=3g \
|
vendor.zram.size=3g \
|
||||||
vendor.disable.thermal.control=1 \
|
|
||||||
persist.device_config.configuration.disable_rescue_party=true
|
persist.device_config.configuration.disable_rescue_party=true
|
||||||
|
|
||||||
# Fingerprint HAL
|
# Fingerprint HAL
|
||||||
|
|
|
@ -59,560 +59,6 @@
|
||||||
],
|
],
|
||||||
"VrThreshold":"NAN",
|
"VrThreshold":"NAN",
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"battery_cycle",
|
|
||||||
"Type":"BCL_VOLTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"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"
|
|
||||||
],
|
|
||||||
"VrThreshold":"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"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true,
|
|
||||||
"SendPowerHint":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"soc",
|
|
||||||
"Type":"BCL_PERCENTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
80,
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 10, 11, 11]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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"
|
|
||||||
],
|
|
||||||
"VrThreshold":"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 15, 15, 15]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true,
|
|
||||||
"BindedCdevInfo": [
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 7, 10, 10]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 13, 13, 13]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"CdevRequest": "tpu_cooling",
|
|
||||||
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"ocp_cpu1",
|
|
||||||
"Type":"BCL_CURRENT",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
7000,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"HotHysteresis":[
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
100,
|
|
||||||
0.0,
|
|
||||||
0.0
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"ocp_tpu",
|
|
||||||
"Type":"BCL_CURRENT",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
10500,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"HotHysteresis":[
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
100,
|
|
||||||
0.0,
|
|
||||||
0.0
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"soft_ocp_cpu2",
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"soft_ocp_cpu1",
|
|
||||||
"Type":"BCL_CURRENT",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
7000,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"HotHysteresis":[
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
0.0,
|
|
||||||
100,
|
|
||||||
0.0,
|
|
||||||
0.0
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":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
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"TPU",
|
|
||||||
"Type":"NPU",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
115.0
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":0.001
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"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"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"tpu_cooling",
|
|
||||||
"Type":"NPU",
|
|
||||||
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"PowerRails":[
|
|
||||||
{
|
|
||||||
"Name":"PPVAR_VSYS_PWR_DISP"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"VSYS_PWR_MODEM"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S2M_VDD_CPUCL2",
|
|
||||||
"PowerSampleDelay":14000,
|
|
||||||
"PowerSampleCount":5
|
|
||||||
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S3M_VDD_CPUCL1",
|
|
||||||
"PowerSampleDelay":14000,
|
|
||||||
"PowerSampleCount":5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S4M_VDD_CPUCL0",
|
|
||||||
"PowerSampleDelay":14000,
|
|
||||||
"PowerSampleCount":5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S5M_VDD_INT"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S1M_VDD_MIF"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"S2S_VDD_G3D",
|
|
||||||
"PowerSampleDelay":14000,
|
|
||||||
"PowerSampleCount":5
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue