summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2023-02-14 12:23:38 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2023-02-14 12:23:38 -0800
commitc8718b60d17ce12ee77e5335f9c8074f4a19a02b (patch)
treee9fc7e567c434f7cef6a129c5546d75f0d7a287d
parent2c9d8d456d0b460eb766681dbec352e84160b97a (diff)
parentb7044dedd98b8eaf7e9d223a905597e4324b0bdf (diff)
Merge "thermal-hal: update cpu, vbat and socd sensor configurations for khaje"
-rw-r--r--thermalConfig.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/thermalConfig.cpp b/thermalConfig.cpp
index 1893e81..bc114a8 100644
--- a/thermalConfig.cpp
+++ b/thermalConfig.cpp
@@ -118,8 +118,9 @@ namespace implementation {
std::vector<std::string> cpu_sensors_khaje =
{
- "cpuss-0",
- "cpuss-1",
+ "cpuss-2",
+ "cpuss-2",
+ "cpuss-2",
"cpuss-2",
"cpu-1-0",
"cpu-1-1",
@@ -158,7 +159,7 @@ namespace implementation {
},
{
TemperatureType::BCL_VOLTAGE,
- { "pm7250b-vbat-lvl0" },
+ { "vbat" },
"vbat",
3000,
2800,
@@ -176,12 +177,12 @@ namespace implementation {
},
{
TemperatureType::BCL_PERCENTAGE,
- { "soc" },
- "soc",
- 10,
- 2,
- 10,
- false,
+ { "socd" },
+ "socd",
+ 90,
+ 99,
+ 90,
+ true,
},
};