From abf58c7e95c5e452dda9b7051ddff7bdf7dc44df Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Tue, 8 Feb 2022 23:04:54 +0000 Subject: [PATCH] thermal: add TPU/GPU cooling devices Add the missing cooling devices for TPU/GPU in thermal config Bug: 218541675 Test: build and boot on device. Check cooling devices Signed-off-by: Sayanna Chandula Change-Id: Id17aa79b58e25a640412a8f1893c3e45f8e2051a --- thermal_info_config_cloudripper.json | 10 ++++++++++ thermal_info_config_ravenclaw.json | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/thermal_info_config_cloudripper.json b/thermal_info_config_cloudripper.json index f2c0507..4e4b16a 100644 --- a/thermal_info_config_cloudripper.json +++ b/thermal_info_config_cloudripper.json @@ -544,6 +544,16 @@ "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + }, + { + "Name":"thermal-gpufreq-0", + "Type":"GPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote" + }, + { + "Name":"tpu_cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" } ], "PowerRails":[ diff --git a/thermal_info_config_ravenclaw.json b/thermal_info_config_ravenclaw.json index 207916c..8d0874f 100644 --- a/thermal_info_config_ravenclaw.json +++ b/thermal_info_config_ravenclaw.json @@ -517,6 +517,16 @@ "Type":"CPU", "WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote", "State2Power":["1450", "1400", "1350", "1300", "1250", "1200", "1150", "1100", "1050", "1000", "950", "900", "850", "800", "750"] + }, + { + "Name":"thermal-gpufreq-0", + "Type":"GPU", + "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote" + }, + { + "Name":"tpu_cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" } ], "PowerRails":[