]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp: Add DMI quirk for ASUS Zenbook S16 UM5606GA
authorJasper Smet <josbeir@gmail.com>
Wed, 13 May 2026 05:21:37 +0000 (07:21 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 16 May 2026 02:28:57 +0000 (11:28 +0900)
The ASUS Zenbook S16 (UM5606GA) with AMD Ryzen AI 9 465 (Strix Point,
ACP 7.0) has a BIOS that incorrectly sets the ACPI property
'acp-audio-config-flag' to 0x10 (FLAG_AMD_LEGACY_ONLY_DMIC) for the ACP
device. This prevents snd_pci_ps from probing the SoundWire bus, resulting
in no internal audio (dummy output only).

The hardware uses a Cirrus Logic CS42L43 (headphone/jack) and four CS35L56
smart amplifiers (speakers), all on SoundWire link 1. The corresponding
machine table entry (acp70_cs42l43_l1u0_cs35l56x4_l1u0123) already exists
in amd-acp70-acpi-match.c and correctly describes this topology.

Add a DMI quirk to override the flag to 0, consistent with the existing
entry for the HN7306EA.

Signed-off-by: Jasper Smet <josbeir@gmail.com>
Link: https://patch.msgid.link/20260513052137.56703-1-josbeir@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-config.c

index 1604ed679224ba9fd8cc4dbd56a76a291f739697..309dc9ed6e0d2b87f004dd99250d51e3b08dfa5c 100644 (file)
@@ -30,6 +30,13 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"),
                },
        },
+       {
+               /* ASUS Zenbook S16 UM5606GA (Strix Point, ACP 7.0) */
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Zenbook S16 UM5606GA"),
+               },
+       },
        {}
 };