From f38672522fc5b02d99bc758f9b1afa250c0e65a6 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/32 bit DMIC This patch adds build of development topologies: - sof-hda-generic-lnl-4ch-16k-16k-16bit.tplg - sof-hda-generic-lnl-4ch-48k-16k-16bit.tplg - sof-hda-generic-lnl-4ch-48k-16k-32bit.tplg - sof-hda-generic-lnl-fpga-4ch-16k-16k-16bit.tplg - sof-hda-generic-lnl-fpga-4ch-48k-16k-16bit.tplg - sof-hda-generic-lnl-fpga-4ch-48k-16k-32bit.tplg Signed-off-by: Seppo Ingalsuo --- .../topology2/development/tplg-targets.cmake | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/tools/topology/topology2/development/tplg-targets.cmake b/tools/topology/topology2/development/tplg-targets.cmake index 9d29c2b74947..8e7208e1cd1f 100644 --- a/tools/topology/topology2/development/tplg-targets.cmake +++ b/tools/topology/topology2/development/tplg-targets.cmake @@ -112,4 +112,43 @@ 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-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" + +"sof-hda-generic\;sof-hda-generic-lnl-fpga-4ch-16k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-fpga-4ch-16k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,DMIC_IO_CLK=19200000,\ +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-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" + +"sof-hda-generic\;sof-hda-generic-lnl-fpga-4ch-48k-16k-16bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-fpga-4ch-48k-16k-16bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,DMIC_IO_CLK=19200000,\ +DMIC0_RATE=48000,DMIC0_BITS=16,DMIC1_RATE=16000,DMIC1_BITS=16,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=lnl" + +# With 48 kHz and 32 bit DMIC0 and 16 kHz and 32 bit DMIC1 +"sof-hda-generic\;sof-hda-generic-lnl-4ch-48k-16k-32bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-4ch-48k-16k-32bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ +DMIC0_RATE=48000,DMIC0_BITS=32,DMIC1_RATE=16000,DMIC1_BITS=32,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=lnl" + +"sof-hda-generic\;sof-hda-generic-lnl-fpga-4ch-48k-16k-32bit\;HDA_CONFIG=mix,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-lnl-fpga-4ch-48k-16k-32bit.bin,\ +NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,DMIC_IO_CLK=19200000,\ +DMIC0_RATE=48000,DMIC0_BITS=32,DMIC1_RATE=16000,DMIC1_BITS=32,\ +PASSTHROUGH=true,DMIC1_ENABLE=passthrough,PLATFORM=lnl" )