bcl: Update soft_ocp cooling device
Add cooling device for soft_ocp_warn.
Bug: 188701596
Test: Local test and check trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife680d79467d9a07e14cc890d60f35aba02c0b65
diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json
index 68b8792..cb9757a 100644
--- a/thermal_info_config_oriole.json
+++ b/thermal_info_config_oriole.json
@@ -897,7 +897,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"ocp_gpu",
@@ -997,7 +1003,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"soft_ocp_gpu",
diff --git a/thermal_info_config_oriole_WHI_A.json b/thermal_info_config_oriole_WHI_A.json
index ba7f348..3683359 100644
--- a/thermal_info_config_oriole_WHI_A.json
+++ b/thermal_info_config_oriole_WHI_A.json
@@ -570,7 +570,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"ocp_gpu",
@@ -670,7 +676,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"soft_ocp_gpu",
@@ -737,6 +749,11 @@
"Type":"GPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
"State2Power":["2580", "2033", "1427", "826", "358"]
+ },
+ {
+ "Name":"tpu_cooling",
+ "Type":"NPU",
+ "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
}
],
"PowerRails":[
diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json
index 786cd56..5bec3b0 100644
--- a/thermal_info_config_raven.json
+++ b/thermal_info_config_raven.json
@@ -897,7 +897,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"ocp_gpu",
@@ -997,7 +1003,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
- "Monitor":true
+ "Monitor":true,
+ "BindedCdevInfo": [
+ {
+ "CdevRequest": "tpu_cooling",
+ "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
+ }
+ ]
},
{
"Name":"soft_ocp_gpu",