From 2f8a2211d395b4a9837a767073799b6cae3f713a Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Fri, 4 Dec 2026 14:03:42 +0800 Subject: [PATCH 1/2] soundwire: dmi-quirks: Add remap quirk for HP OMEN 16 board 8A4D The HP OMEN Gaming Laptop 16-k0001sa (board 8A4D) has the same incorrect ACPI description as the HP Omen 16-k0005TX: the BIOS declares a rt711 on link0 and link1, while the hardware actually has a rt711-sdca on link0 and a rt1316 on link3. The existing hp_omen_16 remap matches on DMI product name "OMEN by HP Gaming Laptop 16", but this model reports "OMEN by HP Gaming Laptop", so the remap is not applied and neither codec is bound to an ACPI node. Add a board name based match so the remap applies to this model. Link: https://github.com/thesofproject/sof/issues/11606 Signed-off-by: Bard Liao --- drivers/soundwire/dmi-quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c index 1c3c57ebc2ea15..ffff754e102f13 100644 --- a/drivers/soundwire/dmi-quirks.c +++ b/drivers/soundwire/dmi-quirks.c @@ -213,6 +213,13 @@ static const struct dmi_system_id adr_remap_quirk_table[] = { }, .driver_data = (void *)hp_omen_16, }, + { + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "8A4D"), + }, + .driver_data = (void *)hp_omen_16, + }, /* PTL devices */ { .matches = { From 3c5b98ff1cf9d4a5e3508e694015611f974f0fe1 Mon Sep 17 00:00:00 2001 From: Bard Liao Date: Fri, 4 Dec 2026 14:03:42 +0800 Subject: [PATCH 2/2] ASoC: Intel: sof_sdw: Add quirk for HP OMEN 16 board 8A4D The HP OMEN Gaming Laptop 16-k0001sa (board 8A4D) reports DMI product name "OMEN by HP Gaming Laptop", which does not match the existing "OMEN by HP Gaming Laptop 16" quirk. Without SOF_SDW_TGL_HDMI only 3 iDisp DAI links are created and topology loading fails with: can't connect DAI HDA3.OUT stream iDisp4 Add a board name based match with the same quirk as the HP Omen 16-k0005TX. Link: https://github.com/thesofproject/sof/issues/11606 Signed-off-by: Bard Liao --- sound/soc/intel/boards/sof_sdw.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index d67ebbf064451e..f9ec535748ea56 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -473,6 +473,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .driver_data = (void *)(SOF_SDW_TGL_HDMI | RT711_JD2), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "8A4D"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2), + }, /* RaptorLake devices */ { .callback = sof_sdw_quirk_cb,