[PATCH] ASoC: amd: yc: Add DMI quirk for Xiaomi REDMI Book 14 2025 (AMD)

Mikolaj Kucharski posted 1 patch 12 hours ago
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] ASoC: amd: yc: Add DMI quirk for Xiaomi REDMI Book 14 2025 (AMD)
Posted by Mikolaj Kucharski 12 hours ago
The internal digital microphones on the Xiaomi REDMI Book 14 2025 (AMD),
board TM2422, are not detected because the BIOS exposes neither the
_WOV method nor the AcpDmicConnected property. The ACP6x PCI driver
creates the acp_yc_mach platform device, but acp6x_probe() returns
-ENODEV, so no capture card is registered.

Add a DMI quirk entry for this board, in the same way as for the
related TM2423 board.

DMI information:
  sys_vendor:   XIAOMI
  product_name: REDMI Book 14 2025(AMD)
  board_vendor: XIAOMI
  board_name:   TM2422
  bios_version: RMARB4B1P0606

The ACP is PCI 1022:15e2 rev 0x60, subsystem 1d72:2422.

Diagnosis and patch were prepared with the help of an AI coding
assistant (Claude Code); the change was reviewed and tested by the
submitter.

Signed-off-by: Mikolaj Kucharski <mikolaj@kucharski.name>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index f636b5b..766d493 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -955,6 +955,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "TM2423"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "XIAOMI"),
+			DMI_MATCH(DMI_BOARD_NAME, "TM2422"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
-- 
2.47.3

-- 
Regards,
 Mikolaj