summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru>2022-08-22 16:21:24 +0300
committerEvgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru>2022-08-22 16:21:24 +0300
commit93a1d61380484f34963edbad0fb4df3dc92c8497 (patch)
tree760711074217249c5e58da1e652a2e8c59911a39
parentdb95770d83f6e8e4039bf56a9a538fd23585efdc (diff)
downloadopenbmc-Add_Fan_PID_Control.tar.xz
IBS:entity-mgr cfg => cp2-5422, add fan thresholdsAdd_Fan_PID_Control
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json (renamed from meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json)156
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager_%.bbappend (renamed from meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager_%.bbappend)0
2 files changed, 143 insertions, 13 deletions
diff --git a/meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json b/meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json
index 5211809dc9..96b3df5773 100644
--- a/meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager/SILA-Baseboard-full.json
@@ -48,63 +48,193 @@
},
{
"Connector": {
+ "Name": "J2K3",
"Pwm": 0,
"Tachs": [
0
]
- },
- "Description": "J2K3",
+ },
"Index": 0,
"Name": "System Fan 1",
- "Type": "AspeedFan"
+ "Type": "AspeedFan",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 11000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ]
},
{
"Connector": {
+ "Name": "J4K3",
"Pwm": 4,
"Tachs": [
4
]
- },
- "Description": "J4K3",
+ },
"Index": 4,
"Name": "System Fan 2",
- "Type": "AspeedFan"
+ "Type": "AspeedFan",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 11000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ]
},
{
"Connector": {
+ "Name": "J4K4",
"Pwm": 5,
"Tachs": [
5
]
},
- "Description": "J4K4",
"Index": 5,
"Name": "System Fan 3",
- "Type": "AspeedFan"
+ "Type": "AspeedFan",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 12000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 11000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ]
},
{
"Connector": {
+ "Name": "J6K1",
"Pwm": 6,
"Tachs": [
8
]
},
- "Description": "J6K1",
"Index": 8,
"Name": "CPU1 Fan",
- "Type": "AspeedFan"
+ "Type": "AspeedFan",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 8000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 7000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ]
},
{
"Connector": {
+ "Name": "J6A1",
"Pwm": 7,
"Tachs": [
6
]
},
- "Description": "J6A1",
"Index": 6,
"Name": "CPU2 Fan",
- "Type": "AspeedFan"
+ "Type": "AspeedFan",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 8000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 7000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 3000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ]
},
{
"Address": "0x4f",
@@ -135,7 +265,7 @@
"Severity": 1,
"Value": 0
}
- ],
+ ],
"Type": "TMP75"
},
{
diff --git a/meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager_%.bbappend b/meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager_%.bbappend
index 73060ab03a..73060ab03a 100644
--- a/meta-ibs/meta-ast2500/recipes-phosphor/configuration/entity-manager_%.bbappend
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/configuration/entity-manager_%.bbappend