prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.
prettier: re-formatPrettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAMLfiles to have consistent formatting for these file types. Re-run theformatter on the whole repository.Change-Id: I53dc3bb17d5dcbb9b33fa3d0db62138f37cc8c0bSigned-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
Add power-utilsThe power-utils is added to support psu code manager as vendor-specifctool.In this commit, the util returns the PSU version based on the PSUinventory path, where the inventory pat
Add power-utilsThe power-utils is added to support psu code manager as vendor-specifctool.In this commit, the util returns the PSU version based on the PSUinventory path, where the inventory path are mapped to the PSU sysfsdevice directory based on a json config.Tested: Verify the version is returned correctly on Witherspoon: $ ./psutils --getversion \ /xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0 01100110 And it returns non-zero when it fails to get the version without throwing exception.Signed-off-by: Lei YU <mine260309@gmail.com>Change-Id: Ib60f3aa50ce581d55fe4cd62642f30398e25be83
Update to get PSU Asset information from parsing JSON fileThe purpose is to support multiple PMBus device drivers, so need toflexibly read the required PSU asset information attribute from thecon
Update to get PSU Asset information from parsing JSON fileThe purpose is to support multiple PMBus device drivers, so need toflexibly read the required PSU asset information attribute from theconfiguration file (/usr/share/phosphor-power/psu.json)and update D-BUS.Tested: Update phosphor-power_git.bb and add thepsu.json. The psu-monitor process runs normally and can obtain theasset information of PSU via D-BUS and REST command.Signed-off-by: George Liu <liuxiwei@inspur.com>Change-Id: I780172724a397384c9fe3870e2e847580d131e72