From b2276fb72d58da1d7c79e677edbaed4fe9b89a0c Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Fri, 22 Jul 2022 10:07:47 -0700 Subject: [PATCH] Revert "thermal: remove gxp cooling device dependency" This reverts commit af3528b9034a5e590ec1017f9f4b6be4a31d46bb. Re-enable gxp cooling device Bug: 238273184 Test: Build and boot on device Signed-off-by: Sayanna Chandula Change-Id: I6e7eac3f8b15fffccbf64c80f8af7866b9397e4f Merged-In: I6e7eac3f8b15fffccbf64c80f8af7866b9397e4f --- thermal_info_config_cheetah.json | 9 +++++++++ thermal_info_config_panther.json | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/thermal_info_config_cheetah.json b/thermal_info_config_cheetah.json index 200db05..db7f985 100644 --- a/thermal_info_config_cheetah.json +++ b/thermal_info_config_cheetah.json @@ -129,6 +129,10 @@ { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 9, 9] } ] }, @@ -754,6 +758,11 @@ "Name":"tpu_cooling", "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" + }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" } ], "PowerRails":[ diff --git a/thermal_info_config_panther.json b/thermal_info_config_panther.json index 66982e8..57174cf 100644 --- a/thermal_info_config_panther.json +++ b/thermal_info_config_panther.json @@ -129,6 +129,10 @@ { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 9, 9] } ] }, @@ -755,6 +759,11 @@ "Name":"tpu_cooling", "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" + }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" } ], "PowerRails":[