PSUSensor: add support for ADM1278
Tested: ipmitool sensor list
Combined with related driver, related entity-manager changes
in FBYV2.json(Facebook Yosemitev2),sensors properly shown up the value.
Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com>
Change-Id: I231286dda78a0b324e5ca74e1571a477aeba2448
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 6338ffe..03af046 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -51,8 +51,9 @@
"xyz.openbmc_project.Configuration.pmbus"};
static std::vector<std::string> pmbusNames = {
- "adm1272", "isl68137", "ina219", "ina230", "max16601", "max20730",
- "max20734", "max20796", "max34451", "pmbus", "pxe1610", "raa228228"};
+ "adm1272", "adm1278", "isl68137", "ina219", "ina230",
+ "max16601", "max20730", "max20734", "max20796", "max34451",
+ "pmbus", "pxe1610", "raa228228"};
namespace fs = std::filesystem;