From febc1060dc7a24a8762fdbd873ea0c7078389854 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Thu, 27 Mar 2025 11:03:08 +0200 Subject: [PATCH] Tools: Topology2: Build topology sof-mtl-max98360a-rt5682 This change avoids the need to know which of the sof-mtl topologies should be renamed for the MTL Chromebook. The topology file is a duplicate of sof-mtl-max98357-rt5682, while the SOF driver on the device requires a topology with this name. Signed-off-by: Seppo Ingalsuo --- tools/topology/topology2/production/tplg-targets-ace1.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/topology/topology2/production/tplg-targets-ace1.cmake b/tools/topology/topology2/production/tplg-targets-ace1.cmake index 7cef713e29b8..fcb343b248ea 100644 --- a/tools/topology/topology2/production/tplg-targets-ace1.cmake +++ b/tools/topology/topology2/production/tplg-targets-ace1.cmake @@ -151,6 +151,12 @@ PDM1_MIC_B_ENABLE=1,DMIC0_PCM_ID=99,PREPROCESS_PLUGINS=nhlt,\ NHLT_BIN=nhlt-sof-mtl-max98357a-rt5682.bin,SPK_ID=6,DEEPBUFFER_FW_DMA_MS=10,INCLUDE_ECHO_REF=true,\ BT_ID=7,BT_PCM_NAME=Bluetooth,DEEP_BUF_SPK=true" +# Note this is same as above but different tplg name +"cavs-rt5682\;sof-mtl-max98360a-rt5682\;PLATFORM=mtl,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,\ +PDM1_MIC_B_ENABLE=1,DMIC0_PCM_ID=99,PREPROCESS_PLUGINS=nhlt,\ +NHLT_BIN=nhlt-sof-mtl-max98357a-rt5682.bin,SPK_ID=6,DEEPBUFFER_FW_DMA_MS=10,INCLUDE_ECHO_REF=true,\ +BT_ID=7,BT_PCM_NAME=Bluetooth,DEEP_BUF_SPK=true" + "cavs-rt5682\;sof-mtl-max98357a-rt5682-google-aec\;PLATFORM=mtl,NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,\ PDM1_MIC_B_ENABLE=1,DMIC0_PCM_ID=99,PREPROCESS_PLUGINS=nhlt,\ NHLT_BIN=nhlt-sof-mtl-max98357a-rt5682-google-aec.bin,SPK_ID=6,DEEPBUFFER_FW_DMA_MS=10,INCLUDE_ECHO_REF=true,\