diff options
author | Ken Chen <chen.kenyy@inventec.com> | 2018-02-01 05:30:00 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-08 19:25:28 +0300 |
commit | 778f1cff7ba0e85dc6f604a511b37eee9b4f808c (patch) | |
tree | 01537f44c3cb93620cb62195dfcdc74e7c4b465b /meta-openbmc-machines/meta-arm/meta-qualcomm | |
parent | cabbf543a8016858fe8e73d97d2e10ddb39de5fe (diff) | |
download | openbmc-778f1cff7ba0e85dc6f604a511b37eee9b4f808c.tar.xz |
Add LED config for Centriq2400
For control centriq2400 LED
Change-Id: I9f8b89125a1e94e1bfda46fd7b23993a4b587556
Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
Diffstat (limited to 'meta-openbmc-machines/meta-arm/meta-qualcomm')
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config-native.bb b/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config-native.bb new file mode 100644 index 000000000..24cf27276 --- /dev/null +++ b/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config-native.bb @@ -0,0 +1,18 @@ +SUMMARY = "Phosphor LED Group Management for Centriq2400 REP" +PR = "r1" + +inherit native +inherit obmc-phosphor-utils +inherit obmc-phosphor-license + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +# Copies example led layout yaml file +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config/led.yaml b/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config/led.yaml new file mode 100755 index 000000000..25d2ef48c --- /dev/null +++ b/meta-openbmc-machines/meta-arm/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/leds/centriq2400-rep-led-manager-config/led.yaml @@ -0,0 +1,15 @@ +bmc_booted: +power_on: + Power_ID_LED: + Action: 'On' + DutyOn: 50 + Period: 0 +enclosure_fault: + RAS_ERROR_LED: + Action: 'On' + DutyOn: 50 + Period: 0 + System_FAULT: + Action: 'On' + DutyOn: 50 + Period: 0 |