summaryrefslogtreecommitdiff
path: root/meta-ampere
diff options
context:
space:
mode:
authorHieu Huynh <hieuh@os.amperecomputing.com>2024-01-29 10:51:32 +0300
committerHieu Huynh <hieuh@os.amperecomputing.com>2024-01-29 10:51:32 +0300
commit0b6e1c093f73abd210240cfc177bb377c1c975ef (patch)
treea0c0f6ae71a1cfda3c79945f6cb2fc0b9dac0d7e /meta-ampere
parentdafcac1120e816457439cc7fdb56d72b93182688 (diff)
downloadopenbmc-0b6e1c093f73abd210240cfc177bb377c1c975ef.tar.xz
meta-ampere: mtjade: separate FAN Led group for each FAN
Currently just one LED group for FAN fault check. This causes FAN fault LED might be changed to OFF even when still having failure on some FANs. This commit changes to have LED group for each FAN to fix this issue. Tested: 1. Unplug two random FANs 2. Plug one FAN into the board and verify that FAN Led status is still on 3. Plug all FAN into the board and verify that FAN Led status is off. Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: Ic48fb402266bd3b95263ba8278e2f50d3bbb3bfe
Diffstat (limited to 'meta-ampere')
-rw-r--r--meta-ampere/meta-jade/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json12
-rw-r--r--meta-ampere/meta-jade/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtJade.json57
2 files changed, 62 insertions, 7 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-ampere/meta-jade/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
index 5f9e57a551..b07e4fa75d 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
+++ b/meta-ampere/meta-jade/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
@@ -32,7 +32,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan3_fault"
]
}
]
@@ -70,7 +70,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan4_fault"
]
}
]
@@ -108,7 +108,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan5_fault"
]
}
]
@@ -146,7 +146,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan6_fault"
]
}
]
@@ -184,7 +184,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan7_fault"
]
}
]
@@ -222,7 +222,7 @@
"fType": "fault_identifying"
},
"paths": [
- "/xyz/openbmc_project/led/groups/fan_fault"
+ "/xyz/openbmc_project/led/groups/fan8_fault"
]
}
]
diff --git a/meta-ampere/meta-jade/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtJade.json b/meta-ampere/meta-jade/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtJade.json
index b92fa87529..7c341376ca 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtJade.json
+++ b/meta-ampere/meta-jade/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtJade.json
@@ -33,7 +33,62 @@
]
},
{
- "group": "fan_fault",
+ "group": "fan3_fault",
+ "members": [
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
+ },
+ {
+ "group": "fan4_fault",
+ "members": [
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
+ },
+ {
+ "group": "fan5_fault",
+ "members": [
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
+ },
+ {
+ "group": "fan6_fault",
+ "members": [
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
+ },
+ {
+ "group": "fan7_fault",
+ "members": [
+ {
+ "Name": "fault",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 1000
+ }
+ ]
+ },
+ {
+ "group": "fan8_fault",
"members": [
{
"Name": "fault",