diff options
author | Hieu Huynh <hieuh@os.amperecomputing.com> | 2024-01-29 10:52:42 +0300 |
---|---|---|
committer | Hieu Huynh <hieuh@os.amperecomputing.com> | 2024-01-29 10:52:42 +0300 |
commit | 94e479869b113c2642de28a3dc46e393279ff242 (patch) | |
tree | 9eff2a12a75143df88cc677f351a6eb317012416 /meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager | |
parent | 0b6e1c093f73abd210240cfc177bb377c1c975ef (diff) | |
download | openbmc-94e479869b113c2642de28a3dc46e393279ff242.tar.xz |
meta-ampere: mtmitchell: 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: I8cf2eeafbe7372b0eda85c133e88a228b5cd0a2a
Diffstat (limited to 'meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager')
-rw-r--r-- | meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json | 87 |
1 files changed, 86 insertions, 1 deletions
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json index 098c3fdb65..8cd5d1beae 100644 --- a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json +++ b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json @@ -59,7 +59,92 @@ ] }, { - "group": "fan_fault", + "group": "fan0_fault", + "members": [ + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + }, + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "fan1_fault", + "members": [ + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + }, + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "fan2_fault", + "members": [ + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + }, + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "fan3_fault", + "members": [ + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + }, + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "fan4_fault", + "members": [ + { + "Name": "fan_fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + }, + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "fan5_fault", "members": [ { "Name": "fan_fault", |