PSUSensor: add adc128d818 support
add device adc128d818 pmbus reading support
Tested:
Get adc128d818 reading from PSUSensor by dbus introspect
Change-Id: Ie03ed2d8874f3026f18e6aa81063bd276b91d52c
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index ab439b8..6ab8955 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -43,6 +43,7 @@
static constexpr bool debug = false;
static const I2CDeviceTypeMap sensorTypes{
+ {"ADC128D818", I2CDeviceType{"adc128d818", true}},
{"ADM1266", I2CDeviceType{"adm1266", true}},
{"ADM1272", I2CDeviceType{"adm1272", true}},
{"ADM1275", I2CDeviceType{"adm1275", true}},