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

Arago Project git git at arago-project.org
Fri Oct 23 12:36:16 PDT 2015


Module: meta-ti
Branch: fido
Commit: 44c64fca6ad1fb893c77720919ccce0a2a228409
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=44c64fca6ad1fb893c77720919ccce0a2a228409

Author: Sam Nelson <sam.nelson at ti.com>
Date:   Fri Oct 23 21:08:56 2015 +0000

aif2-lld: Add low level driver package for keystone2 antenna interface

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

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
Signed-off-by: Denys Dmytriyenko <denys 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(+), 0 deletions(-)

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}
+}



More information about the meta-ti mailing list