Merge tag 'LA.VENDOR.13.2.0.r1-22900-KAILUA.QSSI15.0' into staging/lineage-21.0_merge-LA.VENDOR.13.2.0.r1-22900-KAILUA.QSSI15.0

LA.VENDOR.13.2.0.r1-22900-KAILUA.QSSI15.0

# By Nitesh Kumar
# Via Linux Build Service Account (1) and Nitesh Kumar (1)
* tag 'LA.VENDOR.13.2.0.r1-22900-KAILUA.QSSI15.0':
  thermal-hal: Add thermal HAL config rules for Bengal

Change-Id: I8cba9254c1a6fadd472e461aa9c0398cfb479320
This commit is contained in:
Michael Bestas
2024-04-19 23:21:44 +03:00

View File

@@ -298,14 +298,14 @@ namespace implementation {
std::vector<std::string> cpu_sensors_bengal = std::vector<std::string> cpu_sensors_bengal =
{ {
"cpuss-2-usr", "cpuss-0",
"cpuss-2-usr", "cpuss-1",
"cpuss-2-usr", "cpuss-2",
"cpuss-2-usr", "cpuss-2",
"cpu-1-0-usr", "cpu-1-0",
"cpu-1-1-usr", "cpu-1-1",
"cpu-1-2-usr", "cpu-1-2",
"cpu-1-3-usr", "cpu-1-3",
}; };
std::vector<struct target_therm_cfg> sensor_cfg_bengal = std::vector<struct target_therm_cfg> sensor_cfg_bengal =
@@ -321,7 +321,7 @@ namespace implementation {
}, },
{ {
TemperatureType::GPU, TemperatureType::GPU,
{ "gpu-usr" }, { "gpu" },
"GPU", "GPU",
95000, 95000,
115000, 115000,
@@ -330,22 +330,13 @@ namespace implementation {
}, },
{ {
TemperatureType::SKIN, TemperatureType::SKIN,
{ "xo-therm-usr" }, { "xo-therm" },
"skin", "skin",
40000, 40000,
95000, 95000,
40000, 40000,
true, true,
}, },
{
TemperatureType::BCL_VOLTAGE,
{ "pmi632-vbat-lvl0" },
"vbat",
3000,
2800,
3000,
false,
},
{ {
TemperatureType::BCL_CURRENT, TemperatureType::BCL_CURRENT,
{ "pmi632-ibat-lvl0" }, { "pmi632-ibat-lvl0" },
@@ -357,11 +348,11 @@ namespace implementation {
}, },
{ {
TemperatureType::BCL_PERCENTAGE, TemperatureType::BCL_PERCENTAGE,
{ "soc" }, { "socd" },
"soc", "socd",
10, 90,
2, 99,
10, 90,
false, false,
}, },
}; };