Add support for PCA9537/INA226/IPSPS1 devices
Add below device type:
PCA9537:add to support PCA9537 IO expander
INA226:add to support INA226 VR chip
IPSPS1:add to support IPSPS1 VR chip
Change-Id: Icd250ba4bc963fee8a305bb9f1716d39772f6cc0
Signed-off-by: Tingting Chen <chentingting.2150@bytedance.com>
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
diff --git a/src/devices.hpp b/src/devices.hpp
index 3ae9943..f5d00d2 100644
--- a/src/devices.hpp
+++ b/src/devices.hpp
@@ -129,6 +129,10 @@
ExportTemplate("ina230 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
createsHWMon::hasHWMonDir)},
+ {"IPSPS1",
+ ExportTemplate("ipsps1 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device",
+ createsHWMon::hasHWMonDir)},
{"ISL68137",
ExportTemplate("isl68137 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
@@ -181,6 +185,10 @@
ExportTemplate("max34451 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
createsHWMon::hasHWMonDir)},
+ {"PCA9537",
+ ExportTemplate("pca9537 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device",
+ createsHWMon::noHWMonDir)},
{"PCA9542Mux",
ExportTemplate("pca9542 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
@@ -275,6 +283,10 @@
ExportTemplate("ina219 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
createsHWMon::hasHWMonDir)},
+ {"INA226",
+ ExportTemplate("ina226 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device",
+ createsHWMon::hasHWMonDir)},
{"RAA229004",
ExportTemplate("raa229004 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",