OpenBMC power supply monitoring application.
Design document: https://github.com/openbmc/docs/blob/master/designs/psu-monitoring.md
To enable reading VPD data via PMBus commands to IBM common form factor power supplies (ibm-cffps), run meson with -Dibm-vpd=true
.
Entity Manager provides information about the supported system configuration and the power supply connectors (IBMCFFPSConnector).
The information is as follows:
Integer that indicates the maximum number of power supplies that should be present. This is exposed via the MaxCount
property.
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).
The I2C address(es) that the power supply is at will be represented by the I2CAddress
property under the IBMCFFPSConnector interface(s).
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.