thermal: add TPU throttling for SKIN thermal optimization

Bug: 188701596
Test: Verified by emul temp
Change-Id: I37300afd1aa9678b22e7108c918b515f83347f37
This commit is contained in:
TeYuan Wang 2021-08-06 16:11:16 +08:00 committed by TreeHugger Robot
parent 773ca4e2ae
commit 3f4c1166f6
2 changed files with 18 additions and 0 deletions

View file

@ -399,6 +399,10 @@
"CdevFloorWithPowerLink": [0, 1, 1, 2, 5, 5, 5],
"ReleaseLogic": "RELEASE_TO_FLOOR",
"ThrottlingWithPowerLink":true
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 1, 2, 3, 4, 4, 4]
}
]
},
@ -1076,6 +1080,11 @@
{
"Name":"usbc-port",
"Type":"BATTERY"
},
{
"Name":"tpu_cooling",
"Type":"NPU",
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
}
],
"PowerRails":[

View file

@ -399,6 +399,10 @@
"CdevFloorWithPowerLink": [0, 1, 1, 2, 3, 4, 4],
"ReleaseLogic": "RELEASE_TO_FLOOR",
"ThrottlingWithPowerLink":true
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 1, 2, 3, 4, 4, 4]
}
]
},
@ -1080,6 +1084,11 @@
{
"Name":"usbc-port",
"Type":"BATTERY"
},
{
"Name":"tpu_cooling",
"Type":"NPU",
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
}
],
"PowerRails":[