summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xw@renesas.com>2018-10-15 09:16:25 -0400
committerKhang Nguyen <khang.nguyen.xv@renesas.com>2018-10-29 13:41:32 +0700
commita74f60eaa225e0729234522582681d8c63abdc63 (patch)
tree8e5faab242912db808ad624ef38165a2175e9cd8 /meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
parent4787fee594d0215a32e4a84c799e315a3c8e004a (diff)
rcar-gen3: linux-renesas: Add support ADSP ALSA driver
This commit modifies recipes to support building ADSP ALSA driver when enabling adsp distro feature. Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb')
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
index 208607a..56edb1f 100644
--- a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas_4.14.bb
@@ -4,6 +4,7 @@ require include/avb-control.inc
require include/iccom-control.inc
require recipes-kernel/linux/linux-yocto.inc
require include/cas-control.inc
+require include/adsp-control.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/:"
COMPATIBLE_MACHINE = "salvator-x|h3ulcb|m3ulcb|ebisu"
@@ -49,6 +50,19 @@ SRC_URI_append = " \
file://0006-arm64-dts-r8a7796-salvator-x-Remove-Sound-Card.patch \
"
+# Add ADSP ALSA driver
+SUPPORT_ADSP_ASOC = " \
+ file://0001-Add-build-for-ADSP-sound-driver.patch \
+ file://0002-Add-document-file-for-ADSP-sound-driver.patch \
+ file://0003-Add-ADSP-sound-driver-source.patch \
+ file://0004-Update-device-tree-for-ADSP-sound-driver.patch \
+ file://adsp.cfg \
+"
+
+SRC_URI_append = " \
+ ${@base_conditional("USE_ADSP", "1", "${SUPPORT_ADSP_ASOC}", "", d)} \
+"
+
# Install USB3.0 firmware to rootfs
USB3_FIRMWARE_V2 = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/r8a779x_usb3_v2.dlmem;md5sum=645db7e9056029efa15f158e51cc8a11"
USB3_FIRMWARE_V3 = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/r8a779x_usb3_v3.dlmem;md5sum=687d5d42f38f9850f8d5a6071dca3109"