fp5280g2: Add phosphor-power recipe
Add psu.json and power-supply-monitor-*.conf for fp5280g2.
Parsed PSUs asset information via pmbus driver and exposed properties to
D-BUS interface.
Tested: Verified and built successfully on fp5280g2 and obtained correct
PSUs asset information by busctl command.
busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
xyz.openbmc_project.Inventory.Decorator.Asset interface - - -
.BuildDate property s "" emits-change writable
.Manufacturer property s "" emits-change writable
.Model property s "PS-2162-5L" emits-change writable
.PartNumber property s "" emits-change writable
.SerialNumber property s "6L5LX01173722Z" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "powersupply0" emits-change writable
xyz.openbmc_project.Inventory.Item.PowerSupply interface - - -
xyz.openbmc_project.Software.Version interface - - -
.Purpose property s "xyz.openbmc_project.Software.Version.V… emits-change writable
.Version property s "1.000-1.00" emits-change writable
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ida1e7864f157f8f1530554eb8e0e6bf9c25dbf98
5 files changed