summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcongying <quic_congying@quicinc.com>2022-11-17 18:42:50 +0800
committerJake Weinstein <jake@aospa.co>2023-03-09 01:10:11 +0900
commit7d928f9234cfe3c6d8667eae5fc5ca6e0328fffe (patch)
tree3bf5bdcc2c6761852766f950d3d0f39a4dfab3b4
parent011d4bb77cbdcbf158d75c3ab88e6d0942959fed (diff)
thermal-hal: Add fan cdev type thermal hal support for Anorak
Add fan cooling device type thermal hal support for Anorak.
-rw-r--r--thermalCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/thermalCommon.cpp b/thermalCommon.cpp
index cf5a998..bdbf24f 100644
--- a/thermalCommon.cpp
+++ b/thermalCommon.cpp
@@ -139,6 +139,7 @@ static std::unordered_map<std::string, cdevType> cdev_map = {
{"cdsp", cdevType::NPU},
{"cdsp_hw", cdevType::NPU},
{"battery", cdevType::BATTERY},
+ {"fan-max31760", cdevType::FAN},
};
ThermalCommon::ThermalCommon()