diff options
author | Chanh Nguyen <chanh@os.amperecomputing.com> | 2024-09-05 13:16:13 +0300 |
---|---|---|
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2024-09-06 07:35:20 +0300 |
commit | ec075823f5e9c54c495acbdbe778e1f691ab9486 (patch) | |
tree | cf7cc6880f1a4ab91307e1c0dc3b497bd6213ba1 /meta-ampere | |
parent | 2bcf3a99c74f613b4bed859846fab11ec40b3eff (diff) | |
download | openbmc-ec075823f5e9c54c495acbdbe778e1f691ab9486.tar.xz |
meta-ampere: Update LED configurations
The phosphor-led-manager no longer assumes a default led priority
of 'Blink'.
Follow the LED priority configuration instruction [1], The LED priority
needs to be explicitly configured.
Also add the gpio_fault, psu_fault, ras_ue_fault led groups to
Mt.Jade's configuration.
[1] https://github.com/openbmc/phosphor-led-manager/blob/master/README.md#configuration-led-priority
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
Change-Id: I4206c8e49cc19bbc56d62afca357446edee874c4
Diffstat (limited to 'meta-ampere')
2 files changed, 84 insertions, 41 deletions
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 8e57947dcf..0d5de3c18d 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 @@ -11,12 +11,24 @@ ] }, { + "group": "gpio_fault", + "members": [ + { + "Name": "fault", + "Action": "On", + "DutyOn": 50, + "Period": 0, + "Priority": "On" + } + ] + }, + { "group": "enclosure_identify", "members": [ { "Name": "identify", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -28,7 +40,7 @@ { "Name": "identify", "Action": "Blink", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -40,7 +52,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -52,7 +64,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -64,7 +76,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -76,7 +88,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -88,7 +100,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -100,7 +112,31 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "psu_fault", + "members": [ + { + "Name": "fault", + "Action": "On", + "Priority": "On", + "DutyOn": 50, + "Period": 1000 + } + ] + }, + { + "group": "ras_ue_fault", + "members": [ + { + "Name": "fault", + "Action": "On", + "Priority": "On", "DutyOn": 50, "Period": 1000 } @@ -112,7 +148,7 @@ { "Name": "fault", "Action": "On", - "Priority": "Blink", + "Priority": "On", "DutyOn": 50, "Period": 1000 } 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 577b7f8e77..e6e72488dc 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 @@ -15,7 +15,7 @@ "Action": "Blink", "DutyOn": 50, "Period": 2000, - "Priority": "On" + "Priority": "Blink" } ] }, @@ -25,25 +25,14 @@ ] }, { - "group": "systemFault", - "members": [ - { - "Name": "led_fault", - "Action": "On", - "DutyOn": 50, - "Period": 0, - "Priority": "Blink" - } - ] - }, - { "group": "enclosure_identify", "members": [ { "Name": "led_identify", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -54,7 +43,8 @@ "Name": "led_identify", "Action": "Blink", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -65,13 +55,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -82,13 +74,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -99,13 +93,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -116,13 +112,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -133,13 +131,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -150,13 +150,15 @@ "Name": "led_fan_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -167,13 +169,15 @@ "Name": "led_psu_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" }, { "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -184,7 +188,8 @@ "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -195,7 +200,8 @@ "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] }, @@ -206,7 +212,8 @@ "Name": "led_fault", "Action": "On", "DutyOn": 50, - "Period": 1000 + "Period": 1000, + "Priority": "On" } ] } |