From nobody Mon May 25 06:41:06 2026 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C32C34D3B5 for ; Sun, 17 May 2026 08:53:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779008020; cv=none; b=Gus13XffApr4+JwiEMAw07aI/yWA6CXVKvmCHpqlzMzoaKxb4j0kNet89tlcUrUntabqKswg85RZreiQhYKV/PHArP5k1i0EcBRmZUlNo/mTPY9HKByRviYtz23GBO4aHNH2AEunB+T5Kg1gxQQwbvdp6dyYYToaOjlToxMQxIk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779008020; c=relaxed/simple; bh=5HtuVgaiY0YvcIv/uLoN/3sTJCwrQF8ruRChvqh129c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JSP030arPb2zLdS0e6Y3HPUcRVj1cSAql5WpLVoto8l3yLXhQjuW08WyoxVgsAuhXKSHoG7houKDgH2Cdy1AmIJ7LtoSVt9yJL4NS4qAyTjLzRQItrb1EmVnXQYD6liGEpR9mKdoqS5D5Gaev1jyXCuLfjzGpqzQKDngZ7Eel4A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mZUIAXDn; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mZUIAXDn" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2bd5b3f8a98so3100285ad.2 for ; Sun, 17 May 2026 01:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779008019; x=1779612819; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ANUCFNHeQjHjR+ZPRwbIJN1ptVHRpArx0eEvrWvlZZ8=; b=mZUIAXDnEwU8UcPJCP7jSUNQm5txo5OG5F4KKziCiwVDA7qPDYn+Zcw1G3BhxYFa++ ZXXcHmWs94QDVeY8j0cFF6a0q+KgujhjEt+oXQerzUEI/BZB8SVyCsXA1euLP7QTXrW4 BJiSZ7juEwS1EmYgPHCKCPFCOB2KsOdlUJaNSLNd/Hfl9bMPTPEzBQaKs3MVH/pzMkrU cJSq26haDBjhraVD/hwCg4L6ta5vukDq5KziEiEBJHcbkVxWpp/cSYErDlprrBitlhia owV6ttS1B+5DnCZyTuqsSlMBvH3b0nbtG2tH+ve05DOsugm5Nc54djlkPlKxfTI8pgzC oEmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779008019; x=1779612819; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ANUCFNHeQjHjR+ZPRwbIJN1ptVHRpArx0eEvrWvlZZ8=; b=KYQs/gWx+r49t8/vbQUr9+/goGtx6G/ylyqBc51SDMK50Wd0tW6aTj08q8eSexjv9m 5Aal0OsQE7lAqrztDIhJUsCVNzjh3k0amv83wvyTWS2txl5HsQP6Vr2sOGFYJRtRIt4z rqS5NSRZxIrHLoRh10mvrn9r0yamTDrb3dxBp94SFKvhaZQc+CMsihZ2lttdzwCagRdb AOOixbesv1HgCsJikmB6G8DAsJA6KrD0H7rekNAMSAObBELjghnbtWftnYvf9mjiinDR /0/SP54ubVgIJogkziViYFMKOum1OZESV+oCgQ2nmYtMa0H9+v2DoSyxP+zEyTCMxKdk byIQ== X-Forwarded-Encrypted: i=1; AFNElJ8lWUdqW/B/exdtKVeDrV5aFYyy3TzQneCY79+9C9nQV8z3+qje6JcAYQj9CzOKLJ2roROvFMF5nxGB4G0=@vger.kernel.org X-Gm-Message-State: AOJu0YyhaNzsHNYVJ4Er4EUbqe84yDrlMl6c5XvSA8Eh6PGJlMOa3Hd7 pq6KWSOpqfo8Kf4DZYVi7o+zrfQslpymK0N/G3K2SyLALuwaJ+kOESZS X-Gm-Gg: Acq92OHpPD28Ks6fA6GLDl5FnTpfcMBZ2xjgZRyctsN6LinnB9YmQ1DN/F2ZY7CEavy qJP8/2gleowK2fU7+9wriE5HrKV3UqEuQoJMR/Rz/0fmhO0OvbJs+Ohw0mbKNxdTMII5UgV3OJQ 7S0qkrYoD4s1ZA9xqZWZ85K/V/fGnYiszNjR8z/SFnBs5JFXnqbxG69yLXm5WZxxSKbFUJlUoXu f4sKN3kv9ZGkvEV9nkpSxyOQMDg3eutgmmOvLNL6XU47g8tk7MA1b1b1MWJ/WSlZjqXRZ2FKjnd R6PDxk2nE8uoGbSQMmSZQx8xbdmL7SLICi/BpWyLKbufvacrMyPimlD5Ynwe4M+v3dzOV3dZSF+ xeyjYff8rNjkNTJVPpiNxudgOAqMqbisT9mRvJl3uM6Cr5m3ZSyhqD+Z8msHWIZI8CPd5XdPrbx ecJ37vuBxWEdbun4y/I/N9OvHFf8xchu1rmIdOj4sPCePUyBC8a+4oaX0= X-Received: by 2002:a17:90a:c883:b0:369:a719:6747 with SMTP id 98e67ed59e1d1-369a7196e42mr1004072a91.3.1779008018693; Sun, 17 May 2026 01:53:38 -0700 (PDT) Received: from nixos.golden-musical.ts.net ([122.161.241.87]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c82bb1156absm10194919a12.27.2026.05.17.01.53.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2026 01:53:37 -0700 (PDT) From: Sidharth Sharma To: Vijendar.Mukunda@amd.com, venkataprasad.potturu@amd.com, broonie@kernel.org Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Sidharth Sharma Subject: [PATCH] ASoC: amd: ps: Add support for MSI Crosshair A16 HX Date: Sun, 17 May 2026 14:23:23 +0530 Message-ID: <20260517085323.2565039-1-wednisegit@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The MSI Crosshair A16 HX (D8WFKG) uses a Ryzen 9 8940HX processor, which identifies with ACP PCI revision 0x62. This revision is currently unlisted in the Pink Sardine driver, causing the probe to return -ENODEV. Furthermore, the MSI BIOS lacks the necessary 'acp-audio-device-type' and '_WOV' ACPI entries required to automatically route the internal digital microphone array. Add the 0x62 revision to the PCI validation switch block, and introduce a DMI quirk table to manually force the PDM configuration flag for this specific board, allowing the acp63-dmic-capture node to map correctly. Signed-off-by: Sidharth Sharma --- sound/soc/amd/ps/pci-ps.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 9751cf078..b9758a7b5 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -17,10 +17,24 @@ #include #include #include +#include #include "../mach-config.h" =20 #include "acp63.h" =20 +#define ACP62_PCI_REV 0x62 + +static const struct dmi_system_id acp63_dmic_quirk_table[] =3D { + { + .ident =3D "MSI Crosshair A16 HX", + .matches =3D { + DMI_MATCH(DMI_BOARD_VENDOR, "Micro-Star International Co., Ltd."), + DMI_MATCH(DMI_PRODUCT_NAME, "Crosshair A16 HX D8WFKG"), + } + }, + {} +}; + static void handle_acp70_sdw_wake_event(struct acp63_dev_data *adata) { struct amd_sdw_manager *amd_manager; @@ -436,6 +450,12 @@ static int get_acp63_device_config(struct pci_dev *pci= , struct acp63_dev_data *a if (dmic_en && wov_en) is_dmic_dev =3D true; =20 + /* fallback for msi firmware lacking standard acpi audio routing flags */ + if (dmi_check_system(acp63_dmic_quirk_table)) { + is_dmic_dev =3D true; + acp_data->is_pdm_config =3D true; + } + if (acp_data->is_sdw_config) { ret =3D acp_scan_sdw_devices(&pci->dev, ACP63_SDW_ADDR); if (!ret && acp_data->info.link_mask) @@ -587,6 +607,7 @@ static int snd_acp63_probe(struct pci_dev *pci, =20 /* ACP PCI revision id check for ACP6.3, ACP7.0 & ACP7.1 platforms */ switch (pci->revision) { + case ACP62_PCI_REV: case ACP63_PCI_REV: case ACP70_PCI_REV: case ACP71_PCI_REV: --=20 2.53.0