Skip to content

Commit c6a6e17

Browse files
singalsukv2019i
authored andcommitted
Tools: Topology2: Add build of 1ch DMIC topologies
This patch adds build of topologies - sof-hda-generic-1ch - sof-hda-generic-cavs25-1ch - sof-hda-generic-ace1-1ch - sof-hda-generic-ace3-1ch The three latter topologies contain the NHLT blob for DMIC setup. The first one requires that BIOS NHLT contains the mono DMIC setup. The macro PDM0_MIC_B_ENABLE need to be set to zero for alsa-utils to be able to create a valid mono DMIC blob. Signed-off-by: Seppo Ingalsuo <[email protected]>
1 parent a23cb15 commit c6a6e17

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/topology/topology2/production/tplg-targets-hda-generic.cmake

+11
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ EFX_HDA_MIC_TDFB_PARAMS=line2_pass,EFX_HDA_MIC_DRC_PARAMS=passthrough"
1616
# HDA topology with mixer-based pipelines for HDA and
1717
# passthrough pipelines for HDMI and
1818
# 2 or 4 DMIC, no NHLT blob included in topology
19+
"sof-hda-generic\;sof-hda-generic-1ch\;HDA_CONFIG=mix,NUM_DMICS=1,PDM0_MIC_B_ENABLE=0"
20+
1921
"sof-hda-generic\;sof-hda-generic-2ch\;HDA_CONFIG=mix,NUM_DMICS=2,\
2022
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\
2123
EFX_DMIC0_DRC_PARAMS=dmic_default"
@@ -39,6 +41,9 @@ PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-idisp-2ch.bin"
3941
PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
4042
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-idisp-4ch.bin"
4143
# HDA + HDMI + DMICs
44+
"sof-hda-generic\;sof-hda-generic-cavs25-1ch\;HDA_CONFIG=mix,NUM_DMICS=1,PDM0_MIC_B_ENABLE=0,\
45+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-1ch.bin"
46+
4247
"sof-hda-generic\;sof-hda-generic-cavs25-2ch\;HDA_CONFIG=mix,NUM_DMICS=2,\
4348
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-2ch.bin,\
4449
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\
@@ -58,6 +63,9 @@ PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace1-idisp-2ch.bin"
5863
PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
5964
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace1-idisp-4ch.bin"
6065
# HDA + HDMI + DMICs
66+
"sof-hda-generic\;sof-hda-generic-ace1-1ch\;PLATFORM=mtl,HDA_CONFIG=mix,NUM_DMICS=1,PDM0_MIC_B_ENABLE=0,\
67+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace1-1ch.bin"
68+
6169
"sof-hda-generic\;sof-hda-generic-ace1-2ch\;PLATFORM=mtl,HDA_CONFIG=mix,NUM_DMICS=2,\
6270
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace1-2ch.bin,\
6371
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\
@@ -78,6 +86,9 @@ PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\
7886
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace3-idisp-4ch.bin"
7987

8088
# HDA + HDMI + DMICs
89+
"sof-hda-generic\;sof-hda-generic-ace3-1ch\;PLATFORM=ptl,HDA_CONFIG=mix,NUM_DMICS=1,PDM0_MIC_B_ENABLE=0,\
90+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace3-1ch.bin"
91+
8192
"sof-hda-generic\;sof-hda-generic-ace3-2ch\;PLATFORM=ptl,HDA_CONFIG=mix,NUM_DMICS=2,\
8293
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace3-2ch.bin,\
8394
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\

0 commit comments

Comments
 (0)