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 <sayanna@google.com>
Change-Id: Id17aa79b58e25a640412a8f1893c3e45f8e2051a
This commit is contained in:
Sayanna Chandula 2022-02-08 23:04:54 +00:00
parent 0952694db7
commit abf58c7e95
2 changed files with 20 additions and 0 deletions

View file

@ -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":[

View file

@ -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":[