thermal: add tpu/aur power hints for emergency severity am: 14edfc76be

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18572658

Change-Id: I0f5862b153d94c0f5abbf758fc6cc603d7f7ca74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sayanna Chandula 2022-05-24 23:57:04 +00:00 committed by Automerger Merge Worker
commit 11af3344eb
2 changed files with 48 additions and 64 deletions

View file

@ -385,16 +385,6 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": false "ResetOnInit": false
}, },
{
"Name": "IspControlTempSet",
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp",
"Values": [
"100000",
"80000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{ {
"Name": "AurControlTempSet", "Name": "AurControlTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
@ -455,16 +445,6 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": false "ResetOnInit": false
}, },
{
"Name": "IspSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp",
"Values": [
"80000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{ {
"Name": "AurSwitchOnTempSet", "Name": "AurSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
@ -1481,12 +1461,6 @@
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "IspControlTempSet",
"Duration": 0,
"Value": "80000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "AurControlTempSet", "Node": "AurControlTempSet",
@ -1523,12 +1497,6 @@
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "IspSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "AurSwitchOnTempSet", "Node": "AurSwitchOnTempSet",
@ -1655,6 +1623,18 @@
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "TpuControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "AurControlTempSet",
"Duration": 0,
"Value": "80000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
@ -1679,6 +1659,18 @@
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{ {
"PowerHint": "ML_ACC", "PowerHint": "ML_ACC",
"Node": "MLUclampBoost", "Node": "MLUclampBoost",

View file

@ -385,16 +385,6 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": false "ResetOnInit": false
}, },
{
"Name": "IspControlTempSet",
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_2_temp",
"Values": [
"100000",
"80000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{ {
"Name": "AurControlTempSet", "Name": "AurControlTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp",
@ -455,16 +445,6 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": false "ResetOnInit": false
}, },
{
"Name": "IspSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/ISP/trip_point_1_temp",
"Values": [
"80000",
"60000"
],
"DefaultIndex": 0,
"ResetOnInit": false
},
{ {
"Name": "AurSwitchOnTempSet", "Name": "AurSwitchOnTempSet",
"Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp",
@ -1465,12 +1445,6 @@
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "IspControlTempSet",
"Duration": 0,
"Value": "80000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "AurControlTempSet", "Node": "AurControlTempSet",
@ -1507,12 +1481,6 @@
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "IspSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT",
"Node": "AurSwitchOnTempSet", "Node": "AurSwitchOnTempSet",
@ -1639,6 +1607,18 @@
"Duration": 0, "Duration": 0,
"Value": "80000" "Value": "80000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "TpuControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "AurControlTempSet",
"Duration": 0,
"Value": "80000"
},
{ {
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "BigSwitchOnTempSet", "Node": "BigSwitchOnTempSet",
@ -1663,6 +1643,18 @@
"Duration": 0, "Duration": 0,
"Value": "60000" "Value": "60000"
}, },
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{ {
"PowerHint": "ML_ACC", "PowerHint": "ML_ACC",
"Node": "MLUclampBoost", "Node": "MLUclampBoost",