Re: [PATCH 3/3] ASoC: amd: acp: add ASUS HN7306EA quirk for legacy SDW machine
From: Mukunda,Vijendar
Date: Mon Mar 09 2026 - 01:37:45 EST
On 08/03/26 20:46, hasunpark@xxxxxxxxx wrote:
> [You don't often get email from hasunpark@xxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> From: Hasun Park <hasunpark@xxxxxxxxx>
>
> Add a DMI quirk entry for ASUS HN7306EA in the ACP SoundWire legacy
> machine driver.
>
> Set driver_data to RT711_JD1 | ASOC_SDW_ACP_DMIC for this board so the
> platform-specific jack/DMIC quirk path is selected.
As RT721 comes up with UAJ + DMIC, then why we need ACP PDM DMIC in this case?
If you are using RT721 (UAJ + DMIC combination) below quirk is not required.
>
> Signed-off-by: Hasun Park <hasunpark@xxxxxxxxx>
> ---
> sound/soc/amd/acp/acp-sdw-legacy-mach.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> index c30ccf23005a..d22b71e3fd2d 100644
> --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> @@ -111,6 +111,14 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
> },
> .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
> },
> + {
> + .callback = soc_sdw_quirk_cb,
> + .matches = {
> + DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"),
> + },
> + .driver_data = (void *)(RT711_JD1 | ASOC_SDW_ACP_DMIC),
> + },
> {}
> };
>
> --
> 2.53.0
>