summaryrefslogtreecommitdiff
path: root/thermalConfig.cpp
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>2023-01-06 19:51:33 +0530
committerManaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>2023-01-06 20:08:25 +0530
commitb7044dedd98b8eaf7e9d223a905597e4324b0bdf (patch)
treed43b97d5fdd8cd5c7e38b6a10f5a782c16f3e3e4 /thermalConfig.cpp
parent899d0cda00660be241bb3e7f790329f98e79a046 (diff)
thermal-hal: update cpu, vbat and socd sensor configurations for khaje
Update proper tsens mapping for silver cores for khaje. Also update BCL sensors like vbat and socd sensor configurations as well. Change-Id: I2855b3461922f3969fa30d34f71d81f0384163d6
Diffstat (limited to 'thermalConfig.cpp')
-rw-r--r--thermalConfig.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/thermalConfig.cpp b/thermalConfig.cpp
index a2244ca..790ec03 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,
},
};