thermal: enable tpu and gxp thermal mitigations
Add cooling devices to enable TPU and GXP throttling Bug: 270211512 Test: Build and boot on device. Check thermal throttling Change-Id: I1bd4086846a6417e9426f89872df69351928920e Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
parent
135e67ea1a
commit
e8003f5961
2 changed files with 26 additions and 0 deletions
|
@ -235,6 +235,14 @@
|
|||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "gxp-cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -464,6 +472,11 @@
|
|||
"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",
|
||||
|
|
|
@ -225,6 +225,14 @@
|
|||
"PollingDelay":300000,
|
||||
"PassiveDelay":7000,
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "tpu_cooling",
|
||||
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "gxp-cooling",
|
||||
"LimitInfo": [0, 0, 0, 0, 0, 6, 6]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -454,6 +462,11 @@
|
|||
"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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue