Public bug reported: [Impact] Dell platforms with AMD ACP7.B/7.F audio use SoundWire codecs (Cirrus Logic CS42L45 headset codec and CS35L63 speaker amps, plus DMIC). The 7.3 kernel has no SoundWire or SOF support for these ACP revisions. The sof-amd-sdw card does not come up, so there is no speaker, headset or DMIC audio. Also need DSP FW , topology files and alsa-ucm-conf to support new ACP 7.B/7.F
====== linux-kernel ====== [Fix] Patch set: 52 commits from AMD and Dell (final list to be confirmed in the Launchpad bug). ====== linux-firmware ====== 56464fec5f66dc7029d89466ac7af330d31a64cb amd-sof: Add ACP 7.F SOF topologies 37713b3ae69b8ac0b4d38353fcdc45887e6b480f amd-sof: Add ACP 7.F SOF firmware 0001-cirrus-cs42l45-Add-CS42L45-SDCA-codec-firmware-for-D.patch 0002-cirrus-cs35l63-Add-10280ef1-10280ef2-10280ef3-10280e.patch ====== alsa-ucm-conf ====== https://github.com/alsa-project/alsa-ucm-conf/pull/895/ [Test Plan] On an affected Dell system with the SOF firmware and topology, Cirrus tuning firmware and alsa-ucm-conf installed: 1. Boot the patched kernel. 2. Check the card and the SoundWire devices: $ sudo dmesg | grep -iE "sof|soundwire|sdw|cs42l45|cs35l63" $ aplay -l; arecord -l Expect card "sof-amd-sdw" with speaker, headset and DMIC devices. 3. Play to the speaker: $ speaker-test -c 2 -t wav -l 1 4. Plug a headset and play to it, then record from the headset mic and from the DMIC: $ arecord -D <dmic device> -f S16_LE -r 48000 -d 5 /tmp/t.wav && aplay /tmp/t.wav 5. Suspend and resume 10 times, then play audio again: $ sudo rtcwake -m mem -s 20 Without patch: no sof-amd-sdw card, no audio. With patch: all devices listed, audio plays and records, no SoundWire or SOF errors in dmesg, audio works after resume. Also test that an older AMD SoundWire platform (ACP6.3) still shows its audio devices and plays audio. [Where problems could occur] Could break the soundwire-amd manager and the SOF AMD driver, which are shared with other AMD platforms. The hw_ops refactor changes ACP6.3 code paths. A mistake could stop SoundWire from probing, or cause slave attach failures on older AMD systems (ACP6.3/7.0). ** Affects: hwe-next Importance: Undecided Status: New ** Affects: alsa-ucm-conf (Ubuntu) Importance: Undecided Status: New ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Affects: linux-firmware-misc (Ubuntu) Importance: Undecided Status: New ** Affects: linux-oem-7.3 (Ubuntu) Importance: Undecided Status: New ** Affects: alsa-ucm-conf (Ubuntu Resolute) Importance: Undecided Status: New ** Affects: linux (Ubuntu Resolute) Importance: Undecided Status: New ** Affects: linux-firmware-misc (Ubuntu Resolute) Importance: Undecided Status: New ** Affects: linux-oem-7.3 (Ubuntu Resolute) Importance: Undecided Status: New ** Affects: alsa-ucm-conf (Ubuntu Tenacious) Importance: Undecided Status: New ** Affects: linux (Ubuntu Tenacious) Importance: Undecided Status: New ** Affects: linux-firmware-misc (Ubuntu Tenacious) Importance: Undecided Status: New ** Affects: linux-oem-7.3 (Ubuntu Tenacious) Importance: Undecided Status: New ** Tags: jira-somerville-4911 jira-somerville-5869 oem-priority somerville ** Also affects: linux-oem-7.3 (Ubuntu) Importance: Undecided Status: New ** Also affects: linux-firmware-misc (Ubuntu) Importance: Undecided Status: New ** Also affects: alsa-ucm-conf (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Resolute) Importance: Undecided Status: New ** Also affects: alsa-ucm-conf (Ubuntu Resolute) Importance: Undecided Status: New ** Also affects: linux-firmware-misc (Ubuntu Resolute) Importance: Undecided Status: New ** Also affects: linux-oem-7.3 (Ubuntu Resolute) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Tenacious) Importance: Undecided Status: New ** Also affects: alsa-ucm-conf (Ubuntu Tenacious) Importance: Undecided Status: New ** Also affects: linux-firmware-misc (Ubuntu Tenacious) Importance: Undecided Status: New ** Also affects: linux-oem-7.3 (Ubuntu Tenacious) Importance: Undecided Status: New ** Tags added: jira-somerville-4911 oem-priority somerville ** Tags added: jira-somerville-5869 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2173838 Title: Support SoundWire and SoF on AMD with Cirrus Logic IC Solution To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/2173838/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
