diff options
author | Gopala Krishna Nuthaki <gnuthaki@codeaurora.org> | 2021-01-18 15:51:39 +0530 |
---|---|---|
committer | Gopala Krishna Nuthaki <gnuthaki@codeaurora.org> | 2021-01-18 15:51:39 +0530 |
commit | e92086972b132a93ff6bd855b4e27d53f55fa8e2 (patch) | |
tree | 8b926f2dd2c16f160a566734e99ba968f1324988 | |
parent | 21d4768a4fc8083b621fb90f4c47e7517fa8119f (diff) |
thermal-hal: Add thermal HAL 2.0 support for yupik
Add thermal HAL 2.0 support for yupik target.
Change-Id: I1cb8ec1c56d20d92f92974f5e7cd095ae8acbf6c
Signed-off-by: Gopala Krishna Nuthaki <gnuthaki@codeaurora.org>
-rw-r--r-- | thermalConfig.cpp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/thermalConfig.cpp b/thermalConfig.cpp index bb0d32f..a77311f 100644 --- a/thermalConfig.cpp +++ b/thermalConfig.cpp @@ -617,6 +617,63 @@ namespace implementation { }, }; + std::vector<struct target_therm_cfg> sensor_cfg_yupik = { + { + TemperatureType::CPU, + cpu_sensors_lahaina, + "", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::GPU, + { "gpuss-0-usr" }, + "GPU0", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::GPU, + { "gpuss-1-usr" }, + "GPU1", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::NPU, + { "nspss-0-usr" }, + "nsp0", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::NPU, + { "nspss-1-usr" }, + "nsp1", + 95000, + 115000, + 95000, + true, + }, + { + TemperatureType::SKIN, + { "quiet-therm-usr" }, + "skin", + 40000, + 95000, + 40000, + true, + }, + }; + struct target_therm_cfg bat_conf = { TemperatureType::BATTERY, { "battery" }, @@ -676,6 +733,7 @@ namespace implementation { {456, lahaina_common}, // lahaina-atp {450, lahaina_common}, // shima {454, sensor_cfg_holi}, // holi + {475, sensor_cfg_yupik}, // yupik }; const std::unordered_map<int, std::vector<struct target_therm_cfg>> |