* [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms
@ 2026-04-08 13:30 Syed Saba Kareem
2026-04-08 15:41 ` Mukunda,Vijendar
2026-04-08 16:05 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Syed Saba Kareem @ 2026-04-08 13:30 UTC (permalink / raw)
To: broonie, alsa-devel
Cc: Vijendar.Mukunda, Sunil-kumar.Dommati, Syed Saba Kareem,
Mark Pearson, Venkata Prasad Potturu, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Charles Keepax,
Mario Limonciello (AMD),
Hasun Park, Krzysztof Kozlowski, Kees Cook,
open list:AMD ASoC DRIVERS, open list
From: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Replace DMI_EXACT_MATCH with DMI_MATCH for Lenovo SKU entries (21YW,
21YX) so the quirk applies to all variants of these models, not just
exact SKU matches.
Add ASOC_SDW_ACP_DMIC flag alongside ASOC_SDW_CODEC_SPKR in driver_data
for these Lenovo platform entries, as these platforms use ACP PDM DMIC
instead of SoundWire DMIC for digital microphone support.
Fixes: 3acf517e1ae0 ("ASoC: amd: amd_sdw: add machine driver quirk for Lenovo models")
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
---
Changes since v1:
- Updated DMI_MATCH to replace DMI_EXACT_MATCH for Lenovo SKU entries
(21YW, 21YX) to ensure the quirk applies to all variants of these
models.
sound/soc/amd/acp/acp-sdw-legacy-mach.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
index f86d14adc721..0f21e5f64531 100644
--- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
+++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
@@ -99,17 +99,17 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
.callback = soc_sdw_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
- DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "21YW"),
},
- .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+ .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | (ASOC_SDW_ACP_DMIC)),
},
{
.callback = soc_sdw_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
- DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "21YX"),
},
- .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+ .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | (ASOC_SDW_ACP_DMIC)),
},
{
.callback = soc_sdw_quirk_cb,
--
2.43.0
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms
2026-04-08 13:30 [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms Syed Saba Kareem
@ 2026-04-08 15:41 ` Mukunda,Vijendar
2026-04-08 16:05 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mukunda,Vijendar @ 2026-04-08 15:41 UTC (permalink / raw)
To: Syed Saba Kareem, broonie, alsa-devel
Cc: Sunil-kumar.Dommati, Mark Pearson, Venkata Prasad Potturu,
Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Charles Keepax,
Mario Limonciello (AMD),
Hasun Park, Krzysztof Kozlowski, Kees Cook,
open list:AMD ASoC DRIVERS, open list
On 4/8/26 19:00, Syed Saba Kareem wrote:
> From: Syed Saba Kareem <Syed.SabaKareem@amd.com>
>
> Replace DMI_EXACT_MATCH with DMI_MATCH for Lenovo SKU entries (21YW,
> 21YX) so the quirk applies to all variants of these models, not just
> exact SKU matches.
>
> Add ASOC_SDW_ACP_DMIC flag alongside ASOC_SDW_CODEC_SPKR in driver_data
> for these Lenovo platform entries, as these platforms use ACP PDM DMIC
> instead of SoundWire DMIC for digital microphone support.
>
> Fixes: 3acf517e1ae0 ("ASoC: amd: amd_sdw: add machine driver quirk for Lenovo models")
> Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
> Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
>
> Changes since v1:
> - Updated DMI_MATCH to replace DMI_EXACT_MATCH for Lenovo SKU entries
> (21YW, 21YX) to ensure the quirk applies to all variants of these
> models.
>
> sound/soc/amd/acp/acp-sdw-legacy-mach.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> index f86d14adc721..0f21e5f64531 100644
> --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> @@ -99,17 +99,17 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
> .callback = soc_sdw_quirk_cb,
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> - DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"),
> + DMI_MATCH(DMI_PRODUCT_SKU, "21YW"),
> },
> - .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
> + .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | (ASOC_SDW_ACP_DMIC)),
> },
> {
> .callback = soc_sdw_quirk_cb,
> .matches = {
> DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> - DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"),
> + DMI_MATCH(DMI_PRODUCT_SKU, "21YX"),
> },
> - .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
> + .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | (ASOC_SDW_ACP_DMIC)),
> },
> {
> .callback = soc_sdw_quirk_cb,
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms
2026-04-08 13:30 [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms Syed Saba Kareem
2026-04-08 15:41 ` Mukunda,Vijendar
@ 2026-04-08 16:05 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-04-08 16:05 UTC (permalink / raw)
To: alsa-devel, Syed Saba Kareem
Cc: Vijendar.Mukunda, Sunil-kumar.Dommati, Syed Saba Kareem,
Mark Pearson, Venkata Prasad Potturu, Liam Girdwood,
Jaroslav Kysela, Takashi Iwai, Charles Keepax,
Mario Limonciello (AMD),
Hasun Park, Krzysztof Kozlowski, Kees Cook,
open list:AMD ASoC DRIVERS, open list
On Wed, 08 Apr 2026 19:00:06 +0530, Syed Saba Kareem wrote:
> ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.0
Thanks!
[1/1] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms
https://git.kernel.org/broonie/sound/c/6b6f7263d626
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-04-08 18:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-08 13:30 [PATCH v2] ASoC: amd: acp: update DMI quirk and add ACP DMIC for Lenovo platforms Syed Saba Kareem
2026-04-08 15:41 ` Mukunda,Vijendar
2026-04-08 16:05 ` Mark Brown
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®