PSUSensors: add isl68220 to supported devices
add isl68220 to supported devices
Tested: builds and telemetry from isl68220 is published to dbus.
Signed-off-by: Jason Ling <jasonling@google.com>
Change-Id: I0dea8124af020f71ec46268ed2eab9559bb60875
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 3f5648e..be55089 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -40,12 +40,13 @@
static constexpr bool DEBUG = false;
-static constexpr std::array<const char*, 13> sensorTypes = {
+static constexpr std::array<const char*, 14> 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.MAX16601",
"xyz.openbmc_project.Configuration.MAX20730",
"xyz.openbmc_project.Configuration.MAX20734",
@@ -57,8 +58,8 @@
static std::vector<std::string> pmbusNames = {
"adm1272", "adm1278", "ina219", "ina230", "isl68137",
- "max16601", "max20730", "max20734", "max20796", "max34451",
- "pmbus", "pxe1610", "raa228228"};
+ "isl68220", "max16601", "max20730", "max20734", "max20796",
+ "max34451", "pmbus", "pxe1610", "raa228228"};
namespace fs = std::filesystem;