diff options
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor/dbus')
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0029-Add-RedundantCount-property-for-PSU-redundancy.patch b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0029-Add-RedundantCount-property-for-PSU-redundancy.patch new file mode 100644 index 000000000..0655de44b --- /dev/null +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0029-Add-RedundantCount-property-for-PSU-redundancy.patch @@ -0,0 +1,33 @@ +From 09f95d9d57a9a5e6c739444dec367cdf9bf4bc16 Mon Sep 17 00:00:00 2001 +From: Kuiying Wang <kuiying.wang@intel.com> +Date: Tue, 1 Sep 2020 13:52:30 +0800 +Subject: [PATCH] Add RedundantCount property for PSU redundancy + +RedundantCount is the min number of PSUs in the system +required to obtain redundancy + +Change-Id: Icdfd9d2c473a793d3792a335a04aff1838d7d99c +Signed-off-by: Kuiying Wang <kuiying.wang@intel.com> +--- + .../Control/PowerSupplyRedundancy.interface.yaml | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml b/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml +index e02e0aa..7f7d27b 100644 +--- a/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml ++++ b/xyz/openbmc_project/Control/PowerSupplyRedundancy.interface.yaml +@@ -35,6 +35,11 @@ properties: + type: byte + description: > + Number of PSUs are currently on system. ++ - name: RedundantCount ++ type: byte ++ description: > ++ The min number of PSUs in the system required to obtain redundancy ++ default: 2 + + enumerations: + - name: Algo +-- +2.17.1 + diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend index adebde874..2e471cef2 100644 --- a/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces_%.bbappend @@ -16,4 +16,5 @@ SRC_URI += "file://0005-Add-DBUS-interface-of-CPU-and-Memory-s-properties.patch file://0026-Add-StandbySpare-support-for-software-inventory.patch \ file://0027-Apply-Options-interface-for-Software.patch \ file://0028-MCTP-Daemon-D-Bus-interface-definition.patch \ + file://0029-Add-RedundantCount-property-for-PSU-redundancy.patch \ " |