entity-manager: Add emc1412 and emc1414 support
Adds emc1412 and emc1414 in ExportTemplates map.
Tested:
Tested on a system that uses emc1412 and emc1414 for temperature monitoring.
Signed-off-by: Gilbert Chen <gilbert.chen@hpe.com>
Change-Id: Idd82ba6cffe871f3299648b06907c46af65126fe
diff --git a/include/devices.hpp b/include/devices.hpp
index 7068d4d..05d0991 100644
--- a/include/devices.hpp
+++ b/include/devices.hpp
@@ -48,9 +48,15 @@
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"EEPROM", ExportTemplate("eeprom $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"EMC1412",
+ ExportTemplate("emc1412 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"EMC1413",
ExportTemplate("emc1413 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},
+ {"EMC1414",
+ ExportTemplate("emc1414 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus/new_device")},
{"Gpio", ExportTemplate("$Index", "/sys/class/gpio/export")},
{"INA230", ExportTemplate("ina230 $Address",
"/sys/bus/i2c/devices/i2c-$Bus/new_device")},