diff options
author | Priyansh Jain <quic_priyjain@quicinc.com> | 2022-03-09 10:10:43 +0530 |
---|---|---|
committer | Jake Weinstein <jake@aospa.co> | 2023-03-09 00:54:07 +0900 |
commit | 323b3b47920bb9ed9f1ac72435919158592acf9c (patch) | |
tree | 4cff434e4eb74fb5e4469a517293c759c5877973 /thermalConfig.cpp | |
parent | 54dcf926b55831e13f0c3c3636fb52d58ecea905 (diff) |
thermal-hal: Add support for neo configuration
Add support for neo configuration to include all the CPU, GPU, NSP.
Change-Id: Ie0e63def4e5456cd8c45593ba1d388f1af7ed051
Diffstat (limited to 'thermalConfig.cpp')
-rw-r--r-- | thermalConfig.cpp | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/thermalConfig.cpp b/thermalConfig.cpp index 632764b..7083e34 100644 --- a/thermalConfig.cpp +++ b/thermalConfig.cpp @@ -1247,6 +1247,71 @@ namespace implementation { }, }; + std::vector<std::string> cpu_sensors_neo = + { + "cpu-0-0", + "cpu-0-1", + "cpu-0-2", + "cpu-0-3", + }; + + std::vector<struct target_therm_cfg> neo_common = { + { + TemperatureType::CPU, + cpu_sensors_neo, + "", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::GPU, + { "gpuss-0" }, + "GPU0", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::GPU, + { "gpuss-1" }, + "GPU1", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::NPU, + { "nspss-0" }, + "nsp0", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::NPU, + { "nspss-1" }, + "nsp1", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::NPU, + { "nspss-2" }, + "nsp2", + 95000, + 115000, + 95000, + true, + }, + }; + struct target_therm_cfg bat_conf = { TemperatureType::BATTERY, { "battery" }, @@ -1339,6 +1404,8 @@ namespace implementation { {530, waipio_common}, // cape {531, waipio_common}, // cape {540, waipio_common}, // cape + {525, neo_common}, + {554, neo_common}, {519, kalama_common}, //Kalama {536, kalama_common}, //Kalamap {600, kalama_common}, //Kalama_sg |