psusensor: Add support for Delta AHE-50DC fan control module
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ie8b219aa06a357449c547bacfe0835f307d5645b
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 779f94e..38f92a7 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -40,15 +40,15 @@
static constexpr bool debug = false;
static constexpr auto sensorTypes{std::to_array<const char*>(
- {"ADM1266", "ADM1272", "ADM1275", "ADM1278", "ADM1293",
- "ADS7830", "BMR490", "DPS800", "INA219", "INA230",
- "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"})};
+ {"ADM1266", "ADM1272", "ADM1275", "ADM1278", "ADM1293",
+ "ADS7830", "AHE50DC_FAN", "BMR490", "DPS800", "INA219",
+ "INA230", "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*>({
@@ -58,6 +58,7 @@
"adm1278",
"adm1293",
"ads7830",
+ "ahe50dc_fan",
"bmr490",
"dps800",
"ina219",