History log of /openbmc/phosphor-power/example/psu.json (Results 1 – 3 of 3)
Revision Date Author Comments
# 0dbce568 12-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I53dc3bb17d5dcbb9b33fa3d0db62138f37cc8c0b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 0bf1b782 29-Aug-2019 Lei YU <mine260309@gmail.com>

Add power-utils

The power-utils is added to support psu code manager as vendor-specifc
tool.
In this commit, the util returns the PSU version based on the PSU
inventory path, where the inventory pat

Add power-utils

The power-utils is added to support psu code manager as vendor-specifc
tool.
In this commit, the util returns the PSU version based on the PSU
inventory path, where the inventory path are mapped to the PSU sysfs
device 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

show more ...


# 690e7804 22-Aug-2019 George Liu <liuxiwei@inspur.com>

Update to get PSU Asset information from parsing JSON file

The purpose is to support multiple PMBus device drivers, so need to
flexibly read the required PSU asset information attribute from the
con

Update to get PSU Asset information from parsing JSON file

The purpose is to support multiple PMBus device drivers, so need to
flexibly read the required PSU asset information attribute from the
configuration file (/usr/share/phosphor-power/psu.json)
and update D-BUS.

Tested: Update phosphor-power_git.bb and add the
psu.json. The psu-monitor process runs normally and can obtain the
asset information of PSU via D-BUS and REST command.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I780172724a397384c9fe3870e2e847580d131e72

show more ...