PSUSensor: Add five supported devices
Add support for DPS800, ISL69260, RAA228000, RAA229004 and TPS546D24.
Tested: Using related driver and configuration in entity-manager, the
sensors were created successfully.
Signed-off-by: Jeff Lin <JeffLin2@quantatw.com>
Change-Id: I172633f337c0a330e4e063e4e335c6d2409394e3
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 3397ea8..0f7d17e 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -39,15 +39,17 @@
static constexpr bool debug = false;
-static constexpr std::array<const char*, 17> sensorTypes = {
+static constexpr std::array<const char*, 22> sensorTypes = {
"xyz.openbmc_project.Configuration.ADM1272",
"xyz.openbmc_project.Configuration.ADM1278",
+ "xyz.openbmc_project.Configuration.DPS800",
"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.ISL69260",
"xyz.openbmc_project.Configuration.MAX16601",
"xyz.openbmc_project.Configuration.MAX20710",
"xyz.openbmc_project.Configuration.MAX20730",
@@ -56,12 +58,16 @@
"xyz.openbmc_project.Configuration.MAX34451",
"xyz.openbmc_project.Configuration.pmbus",
"xyz.openbmc_project.Configuration.PXE1610",
- "xyz.openbmc_project.Configuration.RAA228228"};
+ "xyz.openbmc_project.Configuration.RAA228000",
+ "xyz.openbmc_project.Configuration.RAA228228",
+ "xyz.openbmc_project.Configuration.RAA229004",
+ "xyz.openbmc_project.Configuration.TPS546D24"};
static std::vector<std::string> pmbusNames = {
- "adm1272", "adm1278", "ina219", "ina230", "isl68137", "isl68220",
- "isl68223", "isl69243", "max16601", "max20710", "max20730", "max20734",
- "max20796", "max34451", "pmbus", "pxe1610", "raa228228"};
+ "adm1272", "adm1278", "dps800", "ina219", "ina230", "isl68137",
+ "isl68220", "isl68223", "isl69243", "isl69260", "max16601", "max20710",
+ "max20730", "max20734", "max20796", "max34451", "pmbus", "pxe1610",
+ "raa228000", "raa228228", "raa229004", "tps546d24"};
namespace fs = std::filesystem;