summaryrefslogtreecommitdiffstats
path: root/meta-inspur
diff options
context:
space:
mode:
authorJohn Wang <wangzqbj@inspur.com>2018-12-20 14:35:55 +0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-31 17:13:06 -0500
commit30c49fae75795bd459464e7dbc4cad0ae5d387a1 (patch)
treeb3965d86ab980f6480438b66f78a1eedc8d04dda /meta-inspur
parent65b507d4bb2a273f6874e8745429e2b887cb38d4 (diff)
downloadtalos-openbmc-30c49fae75795bd459464e7dbc4cad0ae5d387a1.tar.gz
talos-openbmc-30c49fae75795bd459464e7dbc4cad0ae5d387a1.zip
meta-on5263m5: Add inspur-uuid
The phsophor-led-sysfs needs only one pin to control the led(linux led subsystem). But inspur's motherbaord needs 2 pins to manager the identify-led(only identify-led) gpio_control 1-0-1 keep 0>50ms toggle the led gpio_read get the led status(0 means on 1 means off) Testd: Tested on the on5263m5 board (From meta-inspur rev: c8f86c0b5d40b1fa6e7ecba096a148187859e089) Change-Id: Ia3677a8e37b8888b8c679090b58bc2740763095e Signed-off-by: John Wang <wangzqbj@inspur.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-inspur')
-rw-r--r--meta-inspur/meta-common/recipes-inspur/inspur-uuid/inspur-uuid_git.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-inspur/meta-common/recipes-inspur/inspur-uuid/inspur-uuid_git.bb b/meta-inspur/meta-common/recipes-inspur/inspur-uuid/inspur-uuid_git.bb
new file mode 100644
index 000000000..2174da950
--- /dev/null
+++ b/meta-inspur/meta-common/recipes-inspur/inspur-uuid/inspur-uuid_git.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Inspur Identify LED Controller daemon"
+DESCRIPTION = "Daemon to trigger actions on a inspur identify LED"
+
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+inherit autotools pkgconfig
+inherit systemd
+
+DEPENDS += "autoconf-archive-native"
+DEPENDS += "sdbusplus"
+DEPENDS += "sdeventplus"
+DEPENDS += "phosphor-dbus-interfaces"
+DEPENDS += "phosphor-logging"
+DEPENDS += "gpioplus"
+
+
+SYSTEMD_SERVICE_${PN} += "xyz.openbmc_project.inspur.identify_led.controller.service"
+
+SRC_URI = "git://github.com/inspur-bmc/inspur-uuid.git"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "703633f2e81ba4d59eef74910c019e91d2bac63c"
+
+S = "${WORKDIR}/git"
OpenPOWER on IntegriCloud