thermal: Low power shutdown policy bringup

Bug: 363336093
Bug: 361454856
Bug: 363070211
Test: emul_temp battery and VIRTUAL-SKIN for idle, camera use cases
and check thermal log.

Flag: EXEMPT config change
Change-Id: Ic01a4b5c8bdfa242e05bd560297d4e04d1159fc3
This commit is contained in:
TeYuan Wang 2024-10-31 01:14:53 +00:00 committed by Kame(TeYuan) Wang
parent 6673cb2352
commit bd612e022b
10 changed files with 367 additions and 0 deletions

View file

@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
{
"Name": "ntc_critical_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
"Values": [
"60000",
"70000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "ntc_hot_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
"Values": [
"65000",
"75000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -3398,6 +3418,18 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_critical_trip",
"Duration": 0,
"Value": "70000"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_hot_trip",
"Duration": 0,
"Value": "75000"
},
{
"PowerHint": "GAME",
"Node": "PMU_POLL",

View file

@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
{
"Name": "ntc_critical_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
"Values": [
"60000",
"70000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "ntc_hot_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
"Values": [
"65000",
"75000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -3398,6 +3418,18 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_critical_trip",
"Duration": 0,
"Value": "70000"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_hot_trip",
"Duration": 0,
"Value": "75000"
},
{
"PowerHint": "GAME",
"Node": "PMU_POLL",

View file

@ -888,6 +888,26 @@
"ResetOnInit": true,
"Type": "Property"
},
{
"Name": "ntc_critical_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_1_temp",
"Values": [
"60000",
"70000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "ntc_hot_trip",
"Path": "/dev/thermal/tz-by-name/quiet_therm/trip_point_2_temp",
"Values": [
"65000",
"75000"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -3398,6 +3418,18 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_critical_trip",
"Duration": 0,
"Value": "70000"
},
{
"PowerHint": "THERMAL_ShutdownMode_EMERGENCY",
"Node": "ntc_hot_trip",
"Duration": 0,
"Value": "75000"
},
{
"PowerHint": "GAME",
"Node": "PMU_POLL",