summaryrefslogtreecommitdiff
path: root/thermalCommon.cpp
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>2022-02-25 01:14:32 +0530
committerManaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>2022-02-25 01:14:32 +0530
commita2c882ab5231322066ae51f63b69b2407ff7aa1b (patch)
tree0336990f1a9d0c68c7406f539184b27bdaa9f2d2 /thermalCommon.cpp
parent88df48b2e186d1cba5eda74d9c8c9c9c5d9bee2f (diff)
thermal-hal: update hal cooling device list
Update different hal supported cooling devices based on latest kernel cooling devices. Change-Id: I1b2560959c019683b1abe4d28d08ff1c0a23cdb1
Diffstat (limited to 'thermalCommon.cpp')
-rw-r--r--thermalCommon.cpp23
1 files changed, 22 insertions, 1 deletions
diff --git a/thermalCommon.cpp b/thermalCommon.cpp
index f5a6a8c..7abda1a 100644
--- a/thermalCommon.cpp
+++ b/thermalCommon.cpp
@@ -71,7 +71,16 @@ static std::unordered_map<std::string, cdevType> cdev_map = {
{"thermal-cpufreq-5", cdevType::CPU},
{"thermal-cpufreq-6", cdevType::CPU},
{"thermal-cpufreq-7", cdevType::CPU},
- {"thermal-cluster-7-4", cdevType::CPU},
+ {"cpufreq-cpu0", cdevType::CPU},
+ {"cpufreq-cpu1", cdevType::CPU},
+ {"cpufreq-cpu2", cdevType::CPU},
+ {"cpufreq-cpu3", cdevType::CPU},
+ {"cpufreq-cpu4", cdevType::CPU},
+ {"cpufreq-cpu5", cdevType::CPU},
+ {"cpufreq-cpu6", cdevType::CPU},
+ {"cpufreq-cpu7", cdevType::CPU},
+ {"thermal-cluster-4-7", cdevType::CPU},
+ {"thermal-cluster-3-7", cdevType::CPU},
{"cpu-isolate0", cdevType::CPU},
{"cpu-isolate1", cdevType::CPU},
{"cpu-isolate2", cdevType::CPU},
@@ -80,8 +89,20 @@ static std::unordered_map<std::string, cdevType> cdev_map = {
{"cpu-isolate5", cdevType::CPU},
{"cpu-isolate6", cdevType::CPU},
{"cpu-isolate7", cdevType::CPU},
+ {"thermal-pause-1", cdevType::CPU},
+ {"thermal-pause-2", cdevType::CPU},
+ {"thermal-pause-4", cdevType::CPU},
+ {"thermal-pause-8", cdevType::CPU},
+ {"thermal-pause-10", cdevType::CPU},
+ {"thermal-pause-20", cdevType::CPU},
+ {"thermal-pause-40", cdevType::CPU},
+ {"thermal-pause-80", cdevType::CPU},
{"thermal-devfreq-0", cdevType::GPU},
+ {"devfreq-3d00000.qcom,kgsl-3d0", cdevType::GPU},
{"modem_tj", cdevType::MODEM},
+ {"modem_lte_dsc", cdevType::MODEM},
+ {"modem_nr_dsc", cdevType::MODEM},
+ {"modem_nr_scg_dsc", cdevType::MODEM},
{"cdsp", cdevType::NPU},
{"cdsp_hw", cdevType::NPU},
{"battery", cdevType::BATTERY},