summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/btnxpuartconf/btnxpuartconf/btnxpuart.conf1
-rw-r--r--recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb14
2 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/btnxpuartconf/btnxpuartconf/btnxpuart.conf b/recipes-bsp/btnxpuartconf/btnxpuartconf/btnxpuart.conf
new file mode 100644
index 0000000..41ff853
--- /dev/null
+++ b/recipes-bsp/btnxpuartconf/btnxpuartconf/btnxpuart.conf
@@ -0,0 +1 @@
+install btnxpuart /sbin/modprobe mwifiex_sdio; sleep 1; /sbin/modprobe --ignore-install btnxpuart
diff --git a/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb b/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb
new file mode 100644
index 0000000..c5f9adf
--- /dev/null
+++ b/recipes-bsp/btnxpuartconf/btnxpuartconf_1.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Bluetooth NXP UART (btnxpuart) Configuration"
+
+DESCRIPTION = "As the power-down pin (PD#) is shared and handled by \
+mmc-pwrseq for mwifiex_sdio, make sure mwifiex gets loaded first."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+SRC_URI = "file://btnxpuart.conf"
+
+do_install () {
+ install -d ${D}/etc/modprobe.d/
+ install -m 0755 ${WORKDIR}/btnxpuart.conf ${D}/etc/modprobe.d/btnxpuart.conf
+}