Add configuration for binding to INA233, RTQ6056 and SQ52205
Description
Add the configuration for binding the drivers: ina233, sy24655,
and rtq6056.
Motivation
Enable the BMC to bind different drivers to different devices
through the entity-manager.
Test plan
Successfully applied the new configuration to bind the drivers
to the devices on yosemite4-v2025.30.1.
Change-Id: I143a32720e1e9acb0b3f571b7aa59ea01402aa4a
Signed-off-by: Andy Hsu <andy.hsu.wiwynn@gmail.com>
diff --git a/src/entity_manager/devices.hpp b/src/entity_manager/devices.hpp
index 25ce2e3..a2bcffa 100644
--- a/src/entity_manager/devices.hpp
+++ b/src/entity_manager/devices.hpp
@@ -185,8 +185,19 @@
ExportTemplate("raa229621 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
createsHWMon::hasHWMonDir)},
- {"PIC32",
- ExportTemplate("pic32 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ {"PIC32", ExportTemplate("pic32 $Address",
+ "/sys/bus/i2c/devices/i2c-$Bus", "new_device",
+ "delete_device", createsHWMon::hasHWMonDir)},
+ {"INA233",
+ ExportTemplate("ina233 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device",
+ createsHWMon::hasHWMonDir)},
+ {"RTQ6056",
+ ExportTemplate("rtq6056 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
+ "new_device", "delete_device",
+ createsHWMon::noHWMonDir)},
+ {"SY24655",
+ ExportTemplate("sy24655 $Address", "/sys/bus/i2c/devices/i2c-$Bus",
"new_device", "delete_device",
createsHWMon::hasHWMonDir)}}};
} // namespace devices