[meta-ti] [PATCH] aif2-lld: Add low level driver package for keystone2 antenna interface

Sam Nelson sam.nelson at ti.com
Fri Oct 23 08:08:56 PDT 2015


- Provides low level driver and test binaries for keystone2 antenna
  interface peripheral

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-bsp/aif2-lld/aif2-lld-test_git.bb |   16 ++++++++++++++++
 recipes-bsp/aif2-lld/aif2-lld.inc         |   13 +++++++++++++
 recipes-bsp/aif2-lld/aif2-lld_git.bb      |   15 +++++++++++++++
 3 files changed, 44 insertions(+)
 create mode 100755 recipes-bsp/aif2-lld/aif2-lld-test_git.bb
 create mode 100755 recipes-bsp/aif2-lld/aif2-lld.inc
 create mode 100755 recipes-bsp/aif2-lld/aif2-lld_git.bb

diff --git a/recipes-bsp/aif2-lld/aif2-lld-test_git.bb b/recipes-bsp/aif2-lld/aif2-lld-test_git.bb
new file mode 100755
index 0000000..2a9de43
--- /dev/null
+++ b/recipes-bsp/aif2-lld/aif2-lld-test_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "TI Antenna Interface peripheral module low level driver test binaries"
+
+DEPENDS = "common-csl-ip aif2-lld qmss-lld cppi-lld"
+
+include aif2-lld.inc
+
+EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} AIF2_SRC_DIR=${WORKDIR}/git"
+
+do_compile () {
+    oe_runmake clean DEVICE=k2hk
+    oe_runmake tests DEVICE=k2hk
+}
+
+do_install () {
+    oe_runmake installbin DEVICE=k2hk AIF2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
+}
diff --git a/recipes-bsp/aif2-lld/aif2-lld.inc b/recipes-bsp/aif2-lld/aif2-lld.inc
new file mode 100755
index 0000000..212813c
--- /dev/null
+++ b/recipes-bsp/aif2-lld/aif2-lld.inc
@@ -0,0 +1,13 @@
+LICENSE = "BSD-3-Clause"
+
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/keystone-rtos/aif2-lld.git;destsuffix=git/ti/drv/aif2;protocol=git;branch=${BRANCH}"
+# The following commit correspond to DEV.AIF2LLD.01.02.00.00A
+SRCREV = "7f394ec9975cd4cef982b11763c882c4c763ddce"
+
+PV = "1.2.0.0"
+
+COMPATIBLE_MACHINE = "k2hk-evm"
+
+S = "${WORKDIR}/git/ti/drv/aif2"
diff --git a/recipes-bsp/aif2-lld/aif2-lld_git.bb b/recipes-bsp/aif2-lld/aif2-lld_git.bb
new file mode 100755
index 0000000..f6e95c2
--- /dev/null
+++ b/recipes-bsp/aif2-lld/aif2-lld_git.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Antenna Interface low level driver"
+
+DEPENDS = "common-csl-ip qmss-lld cppi-lld"
+
+include aif2-lld.inc
+
+EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+
+do_compile () {
+    oe_runmake lib DEVICE=k2hk
+}
+
+do_install () {
+    oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+}
-- 
1.7.9.5



More information about the meta-ti mailing list