summaryrefslogtreecommitdiff
path: root/meta-inspur/meta-fp5280g2/recipes-phosphor/power
AgeCommit message (Collapse)AuthorFilesLines
2020-05-29inspur: fp5280g2: Add fp5280g2 psu fw update functionChicago Duan3-0/+39
Add phosphor-psu-software-manager and use inspur specific binary tool to update fp5280g2's psu firmware. (From meta-inspur rev: 38802b27a5b96f2d406f17805e77971fc76e46ec) Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I366453eda485e6f96cbb6ef8672ea4011abf463e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-12fp5280g2: Fix missing power-supply-monitor configsGeorge Liu1-0/+2
Since the SYSTEMD_ENVIRONMENT_FILE_${PN} defined in obmc-phosphor-systemd.bbclass, and the phosphor-power_%.bbappend have not inherit obmc-phosphor-systemd, so all of the power-supply-monitor-*.conf are not installed. Tested: Built fp5280g2 successfully and includes the power-supply-monitor configs. (From meta-inspur rev: 05c197192a813e5d276e9b2c0c7d4ac19f726b7d) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Icd31b517536cd77ced911deb796c7c7549b0b480 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-07fp5280g2: Add phosphor-power recipeGeorge Liu4-0/+52
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 (From meta-inspur rev: da7f477ed1ae83cabc291349ee6609ca1890caf5) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Ifaad67483f7429223d2066ca233ede58dfbc3149 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>