PSUSensor: add RAA228004 support
Add support for Renesas RAA228004 controller.
Test results:
1. add RAA228004 sensor config in EM
```
{
"Address": "0x60",
"Bus": 19,
"Labels": [
"iout1",
"pout1",
"temp1",
"vout1"
],
"Name": "PDB_VR_P12V_N1_RAA228004",
"Type": "RAA228004",
"iout1_Name": "PDB_VR_P12V_N1_CURR_A",
"pout1_Name": "PDB_VR_P12V_N1_PWR_W",
"temp1_Name": "PDB_VR_P12V_N1_TEMP_C",
"vout1_Name": "PDB_VR_P12V_N1_VOLT_V"
}
```
2. check sensors is create by psusensors successfully
```
root@bmc:~# busctl tree xyz.openbmc_project.PSUSensor | grep PDB_VR_P12V_N1
│ ├─ /xyz/openbmc_project/State/Decorator/PDB_VR_P12V_N1_RAA228004_OperationalStatus
│ ├─ /xyz/openbmc_project/sensors/current/PDB_VR_P12V_N1_CURR_A
│ ├─ /xyz/openbmc_project/sensors/power/PDB_VR_P12V_N1_PWR_W
│ ├─ /xyz/openbmc_project/sensors/temperature/PDB_VR_P12V_N1_TEMP_C
├─ /xyz/openbmc_project/sensors/voltage/PDB_VR_P12V_N1_VOLT_V
```
Change-Id: If64ca0e8cca2841877ebfafa30af88da5eae7834
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
diff --git a/src/PSUSensorMain.cpp b/src/PSUSensorMain.cpp
index 19a6153..e0a38fc 100644
--- a/src/PSUSensorMain.cpp
+++ b/src/PSUSensorMain.cpp
@@ -117,6 +117,7 @@
{"pmbus", I2CDeviceType{"pmbus", true}},
{"PXE1610", I2CDeviceType{"pxe1610", true}},
{"RAA228000", I2CDeviceType{"raa228000", true}},
+ {"RAA228004", I2CDeviceType{"raa228004", true}},
{"RAA228228", I2CDeviceType{"raa228228", true}},
{"RAA228620", I2CDeviceType{"raa228620", true}},
{"RAA229001", I2CDeviceType{"raa229001", true}},