Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be

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

Change-Id: I183ec3b71ff24eeade0198e542bd97fe6bb51353
This commit is contained in:
Yu(Swim) Chih Ren 2021-06-09 04:37:08 +00:00 committed by Automerger Merge Worker
commit be3aa1785f

View file

@ -188,6 +188,24 @@
""
],
"Type": "Property"
},
{
"Name": "INTCAMFreq",
"Path": "/sys/devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq",
"Values": [
"664000",
"67000"
],
"ResetOnInit": true
},
{
"Name": "TNRFreq",
"Path": "/sys/devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/min_freq",
"Values": [
"664000",
"67000"
],
"ResetOnInit": true
}
],
"Actions": [
@ -321,6 +339,24 @@
"Duration": 0,
"Value": "2"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
"Duration": 1000,
"Value": "3172000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "INTCAMFreq",
"Duration": 1000,
"Value": "664000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "TNRFreq",
"Duration": 1000,
"Value": "664000"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUBigClusterMaxFreq",