thermal: add initial CDEV and SKIN policy
Bug: 301173997 Test: adb shell dumpsys android.hardware.thermal.IThermal/default Change-Id: I8248743b360f005c3eec0ccd400018b310fb592b
This commit is contained in:
parent
0581ddfb0e
commit
58af1aac05
1 changed files with 50 additions and 0 deletions
|
@ -15,6 +15,16 @@
|
||||||
"VrThreshold":"NAN",
|
"VrThreshold":"NAN",
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name":"soc_therm",
|
||||||
|
"Type":"SKIN",
|
||||||
|
"HotThreshold":["NAN", 139.0, 143.0, 145.0, 146.5, 152.0, 155.0],
|
||||||
|
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.4, 1.9, 1.9],
|
||||||
|
"Multiplier":0.001,
|
||||||
|
"SendCallback":true,
|
||||||
|
"PollingDelay":300000,
|
||||||
|
"PassiveDelay":7000
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name":"LITTLE",
|
"Name":"LITTLE",
|
||||||
"Type":"CPU",
|
"Type":"CPU",
|
||||||
|
@ -60,5 +70,45 @@
|
||||||
"VrThreshold":"NAN",
|
"VrThreshold":"NAN",
|
||||||
"Multiplier":0.001
|
"Multiplier":0.001
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"CoolingDevices":[
|
||||||
|
{
|
||||||
|
"Name":"thermal-cpufreq-0",
|
||||||
|
"Type":"CPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"thermal-cpufreq-1",
|
||||||
|
"Type":"CPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"thermal-cpufreq-2",
|
||||||
|
"Type":"CPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"thermal-gpufreq-0",
|
||||||
|
"Type":"GPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"chg_mdis",
|
||||||
|
"Type":"BATTERY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"usbc-port",
|
||||||
|
"Type":"BATTERY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"tpu_cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"gxp-cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue