diff options
author | qctecmdr <qctecmdr@localhost> | 2021-01-21 02:36:30 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-01-21 02:36:30 -0800 |
commit | 3c70b492e49854df0d25f67380e17272dd9d7b66 (patch) | |
tree | 21768295c647327b0982215321d5128db48e436c /thermalConfig.cpp | |
parent | 15c2bdc9e917d573ef6ead36c27c547791c7a1b8 (diff) | |
parent | e92086972b132a93ff6bd855b4e27d53f55fa8e2 (diff) |
Merge "thermal-hal: Add thermal HAL 2.0 support for yupik"
Diffstat (limited to 'thermalConfig.cpp')
-rw-r--r-- | thermalConfig.cpp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/thermalConfig.cpp b/thermalConfig.cpp index 79e5c77..294682f 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" }, @@ -678,6 +735,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>> |