Change PSU json to support more PSU Sensor
Change 750W, 1100W, 1300W PSU json file to support PSU power input
current output and temperature sensors.
Tested By:
New property Name and Threshold properties pin, iout1, temp1 show
correctly in entity-manager dbus interface on 750W, 1100W and 1300W
PSU.
Change-Id: I1e1e37bfd0e3ba27949bcc528ef2a44b0ffc32df
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
diff --git a/configurations/Delta DPS-750XB PSU.json b/configurations/Delta DPS-750XB PSU.json
index 390b772..76b8194 100644
--- a/configurations/Delta DPS-750XB PSU.json
+++ b/configurations/Delta DPS-750XB PSU.json
@@ -2,9 +2,122 @@
{
"Exposes": [
{
+ "Address": "0x5a",
+ "Bus": "$bus",
+ "Name": "PSU3",
+ "Thresholds" : [
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 954.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 900
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 112
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 65
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 62
+ }
+ ],
+ "Type": "pmbus"
+ },
+ {
+ "Address": "$address",
+ "Bus": "$bus",
+ "Name": "Delta DPS-750XB PSU FRU",
+ "Type": "EEPROM"
+ }
+ ],
+ "Name": "Delta DPS-750XB PSU 3",
+ "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'DPS-750XB A', 'ADDRESS': 82})",
+ "Type": "PowerSupply",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$BOARD_MANUFACTURER",
+ "Model": "$BOARD_PRODUCT_NAME",
+ "PartNumber": "$BOARD_PART_NUMBER",
+ "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ }
+ },
+ {
+ "Exposes": [
+ {
"Address": "0x59",
"Bus": "$bus",
- "Name": "Delta DPS-750XB PSU Device",
+ "Name": "PSU2",
+ "Thresholds" : [
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 954.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 900
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 112
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 65
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 62
+ }
+ ],
"Type": "pmbus"
},
{
@@ -29,7 +142,51 @@
{
"Address": "0x58",
"Bus": "$bus",
- "Name": "Delta DPS-750XB PSU Device",
+ "Name": "PSU1",
+ "Thresholds" : [
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 954.5
+ },
+ {
+ "Direction": "greater than",
+ "Label": "pin",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 900
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 112
+ },
+ {
+ "Direction": "greater than",
+ "Label": "iout1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 100
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 65
+ },
+ {
+ "Direction": "greater than",
+ "Label": "temp1",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 62
+ }
+ ],
"Type": "pmbus"
},
{
@@ -49,4 +206,4 @@
"SerialNumber": "$BOARD_SERIAL_NUMBER"
}
}
-]
\ No newline at end of file
+]