Merge "thermal: Low power shutdown policy bringup" into main

This commit is contained in:
Treehugger Robot 2025-01-17 07:15:34 -08:00 committed by Android (Google) Code Review
commit c595dd1078
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",
@ -3426,6 +3446,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",
@ -3426,6 +3446,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",
@ -3426,6 +3446,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",