From f9e6010d5ec74dfdc7dc228219194a4f6e132ce4 Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Tue, 14 Dec 2021 17:20:50 +0200 Subject: topology: plugins - add Intel nhlt encoder plugin Add Intel nhlt acpi table encoder plugin into topology2.0 processing. Nhlt internal structure is defined in: https://01.org/sites/default/files/595976_intel_sst_nhlt.pdf Nhlt acpi table contain vendor specific binary data blobs that are used in some Intel dsp platforms for configuring the dmic and ssp hardware. The function of this code is mainly to generate the vendor specific binary blobs, but as there is existing nhlt parser code and header in kernel there's no point of re-inventing the container: just use the existing nhlt acpi table format. Basically this code is creating similar nhlt acpi table that you would get from: cat /sys/firmware/acpi/tables/NHLT This code will have implementation for dmic and ssp endpoints. Thus the code will translate the topology dai tokens into vendor specific binary blobs and pack them into nhlt acpi table. Ssp and dmic code is lifted from Sound Open Firmware (sof) code base, thus it will have BSD-3 license. This plugin can be enabled from command line with: alsatplg -DPREPROCESS_PLUGINS="nhlt" -c foo.conf -p -o bar.tplg You can also dump the nhlt binary into a file with additional define: -DNHLT_BIN="nhlt.bin" Link: https://github.com/alsa-project/alsa-utils/pull/129 Signed-off-by: Jaska Uimonen Signed-off-by: Jaroslav Kysela --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 398ea86..5e0a3b7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ confdefs.h aclocal.m4 Makefile Makefile.in +libtool +ltmain.sh +ltconfig version autom4te.cache compile @@ -22,6 +25,8 @@ test-driver ABOUT-NLS *.ok *.gmo +*.la +*.lo *.o *~ .deps -- cgit v1.2.1