PSUSensor: Add regulator devices
Add following device type:
IR38060
IR38164
IR38263
PLI1209BC
XDPE11280
TEST= Build and Boot IBM Genesis3 Board. Sensor
related data i.e., voltage, current, power & temperature
properly display in webui.
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Change-Id: I46c06beff370cb4312d4a485e326ea35955b179e
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index a74607e..d111775 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -42,12 +42,13 @@
static constexpr auto sensorTypes{std::to_array<const char*>(
{"ADM1266", "ADM1272", "ADM1275", "ADM1278", "ADM1293",
"ADS7830", "BMR490", "DPS800", "INA219", "INA230",
- "IPSPS", "ISL68137", "ISL68220", "ISL68223", "ISL69225",
- "ISL69243", "ISL69260", "LM25066", "MAX16601", "MAX20710",
- "MAX20730", "MAX20734", "MAX20796", "MAX34451", "MP2971",
- "MP2973", "MP5023", "pmbus", "PXE1610", "RAA228000",
- "RAA228228", "RAA228620", "RAA229001", "RAA229004", "RAA229126",
- "TPS53679", "TPS546D24", "XDPE12284"})};
+ "IPSPS", "IR38060", "IR38164", "IR38263", "ISL68137",
+ "ISL68220", "ISL68223", "ISL69225", "ISL69243", "ISL69260",
+ "LM25066", "MAX16601", "MAX20710", "MAX20730", "MAX20734",
+ "MAX20796", "MAX34451", "MP2971", "MP2973", "MP5023",
+ "PLI1209BC", "pmbus", "PXE1610", "RAA228000", "RAA228228",
+ "RAA228620", "RAA229001", "RAA229004", "RAA229126", "TPS53679",
+ "TPS546D24", "XDPE11280", "XDPE12284"})};
// clang-format off
static constexpr auto pmbusNames{std::to_array<const char*>({
@@ -62,6 +63,9 @@
"ina219",
"ina230",
"ipsps1",
+ "ir38060",
+ "ir38164",
+ "ir38263",
"isl68137",
"isl68220",
"isl68223",
@@ -78,6 +82,7 @@
"mp2971",
"mp2973",
"mp5023",
+ "pli1209bc",
"pmbus",
"pxe1610",
"raa228000",
@@ -88,6 +93,7 @@
"raa229126",
"tps53679",
"tps546d24",
+ "xdpe11280",
"xdpe12284"
})};
//clang-format on