tree: 273d78a65d1a8586ae00a5d9249f6599cea036f7 [path history] [tgz]
  1. configurations/
  2. test/
  3. main.cpp
  4. meson.build
  5. power_supply.cpp
  6. power_supply.hpp
  7. psu_manager.cpp
  8. psu_manager.hpp
  9. README.md
  10. util.cpp
  11. util.hpp
  12. util_base.hpp
phosphor-power-supply/README.md

OpenBMC power supply monitoring application.

Design document: https://github.com/openbmc/docs/blob/master/designs/psu-monitoring.md

JSON Configuration File

The JSON configuration file should contain:

pollInterval

Required property that specifies the delay between updating the power supply status, period in milliseconds.

MinPowerSupplies

Optional property, integer, that indicates the minimum number of power supplies that should be present.

MaxPowerSupplies

Optional property, integer, that indicates the maximum number of power supplies that should be present.

PowerSupplies

An array of power supply properties.

Inventory

The D-Bus path used to check the power supply presence (Present) property.

Bus

An integer specifying the I2C bus that the PMBus power supply is on.

Address

A string representing the 16-bit I2C address of the PMBus power supply.