Skip to content

ASoC: soc-acpi-intel-arl-match: add rt713_l0_rt1320_l2 support - #5838

Draft
macchian wants to merge 1 commit into
thesofproject:topic/sof-devfrom
macchian:arl-rt713-rt1320
Draft

macchian wants to merge 1 commit into
thesofproject:topic/sof-devfrom
macchian:arl-rt713-rt1320

Conversation

@macchian

Copy link
Copy Markdown

Add support for the RT713 JACK/DMIC codecs on link 0 and the RT1320 stereo amplifiers on link 2.

@jeffsauer

Copy link
Copy Markdown

Is this PR still active? Any progress?

@jeffsauer

jeffsauer commented Oct 19, 2026 •

Copy link
Copy Markdown

I tested on an MSI Raider 16 HX MAX (Arrow Lake, RT713 on link 0 + 2x RT1320 on link 2). The machine entry matches and the driver probes, but the sound card failed to instantiate:

rt1320-sdca sdw:0:2:025d:1320:01:1: ASoC: Failed to add FU21 Playback Volume: -16
sof_sdw sof_sdw: ASoC: failed to instantiate card -16

Root cause: in rt1320_2_lr_adr, both amps use .name_prefix = "rt1320-1", so the second codec's ALSA controls collide with the first's. Other dual-amp entries in the tree use distinct prefixes (e.g. rt1308-1/rt1308-2 in soc-acpi-intel-tgl-match.c).

Changing the right amp's prefix to "rt1320-2" fixes it — the sof-soundwire card comes up with working Speaker, Jack Out, and HDMI devices.

dmesg output:

[   11.283988] sof-audio-pci-intel-mtl 0000:80:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
[   11.290805] sof-audio-pci-intel-mtl 0000:80:1f.3: use msi interrupt mode
[   11.304211] sof-audio-pci-intel-mtl 0000:80:1f.3: hda codecs found, mask 4
[   11.304214] sof-audio-pci-intel-mtl 0000:80:1f.3: NHLT device BT(0) detected, ssp_mask 0x4
[   11.304215] sof-audio-pci-intel-mtl 0000:80:1f.3: BT link detected in NHLT tables: 0x4
[   11.304217] sof-audio-pci-intel-mtl 0000:80:1f.3: DMICs detected in NHLT tables: 0
[   11.305618] sof-audio-pci-intel-mtl 0000:80:1f.3: Firmware paths/files for ipc type 1:
[   11.305620] sof-audio-pci-intel-mtl 0000:80:1f.3:  Firmware file:     intel/sof-ipc4/arl-s/sof-arl-s.ri
[   11.305621] sof-audio-pci-intel-mtl 0000:80:1f.3:  Firmware lib path: intel/sof-ipc4-lib/arl-s
[   11.305622] sof-audio-pci-intel-mtl 0000:80:1f.3:  Topology file:     function topologies
[   11.305993] sof-audio-pci-intel-mtl 0000:80:1f.3: Loaded firmware library: ADSPFW, version: 2.15.0.1
[   11.643944] sof-audio-pci-intel-mtl 0000:80:1f.3: Booted firmware version: 2.15.0.1
[   11.655182] sof-audio-pci-intel-mtl 0000:80:1f.3: Using function topologies instead intel/sof-ipc4-tplg/sof-arl-dummy.tplg
[   11.655185] sof-audio-pci-intel-mtl 0000:80:1f.3: loading topology 0: intel/sof-ipc4-tplg/sof-sdca-jack-id0.tplg
[   11.655205] sof-audio-pci-intel-mtl 0000:80:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[   11.655330] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[   11.655331] sof-audio-pci-intel-mtl 0000:80:1f.3: loading topology 1: intel/sof-ipc4-tplg/sof-sdca-mic-id4.tplg
[   11.655340] sof-audio-pci-intel-mtl 0000:80:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[   11.655369] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[   11.655370] sof-audio-pci-intel-mtl 0000:80:1f.3: loading topology 2: intel/sof-ipc4-tplg/sof-sdca-1amp-id2.tplg
[   11.655381] sof-audio-pci-intel-mtl 0000:80:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[   11.655450] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[   11.655451] sof-audio-pci-intel-mtl 0000:80:1f.3: loading topology 3: intel/sof-ipc4-tplg/sof-hdmi-pcm5-id5.tplg
[   11.655460] sof-audio-pci-intel-mtl 0000:80:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:1
[   11.655503] sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred
[   11.665776] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[   11.683231] input: sof-soundwire Headset Jack as /devices/pci0000:80/0000:80:1f.3/sof_sdw/sound/card1/input24
[   11.683266] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:80/0000:80:1f.3/sof_sdw/sound/card1/input25
[   11.683287] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:80/0000:80:1f.3/sof_sdw/sound/card1/input26
[   11.683308] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:80/0000:80:1f.3/sof_sdw/sound/card1/input27

aplay output:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 0: Jack Out (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 5: HDMI1 (*) [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 6: HDMI2 (*) [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 7: HDMI3 (*) [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 31: Deepbuffer Jack Out (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofsoundwire [sof-soundwire], device 35: Deepbuffer Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

rt1320-prefix-fix.patch

@bardliao

Copy link
Copy Markdown
Collaborator

@jeffsauer Thanks for the feedback. @macchian Can you revise the commit?

Add support for the RT713 JACK/DMIC codecs on link 0 and
the RT1320 stereo amplifiers on link 2.

Assign .tplg_name = sof-arl-dummy.tplg, can use the functional
topologies.

Signed-off-by: Mac Chiang <mac.chiang@intel.com>
@macchian

Copy link
Copy Markdown
Author

@jeffsauer Thanks for the feedback. @macchian Can you revise the commit?

@bardliao , I just realized there was already an identical PR, #5935 merged in Sep. @jeffsauer, FYI, this audio combination is already supported in the main branch.
I think we can close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants