Merge tag 'LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0' into staging/lineage-21.0_merge-LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
# By Nitesh Kumar (2) and Priyansh Jain (1)
# Via Linux Build Service Account (2) and Brahmaiah Gunturu (1)
* tag 'LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0':
thermal-hal: Add camano 4G soc id
thermal-hal: Add camano 4G soc id
thermal-hal: Enable support for lemans auto target
Change-Id: Id3e6d574396c5effabbc147fc0f2933308755924
diff --git a/thermalConfig.cpp b/thermalConfig.cpp
index ed7e73a..75e0a75 100644
--- a/thermalConfig.cpp
+++ b/thermalConfig.cpp
@@ -1854,6 +1854,75 @@
},
};
+ std::vector<std::string> cpu_sensors_lemansAU =
+ {
+ "cpu-0-0-0",
+ "cpu-0-1-0",
+ "cpu-0-2-0",
+ "cpu-0-3-0",
+ "cpu-1-0-0",
+ "cpu-1-1-0",
+ "cpu-1-2-0",
+ "cpu-1-3-0",
+ };
+
+ std::vector<struct target_therm_cfg> lemansAU_common = {
+ {
+ TemperatureType::CPU,
+ cpu_sensors_lemansAU,
+ "",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ {
+ TemperatureType::GPU,
+ { "gpuss-0" },
+ "GPU0",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ {
+ TemperatureType::GPU,
+ { "gpuss-1" },
+ "GPU1",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ {
+ TemperatureType::GPU,
+ { "gpuss-2" },
+ "GPU2",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ {
+ TemperatureType::NPU,
+ { "nsp-0-0-0" },
+ "nsp0",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ {
+ TemperatureType::NPU,
+ { "nsp-1-0-0" },
+ "nsp1",
+ 105000,
+ 118000,
+ 105000,
+ true,
+ },
+ };
+
struct target_therm_cfg bat_conf = {
TemperatureType::BATTERY,
{ "battery" },
@@ -1973,6 +2042,8 @@
{486, sensor_cfg_monaco}, // monaco
{517, sensor_cfg_monaco}, // monaco
{608, crow_common}, //crow
+ {644, crow_common}, //crow 4G
+ {532, lemansAU_common}, //Lemans auto
};
const std::unordered_map<int, std::vector<struct target_therm_cfg>>
@@ -2008,6 +2079,7 @@
{603, kalama_specific}, //Kalama_qcs
{604, kalama_specific}, //Kalama_qcm
{608, crow_specific}, //crow
+ {644, crow_specific}, //crow
};
const std::unordered_multimap<int, std::pair<std::string,