diff options
author | tony lee <tony.lee@quantatw.com> | 2019-03-20 11:30:03 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-08 20:30:24 +0300 |
commit | 15388b16779e70f152184404ad2ac1a08bba5f9b (patch) | |
tree | f83bbba18a2cad3c17fae9237e7b7c69a725c9f5 /meta-quanta/meta-gsj/recipes-phosphor/leds | |
parent | 94ca0613267a512f9a9bac5a6dca34fdf8573ffb (diff) | |
download | openbmc-15388b16779e70f152184404ad2ac1a08bba5f9b.tar.xz |
meta-quanta: Add the led configuration for meta-gsj
Add the led configuration for meta-gsj
- Enabled the LED group manager
(From meta-quanta rev: 8fafb59db0a032b581c8465392577403717ac011)
Change-Id: I027ee78275a3a274462918c7c630cd6a02ab25ee
Signed-off-by: tony lee <tony.lee@quantatw.com>
Signed-off-by: Tien-hung Huang <buddy.huang@quantatw.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-quanta/meta-gsj/recipes-phosphor/leds')
-rw-r--r-- | meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config-native.bb | 17 | ||||
-rw-r--r-- | meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config/led.yaml | 73 |
2 files changed, 90 insertions, 0 deletions
diff --git a/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config-native.bb b/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config-native.bb new file mode 100644 index 000000000..c8a8291e1 --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config-native.bb @@ -0,0 +1,17 @@ +SUMMARY = "Phosphor LED Group Management for gsj" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" + +inherit native + +PROVIDES += "virtual/phosphor-led-manager-config-native" + +SRC_URI += "file://led.yaml" +S = "${WORKDIR}" + +do_install() { + SRC=${S} + DEST=${D}${datadir}/phosphor-led-manager + install -D ${SRC}/led.yaml ${DEST}/led.yaml +} diff --git a/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config/led.yaml b/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config/led.yaml new file mode 100644 index 000000000..4b465692e --- /dev/null +++ b/meta-quanta/meta-gsj/recipes-phosphor/leds/gsj-led-manager-config/led.yaml @@ -0,0 +1,73 @@ +BmcBooted: + led-bmc-live: + Action: 'Blink' + DutyOn: 50 + Period: 1000 +LED_BMC_TRAY_PWRGD: + LED_BMC_TRAY_PWRGD: + Action: 'On' + Period: 1000 +LED_U2_0_LOCATE: + LED_U2_0_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_1_LOCATE: + LED_U2_1_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_2_LOCATE: + LED_U2_2_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_3_LOCATE: + LED_U2_3_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_4_LOCATE: + LED_U2_4_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_5_LOCATE: + LED_U2_5_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_6_LOCATE: + LED_U2_6_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_7_LOCATE: + LED_U2_7_LOCATE: + Action: 'On' + Period: 1000 +LED_U2_0_FAULT: + LED_U2_0_FAULT: + Action: 'On' + Period: 1000 +LED_U2_1_FAULT: + LED_U2_1_FAULT: + Action: 'On' + Period: 1000 +LED_U2_2_FAULT: + LED_U2_2_FAULT: + Action: 'On' + Period: 1000 +LED_U2_3_FAULT: + LED_U2_3_FAULT: + Action: 'On' + Period: 1000 +LED_U2_4_FAULT: + LED_U2_4_FAULT: + Action: 'On' + Period: 1000 +LED_U2_5_FAULT: + LED_U2_5_FAULT: + Action: 'On' + Period: 1000 +LED_U2_6_FAULT: + LED_U2_6_FAULT: + Action: 'On' + Period: 1000 +LED_U2_7_FAULT: + LED_U2_7_FAULT: + Action: 'On' + Period: 1000
\ No newline at end of file |