Skip to contentSkip to conversation

ASoC: amd: acp-config: Add HVY-WXX9/M1060 DMI quirk

PATCH In review Mehmet Aysel 2 participants 3 messages Aug 25 – Aug 26

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ASoC: amd: acp-config: Add HVY-WXX9/M1060 DMI quirk

Add DMI match table entry for HUAWEI HVY-WXX9 board, product version M1060, a MateBook D16 2021 (Ryzen 5 4600H) revision not covered by the existing M1010/M1020/M1040 entries. This board uses the same FLAG_AMD_LEGACY / ACP_PCI_DEV_ID configuration as the other HVY-WXX9 variants.

---
 sound/soc/amd/acp-config.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
sound/soc/amd/acp-config.c +14 -0
index 365209e..653e8ce 100644
@@ -159,6 +159,20 @@ static const struct config_entry config_table[] = {
 			{}
 		},
 	},
+	{
+		.flags = FLAG_AMD_LEGACY,
+		.device = ACP_PCI_DEV_ID,
+		.dmi_table = (const struct dmi_system_id []) {
+			{
+				.matches = {
+					DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
+					DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
+					DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1060"),
+				},
+			},
+			{}
+		},
+	},
 };
 
 static int snd_amd_acp_acpi_find_config(struct pci_dev *pci)
Signature · 1 line
2.55.0
#1 lore raw

PATCH 2/2 ASoC: amd: acp3x-es83xx: Add HVY-WXX9/M1060 DMI quirk

Add matching DMI table entry for the ES83xx machine driver, so the HUAWEI HVY-WXX9 / M1060 board (MateBook D16 2021, Ryzen 5 4600H) can successfully probe its ES8316 codec via the acp3x-es83xx machine driver, consistent with the existing M1010/M1020/M1040 entries for the same board name.

---
 sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c | 8 ++++++++
 1 file changed, 8 insertions(+)
sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c +8 -0
index 141ea47..2e794e3 100644
@@ -383,6 +383,14 @@ static const struct dmi_system_id acp3x_es83xx_dmi_table[] = {
 		},
 		.driver_data = (void *)(ES83XX_ENABLE_DMIC),
 	},
+	{
+		.matches = {
+			DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1060"),
+		},
+		.driver_data = (void *)(ES83XX_ENABLE_DMIC),
+	},
 	{}
 };
 
Signature · 1 line
2.55.0
maintainer
#2 lore raw
In reply to Mehmet Aysel
Quoted 1 line · Mehmet Aysel

ASoC: amd: acp-config: Add HVY-WXX9/M1060 DMI quirk

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/2] ASoC: amd: acp-config: Add HVY-WXX9/M1060 DMI quirk

      https://git.kernel.org/broonie/sound/c/032bb633e0c3
[2/2] ASoC: amd: acp3x-es83xx: Add HVY-WXX9/M1060 DMI quirk
      https://git.kernel.org/broonie/sound/c/c1a39c228ace

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark