commit | 332a7b865b756ded61fd8eddd3c88b9e4a510a3b | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Thu Mar 03 21:15:09 2022 +0000 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Mar 21 22:24:08 2022 +0000 |
tree | b26675918c98065e7090f4bf31a0106281b9a84e | |
parent | 8db5d8d74a8c74bf9ce4e9a95c062a5eec30835f [diff] |
State: New PowerSystemInputs interface Add a new PowerSystemInputs interface to describe the state of the power supplied to the chassis via the power supply unit(s), in order to have state manager handle Brownout conditions as described in design doc: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/48015 This interface would be implemented by the phosphor-power repo and the Status property set to Fault when a Brownout condition is detected. Change-Id: I7aeea45f7285835fdb97a34706b3eef610d7532d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
This project can be built with meson
. The typical meson
workflow is: meson builddir && ninja -C builddir
.
The meson files used to handle the YAML files are automatically generated and found under the gen
subdirectory. When adding or removing YAML files, this must be regenerated. This can be done with the helper script found in the gen
subdirectory: cd gen && ./regenerate-meson
.
Only the xyz/openbmc_project and org/freedesktop interfaces are built by default. Other interfaces can be enabled by meson options:
-Ddata_com_ibm=true
-Ddata_org_open_power=true
Example: meson builddir -Ddata_com_ibm=true && ninja -C builddir