From fe82a753bf80390a92d4860ca9c245493ce4b922 Mon Sep 17 00:00:00 2001 From: Naveen Manohar Date: Fri, 27 Sep 2024 14:31:54 +0530 Subject: [PATCH] topology2: add support for rt721-sdw topology Adding topology support for rt721-sdw monolithic codec verified on ptl-rvp, with configuration: 1. sof-ptl-rt721: uses SDW-DMIC 2. sof-ptl-rt721-4ch: uses PCH-DMIC Signed-off-by: Naveen Manohar --- .../topology2/production/tplg-targets-ace3.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/topology/topology2/production/tplg-targets-ace3.cmake b/tools/topology/topology2/production/tplg-targets-ace3.cmake index ea39f76c3816..9b25d5ccef55 100644 --- a/tools/topology/topology2/production/tplg-targets-ace3.cmake +++ b/tools/topology/topology2/production/tplg-targets-ace3.cmake @@ -3,6 +3,19 @@ # Array of "input-file-name;output-file-name;comma separated pre-processor variables" list(APPEND TPLGS # SDW topology for PTL RVP +# RT721 eval board with SDW-DMIC +"cavs-sdw\;sof-ptl-rt721\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_LINKS=1,\ +SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\ +SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack,\ +HDMI1_ID=7,HDMI2_ID=8,HDMI3_ID=9" + +# RT721 eval board with PCH-DMIC +"cavs-sdw\;sof-ptl-rt721-4ch\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_LINKS=1,NUM_DMICS=4,\ +PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,DMIC0_ID=5,DMIC1_ID=6,HDMI1_ID=7,HDMI2_ID=8,HDMI3_ID=9,\ +SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\ +SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack,\ +PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-rt721-4ch.bin" + "cavs-sdw\;sof-ptl-rt722\;PLATFORM=ptl,SDW_DMIC=1,NUM_SDW_AMP_LINKS=1,\ SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\ SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"