mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: yc: Add DMI quirk for Lenovo V15 AMN G6
@ 2026-10-30 18:39 Rodnei Cilto via B4 Relay
  2026-10-31 13:53 ` Mukunda,Vijendar
  0 siblings, 1 reply; 2+ messages in thread
From: Rodnei Cilto via B4 Relay @ 2026-10-30 18:39 UTC (permalink / raw)
  To: Vijendar Mukunda, Venkata Prasad Potturu, Liam Girdwood,
	Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, Rodnei Cilto

From: Rodnei Cilto <rcilto1@lenovo.com>

The Lenovo V15 AMN G6 (product name 83VD and 84CS) uses the ACP6x PDM
interface for its internal digital microphone array.

Its firmware exposes neither the AcpDmicConnected _DSD property
nor the _WOV method, causing acp6x_probe() to fall through to
the DMI check and return -ENODEV. As a result, acp_yc_mach.0
is not bound and no capture device is registered.

Add a DMI quirk entry for this model. With it, the machine
driver binds correctly and the DMIC capture device becomes
available.

Capture was verified working with arecord and PipeWire.

Signed-off-by: Rodnei Cilto <rcilto1@lenovo.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 41f8c0885865..fc648590409a 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -395,6 +395,20 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "83UU"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "84CS"),
+		}
+	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83VD"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {

---
base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3
change-id: 20261030-ideapad-mic-support-d658dddb815a

Best regards,
--  
Rodnei Cilto <rcilto1@lenovo.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: amd: yc: Add DMI quirk for Lenovo V15 AMN G6
  2026-10-30 18:39 [PATCH] ASoC: amd: yc: Add DMI quirk for Lenovo V15 AMN G6 Rodnei Cilto via B4 Relay
@ 2026-10-31 13:53 ` Mukunda,Vijendar
  0 siblings, 0 replies; 2+ messages in thread
From: Mukunda,Vijendar @ 2026-10-31 13:53 UTC (permalink / raw)
  To: rcilto1, Venkata Prasad Potturu, Liam Girdwood, Mark Brown,
	Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel

On 31/10/26 00:09, Rodnei Cilto via B4 Relay wrote:
> [Some people who received this message don't often get email from devnull+rcilto1.lenovo.com@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Rodnei Cilto <rcilto1@lenovo.com>
>
> The Lenovo V15 AMN G6 (product name 83VD and 84CS) uses the ACP6x PDM
> interface for its internal digital microphone array.
>
> Its firmware exposes neither the AcpDmicConnected _DSD property
> nor the _WOV method, causing acp6x_probe() to fall through to
> the DMI check and return -ENODEV. As a result, acp_yc_mach.0
> is not bound and no capture device is registered.
>
> Add a DMI quirk entry for this model. With it, the machine
> driver binds correctly and the DMIC capture device becomes
> available.
>
> Capture was verified working with arecord and PipeWire.
>
> Signed-off-by: Rodnei Cilto <rcilto1@lenovo.com>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
>  sound/soc/amd/yc/acp6x-mach.c | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
> index 41f8c0885865..fc648590409a 100644
> --- a/sound/soc/amd/yc/acp6x-mach.c
> +++ b/sound/soc/amd/yc/acp6x-mach.c
> @@ -395,6 +395,20 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
>                         DMI_MATCH(DMI_PRODUCT_NAME, "83UU"),
>                 }
>         },
> +       {
> +               .driver_data = &acp6x_card,
> +               .matches = {
> +                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "84CS"),
> +               }
> +       },
> +       {
> +               .driver_data = &acp6x_card,
> +               .matches = {
> +                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> +                       DMI_MATCH(DMI_PRODUCT_NAME, "83VD"),
> +               }
> +       },
>         {
>                 .driver_data = &acp6x_card,
>                 .matches = {
>
> ---
> base-commit: d89e1d186ec9271bf78e62771779e9fc03bf0fc3
> change-id: 20261030-ideapad-mic-support-d658dddb815a
>
> Best regards,
> --
> Rodnei Cilto <rcilto1@lenovo.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-31 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 18:39 [PATCH] ASoC: amd: yc: Add DMI quirk for Lenovo V15 AMN G6 Rodnei Cilto via B4 Relay
2026-10-31 13:53 ` Mukunda,Vijendar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®