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:
Sayanna Chandula 2023-02-21 14:21:02 -08:00
parent 135e67ea1a
commit e8003f5961
2 changed files with 26 additions and 0 deletions

View file

@ -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",

View file

@ -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",