From e192873f423b072994f60d63f839efdec9033653 Mon Sep 17 00:00:00 2001
From: George Lee <geolee@google.com>
Date: Wed, 9 Feb 2022 09:42:01 -0800
Subject: [PATCH] thermal: enable TPU/GPU cooling for BCL sensors

Bug: 218336859
Test: Boot and confirm state change
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I1475dd3fef29d9615962c2712de907b190826019
---
 thermal_info_config_ravenclaw.json | 32 ++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/thermal_info_config_ravenclaw.json b/thermal_info_config_ravenclaw.json
index 8d0874f4..58dc6006 100644
--- a/thermal_info_config_ravenclaw.json
+++ b/thermal_info_config_ravenclaw.json
@@ -187,6 +187,14 @@
                 {
                     "CdevRequest": "thermal-cpufreq-2",
                     "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
+                },
+                {
+                    "CdevRequest": "thermal-gpufreq-0",
+                    "LimitInfo": [0, 0, 0, 0, 10, 11, 11]
+                },
+                {
+                    "CdevRequest": "tpu_cooling",
+                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
                 }
 	    ]
         },
@@ -218,6 +226,14 @@
                 {
                     "CdevRequest": "thermal-cpufreq-2",
                     "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
+                },
+                {
+                    "CdevRequest": "thermal-gpufreq-0",
+                    "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
+                },
+                {
+                    "CdevRequest": "tpu_cooling",
+                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
                 }
 	    ]
         },
@@ -249,6 +265,14 @@
                 {
                     "CdevRequest": "thermal-cpufreq-2",
                     "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
+                },
+                {
+                    "CdevRequest": "thermal-gpufreq-0",
+                    "LimitInfo": [0, 0, 0, 0, 15, 15, 15]
+                },
+                {
+                    "CdevRequest": "tpu_cooling",
+                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
                 }
 	    ]
         },
@@ -280,6 +304,14 @@
                 {
                     "CdevRequest": "thermal-cpufreq-2",
                     "LimitInfo": [0, 0, 0, 0, 7, 10, 10]
+                },
+                {
+                    "CdevRequest": "thermal-gpufreq-0",
+                    "LimitInfo": [0, 0, 0, 0, 13, 13, 13]
+                },
+                {
+                    "CdevRequest": "tpu_cooling",
+                    "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
                 }
 	    ]
         },
-- 
GitLab