Skip to content

Commit 98c96ab

Browse files
Pyohwanlgirdwood
authored andcommitted
topology2: add sof-ptl-rt713-l3-rt1320-l1 for LG Gram 16Z90U
Add a new build target for the LG Gram Pro 2026 (16Z90U-KU7BK), which has: - RT713 jack/headset codec on SoundWire link 3 - A single stereo RT1320 SmartAmp on SoundWire link 1 - 2 NHLT DMICs (built-in microphone array) This combination is unique because: - Existing rt713-rt1320 boards have two RT1320 amps on different links (NUM_SDW_AMP_LINKS=2), but the LG Gram uses one stereo RT1320 chip, so NUM_SDW_AMP_LINKS=1 is required. - The RT713 ACPI does not expose a SMART_MIC function, so SDW_DMIC=0 is used and NUM_DMICS=2 enables the NHLT-attached PCH DMICs for the laptop's built-in microphone array. - Stream names use the SDW%d-Playback/Capture form (without -SimpleJack/-SmartAmp suffix) because each link has only one dailink, so the kernel machine driver does not append the dai-type suffix (append_dai_type=false when num_link_dailinks==1). Tested on Ubuntu 26.04 with kernel 7.0.0-15 and a matching kernel match-table patch. Speaker, headphone jack, headset mic, and internal DMIC all work via the UCM HiFi profile. Signed-off-by: Jang Pyohwan <vhgksl@daum.net>
1 parent 3c391c6 commit 98c96ab

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tools/topology/topology2/production/tplg-targets-ace3.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"
158158
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
159159
SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"
160160

161+
# LG Gram Pro 2026 (16Z90U-KU7BK) with RT713 on link 3 and single stereo RT1320 on link 1
162+
"cavs-sdw\;sof-ptl-rt713-l3-rt1320-l1\;PLATFORM=ptl,SDW_DMIC=0,NUM_SDW_AMP_LINKS=1,\
163+
NUM_DMICS=2,PDM1_MIC_A_ENABLE=0,PDM1_MIC_B_ENABLE=0,DMIC0_ID=3,DMIC1_ID=4,\
164+
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=SDW1-Playback,\
165+
SDW_JACK_OUT_STREAM=SDW3-Playback,SDW_JACK_IN_STREAM=SDW3-Capture,\
166+
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-ptl-rt713-l3-rt1320-l1.bin"
167+
161168
"cavs-sdw\;sof-ptl-cs42l43-l2-cs35l56x6-l13\;NUM_SDW_AMP_LINKS=3,SDW_DMIC=1,\
162169
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
163170
SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"

0 commit comments

Comments
 (0)