diff options
author | Evgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru> | 2022-08-18 16:56:45 +0300 |
---|---|---|
committer | Evgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru> | 2022-08-18 16:56:45 +0300 |
commit | 6d24c6cbf409be328a3eb52f7146dfca7b224ad8 (patch) | |
tree | 22de0cc728de559c5cac31a142f99d72765aa1b3 | |
parent | 6474ab8c5536e19ce577d78b01696367d383a658 (diff) | |
download | openbmc-SILABMC-261.tar.xz |
IBS: Add entity-manager add ASPOWER ThresholdsSILABMC-261
2 files changed, 73 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager/0001-Add-ASPOWER1200-Vin-Vout-Pout-thresholds.patch b/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager/0001-Add-ASPOWER1200-Vin-Vout-Pout-thresholds.patch new file mode 100644 index 0000000000..67924e3dea --- /dev/null +++ b/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager/0001-Add-ASPOWER1200-Vin-Vout-Pout-thresholds.patch @@ -0,0 +1,69 @@ +From 192b58a5a143e5db77b1218be240a9f8fca3ccb2 Mon Sep 17 00:00:00 2001 +From: "Evgeny Alekseev (IBS Group)" <ealekseev@ibs.sila.ru> +Date: Thu, 18 Aug 2022 16:22:08 +0300 +Subject: [PATCH] Add ASPOWER1200 Vin, Vout, Pout thresholds + +--- + configurations/ASPOWER_U1A-D11200_PSU.json | 42 ++++++++++++++++++++++ + 1 file changed, 42 insertions(+) + +diff --git a/configurations/ASPOWER_U1A-D11200_PSU.json b/configurations/ASPOWER_U1A-D11200_PSU.json +index 60aacb5..6dfc717 100644 +--- a/configurations/ASPOWER_U1A-D11200_PSU.json ++++ b/configurations/ASPOWER_U1A-D11200_PSU.json +@@ -94,6 +94,20 @@ + ], + "Name": "PSU$ADDRESS % 4 + 1", + "Thresholds": [ ++ { ++ "Direction": "greater than", ++ "Label": "pout1", ++ "Name": "upper critical", ++ "Severity": 1, ++ "Value": 1250 ++ }, ++ { ++ "Direction": "greater than", ++ "Label": "pout1", ++ "Name": "upper non critical", ++ "Severity": 0, ++ "Value": 1150 ++ }, + { + "Direction": "greater than", + "Label": "pin", +@@ -135,6 +149,34 @@ + "Name": "upper non critical", + "Severity": 0, + "Value": 60 ++ }, ++ { ++ "Direction": "greater than", ++ "Label": "vout1", ++ "Name": "upper critical", ++ "Severity": 1, ++ "Value": 14 ++ }, ++ { ++ "Direction": "greater than", ++ "Label": "vout1", ++ "Name": "upper non critical", ++ "Severity": 0, ++ "Value": 13 ++ }, ++ { ++ "Direction": "greater than", ++ "Label": "vin", ++ "Name": "upper critical", ++ "Severity": 1, ++ "Value": 250 ++ }, ++ { ++ "Direction": "greater than", ++ "Label": "vin", ++ "Name": "upper non critical", ++ "Severity": 0, ++ "Value": 240 + } + ], + "Type": "pmbus" diff --git a/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager_git.bbappend b/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager_git.bbappend new file mode 100644 index 0000000000..b63574bbfe --- /dev/null +++ b/meta-ibs/meta-common/recipes-phosphor/configuration/entity-manager_git.bbappend @@ -0,0 +1,4 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0001-Add-ASPOWER1200-Vin-Vout-Pout-thresholds.patch" + |