Skip to contentSkip to conversation

Add some models into acp6x quirk list

PATCH In review Mario Limonciello 2 participants 4 messages Sep 20, 2022 – Sep 21, 2022

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

v3 cover Add some models into acp6x quirk list

Another model from ASUS and Lenovo have been identified that don't include anything in ACPI tables to indicate they require the ACP6x DMIC driver to be loaded.

This series adds them both to the quirk list.

changes from v1->v2:
* Both models were independently sent in v1 but touch the same code, so v2 collates them together.

v2->v3:
* Add my missing S-o-B for 1/2
Mario Limonciello (1):
ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table

Xiaoyan Li (1):
ASoC: amd: yc: Add ASUS UM5302TA into DMI table

 sound/soc/amd/yc/acp6x-mach.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/2 ASoC: amd: yc: Add ASUS UM5302TA into DMI table

From: Xiaoyan Li <[email protected]>

ASUS Zenbook S 13 OLED (UM5302TA) needs this quirk to get the built-in microphone working properly.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index e0b24e1daef3..5eab3baf3573 100644
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21J6"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "UM5302TA"),
+		}
+	},
 	{}
 };
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH v3 2/2 ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table

In reply to Mario Limonciello

Lenovo Yoga Slim 7 Pro X has an ACP DMIC that isn't specified in the ASL or existing quirk list. Add it to the quirk table to let DMIC work on these systems.

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)
sound/soc/amd/yc/acp6x-mach.c +7 -0
index 5eab3baf3573..2cb50d5cf1a9 100644
@@ -171,6 +171,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21J6"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "82"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
Signature · 1 line
2.34.1
maintainer
#3 lore raw
In reply to Mario Limonciello
Quoted 11 lines · Mario Limonciello

Another model from ASUS and Lenovo have been identified that don't include anything in ACPI tables to indicate they require the ACP6x DMIC driver to be loaded.

This series adds them both to the quirk list.

changes from v1->v2:
* Both models were independently sent in v1 but touch the same code, so v2 collates them together.

[...]

Applied to

broonie/sound.git for-next

Thanks!

[1/2] ASoC: amd: yc: Add ASUS UM5302TA into DMI table

      commit: 4df5b13dec9e1b5a12db47ee92eb3f7da5c3deb5
[2/2] ASoC: amd: yc: Add Lenovo Yoga Slim 7 Pro X to quirks table
      commit: 2232b2dd8cd4f1e6d554b2c3f6899ce36f791b67

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