From 40360aa4f55544d0dc1e7133e048573ecdb730a8 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Mon, 26 Feb 2024 17:56:59 +0200 Subject: [PATCH] Tools: Topology2: Build HDA generic development tplg with 16 bit DMIC This patch adds build of development topologies: - sof-hda-generic-cavs25-4ch-16k-16k-16bit.tplg - sof-hda-generic-cavs25-4ch-48k-16k-16bit.tplg - sof-hda-generic-lnl-4ch-16k-16k-16bit.tplg - sof-hda-generic-lnl-4ch-48k-16k-16bit.tplg Signed-off-by: Seppo Ingalsuo --- .../topology2/development/tplg-targets.cmake | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tools/topology/topology2/development/tplg-targets.cmake b/tools/topology/topology2/development/tplg-targets.cmake index 80b54d30f6c4..4fb49bbc24fd 100644 --- a/tools/topology/topology2/development/tplg-targets.cmake +++ b/tools/topology/topology2/development/tplg-targets.cmake @@ -117,4 +117,30 @@ PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-tgl-nocodec-rtcaec.bin" # Topology for SOF plugin "development/sof-plugin\;sof-plugin\;NOISE_SUPPRESSION=false" + +# With 16 kHz and 16 bit DMIC0 and DMIC1 +"sof-hda-generic\;sof-hda-generic-cavs25-4ch-16k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-4ch-16k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ +DMIC0_RATE=16000,DMIC0_BITS=16,DMIC1_RATE=16000,DMIC1_BITS=16,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=tgl" + +"sof-hda-generic\;sof-hda-generic-lnl-4ch-16k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-4ch-16k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ +DMIC0_RATE=16000,DMIC0_BITS=16,DMIC1_RATE=16000,DMIC1_BITS=16,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=lnl" + +# With 48 kHz and 16 bit DMIC0 and 16 kHz and 16 bit DMIC1 +"sof-hda-generic\;sof-hda-generic-cavs25-4ch-48k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-4ch-48k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ +DMIC0_RATE=48000,DMIC0_BITS=16,DMIC1_RATE=16000,DMIC1_BITS=16,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=tgl" + +"sof-hda-generic\;sof-hda-generic-lnl-4ch-48k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-4ch-48k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ +DMIC0_RATE=48000,DMIC0_BITS=16,DMIC1_RATE=16000,DMIC1_BITS=16,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=lnl" )