FRU: Add entries for PowerSupply

This commit updates FRU config JSONs, and adds new JSONs for the power
supply FRUs.

More properties will be added as they are added in the powersupply
inventory.

Tested on rainier with the pldmtool.

Signed-off-by: Sagar Srinivas <sagar.srinivas@ibm.com>
Change-Id: I26e458cee170d1fce6cd2d68e0a7b8ccbb90131a
diff --git a/configurations/fru/FRU_Master.json b/configurations/fru/FRU_Master.json
index 93de1d1..6f0f72e 100644
--- a/configurations/fru/FRU_Master.json
+++ b/configurations/fru/FRU_Master.json
@@ -29,6 +29,10 @@
         {
             "interface" : "xyz.openbmc_project.Inventory.Item.Chassis",
             "entity_type" : 45
+        },
+        {
+            "interface" : "xyz.openbmc_project.Inventory.Item.PowerSupply",
+            "entity_type" : 120
         }
     ]
 }
diff --git a/configurations/fru/PowerSupply_General.json b/configurations/fru/PowerSupply_General.json
new file mode 100644
index 0000000..b4e5a63
--- /dev/null
+++ b/configurations/fru/PowerSupply_General.json
@@ -0,0 +1,19 @@
+{
+   "record_details":
+   {
+        "fru_record_type" : 1,
+        "fru_encoding_type": 1,
+        "dbus_interface_name": "xyz.openbmc_project.Inventory.Item.PowerSupply"
+   },
+   "fru_fields":[
+      {
+         "fru_field_type" : 8,
+         "dbus":
+            {
+               "interface" : "xyz.openbmc_project.Inventory.Item",
+               "property_name" : "PrettyName",
+               "property_type" : "string"
+            }
+      }
+   ]
+}