tree: dfb48c77ac3c16c50e76ff532eb20a8b9e2273ae [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

Compile Options

To enable reading VPD data via PMBus commands to IBM common form factor power supplies (ibm-cffps), run meson with -Dibm-vpd=true.

D-Bus System Configuration

Entity Manager provides information about the supported system configuration and the power supply connectors (IBMCFFPSConnector).

The information is as follows:

Max Power Supplies

Integer that indicates the maximum number of power supplies that should be present. This is exposed via the MaxCount property.

I2C Bus

The I2C bus(es) that the power supply is on will be represented by the I2CBus property under the xyz.openbmc_project.Configuration.IBMCFFPSConnector interface(s).

I2C Address

The I2C address(es) that the power supply is at will be represented by the I2CAddress property under the IBMCFFPSConnector interface(s).

Name

The Name property under the IBMCFFPSConnector interface(s) will be used to create an inventory path for the power supply. This inventory path is used as part of the power supply presence detection, reading the Present property under this path.