From 51f0cdc888ad5725b08e5d623b39309029f85c3e Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Fri, 23 Oct 2015 21:08:56 +0000 Subject: 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 Signed-off-by: Denys Dmytriyenko --- 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 (limited to 'recipes-bsp/aif2-lld') 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 00000000..2a9de433 --- /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 00000000..212813c2 --- /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 00000000..f6e95c28 --- /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} +} -- cgit v1.2.3-54-g00ecf