diff options
author | Alexander Filippov <a.filippov@yadro.com> | 2020-04-27 16:42:55 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-30 04:47:20 +0300 |
commit | 2727b3530f44b304a5ce4f23d2b7c8141476ff90 (patch) | |
tree | 62583f460473344e634c1081f21cb6eb9b32c96c /meta-yadro/meta-nicole/recipes-phosphor | |
parent | d85f9936db6707c38e2b29338f534ed25f08073d (diff) | |
download | openbmc-2727b3530f44b304a5ce4f23d2b7c8141476ff90.tar.xz |
nicole: led-manager: rename leds
The LEDs were renamed in the DTS to correspond
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md
The labels were also added. All of these changes led to change the names
of the LEDs in sysfs.
This commit makes the corresponding changes in the phosphor-led-manager
config.
(From meta-yadro rev: 683b49512a70c98599277ce719caf695ebd3da8d)
Change-Id: I1a7e00136d25c1f379737b64a313e9d322a1f958
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-yadro/meta-nicole/recipes-phosphor')
-rw-r--r-- | meta-yadro/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml b/meta-yadro/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml index 9ce2e2989..beb8c9870 100644 --- a/meta-yadro/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml +++ b/meta-yadro/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml @@ -1,17 +1,27 @@ +# +# If the LED has a label in DTS like: +# label = "device:color:function"; +# the D-Bus name looks like: +# device_function_color +# +bmc_booted: + platform_power_green: + Action: 'Blink' + Priority: 'On' power_on: - power: + platform_power_green: Action: 'On' Priority: 'On' enclosure_identify: - identify: + platform_indicator_blue: Action: 'Blink' Priority: 'Blink' enclosure_fault: &SYS_FAULT - alarm_red: + platform_fault_red: Action: 'Blink' Priority: 'Blink' enclosure_warning: &FRU_FAULT - alarm_yellow: + platform_alarm_yellow: Action: 'Blink' Priority: 'Blink' |