PSUSensor: Add support for MAX20710, ISL68223, ISL69243
Tested: Combined with related driver and entity-manager changes;
sensors properly show up in IPMI sensors.
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com>
Change-Id: I199fef0bee2a16e3e6e2af8553c41ee74a55d4ba
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 3520fbe..b8966a6 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -40,14 +40,17 @@
static constexpr bool DEBUG = false;
-static constexpr std::array<const char*, 14> sensorTypes = {
+static constexpr std::array<const char*, 17> sensorTypes = {
"xyz.openbmc_project.Configuration.ADM1272",
"xyz.openbmc_project.Configuration.ADM1278",
"xyz.openbmc_project.Configuration.INA219",
"xyz.openbmc_project.Configuration.INA230",
"xyz.openbmc_project.Configuration.ISL68137",
"xyz.openbmc_project.Configuration.ISL68220",
+ "xyz.openbmc_project.Configuration.ISL68223",
+ "xyz.openbmc_project.Configuration.ISL69243",
"xyz.openbmc_project.Configuration.MAX16601",
+ "xyz.openbmc_project.Configuration.MAX20710",
"xyz.openbmc_project.Configuration.MAX20730",
"xyz.openbmc_project.Configuration.MAX20734",
"xyz.openbmc_project.Configuration.MAX20796",
@@ -57,9 +60,9 @@
"xyz.openbmc_project.Configuration.RAA228228"};
static std::vector<std::string> pmbusNames = {
- "adm1272", "adm1278", "ina219", "ina230", "isl68137",
- "isl68220", "max16601", "max20730", "max20734", "max20796",
- "max34451", "pmbus", "pxe1610", "raa228228"};
+ "adm1272", "adm1278", "ina219", "ina230", "isl68137", "isl68220",
+ "isl68223", "isl69243", "max16601", "max20710", "max20730", "max20734",
+ "max20796", "max34451", "pmbus", "pxe1610", "raa228228"};
namespace fs = std::filesystem;