diff options
author | Lei YU <mine260309@gmail.com> | 2019-10-21 05:49:43 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-11-07 20:46:05 +0300 |
commit | 87b364a8b6993132e28e2b8a4e05735cfa796b38 (patch) | |
tree | 8cea4cb6fc1dca8dc2f748983e8b5758a53b364d /meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json | |
parent | f5979b9b7f1394f2f1f9eef75fca4d1f096c9ebf (diff) | |
download | openbmc-87b364a8b6993132e28e2b8a4e05735cfa796b38.tar.xz |
meta-witherspoon: Use phosphor-power recipe
phosphor-power recipe is added in meta-phosphor, replace
witherspoon-pfault-analysis with phosphor-power.
Add "psuDevices" in psu.json for witherspoon and swift.
Tested: Verify witherspoon build is OK, the phosphor-power related
binaries and the services are installed correctly.
(From meta-ibm rev: 9422171d261d155b903295cd7c0c5aedbab535a0)
Change-Id: I2706ac9e9bff11b943ae6861bebd67e67d0bee15
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json b/meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json new file mode 100644 index 000000000..94f14dd60 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/phosphor-power/swift/psu.json @@ -0,0 +1,29 @@ +{ + "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" + } + ], + "psuDevices": { + "/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0" : "/sys/bus/i2c/devices/3-0068", + "/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1" : "/sys/bus/i2c/devices/3-0069" + } +} |