meta-witherspoon: Add psu.json for phosphor-power
The service psu-monitor in phosphor-power now requires psu.json to
run. Otherwise it fails due to unable to open and parse the JSON file.
Install psu.json for Witherspoon so it works OK.
Tested: On Witherspoon, the psu-monitor services are started correctly,
and the PSU model, serial, etc are correct in inventory.
Change-Id: I3135a7f75ddd2fb68b5a05409603af6a1d6c3cac
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/psu.json b/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/psu.json
new file mode 100644
index 0000000..2dcefab
--- /dev/null
+++ b/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/psu.json
@@ -0,0 +1,25 @@
+{
+ "inventoryPMBusAccessType": "HwmonDeviceDebug",
+ "fruConfigs": [
+ {
+ "propertyName": "PartNumber",
+ "fileName": "part_number",
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
+ },
+ {
+ "propertyName": "SerialNumber",
+ "fileName": "serial_number",
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
+ },
+ {
+ "propertyName": "Model",
+ "fileName": "ccin",
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
+ },
+ {
+ "propertyName": "Version",
+ "fileName": "fw_version",
+ "interface": "xyz.openbmc_project.Software.Version"
+ }
+ ]
+}