* [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
@ 2026-04-03 1:03 Mark Pearson
2026-04-03 4:20 ` Mukunda,Vijendar
2026-04-06 12:11 ` Mark Brown
0 siblings, 2 replies; 4+ messages in thread
From: Mark Pearson @ 2026-04-03 1:03 UTC (permalink / raw)
To: mpearson-lenovo
Cc: Vijendar.Mukunda, venkataprasad.potturu, lgirdwood, broonie,
perex, tiwai, linux-sound, linux-kernel
Add a DMI quirk entry for Lenovo P16s G5 AMD to use ASOC_SDW_ACP_DMIC.
Needed to allow the microphone to work on this platform
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
---
sound/soc/amd/acp/acp-sdw-legacy-mach.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
index 05484c72f9a8..f2c80f1424f0 100644
--- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
+++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
@@ -111,6 +111,22 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
},
.driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
},
+ {
+ .callback = soc_sdw_quirk_cb,
+ .matches = { /* Lenovo P16s G5 AMD */
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "21XG"),
+ },
+ .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
+ },
+ {
+ .callback = soc_sdw_quirk_cb,
+ .matches = { /* Lenovo P16s G5 AMD */
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_SKU, "21XH"),
+ },
+ .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
+ },
{
.callback = soc_sdw_quirk_cb,
.matches = {
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
2026-04-03 1:03 [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine Mark Pearson
@ 2026-04-03 4:20 ` Mukunda,Vijendar
2026-04-06 12:11 ` Mark Brown
1 sibling, 0 replies; 4+ messages in thread
From: Mukunda,Vijendar @ 2026-04-03 4:20 UTC (permalink / raw)
To: Mark Pearson
Cc: venkataprasad.potturu, lgirdwood, broonie, perex, tiwai,
linux-sound, linux-kernel
On 4/3/26 06:33, Mark Pearson wrote:
> [Some people who received this message don't often get email from mpearson-lenovo@squebb.ca. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Add a DMI quirk entry for Lenovo P16s G5 AMD to use ASOC_SDW_ACP_DMIC.
> Needed to allow the microphone to work on this platform
>
> Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> ---
> sound/soc/amd/acp/acp-sdw-legacy-mach.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> index 05484c72f9a8..f2c80f1424f0 100644
> --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
> @@ -111,6 +111,22 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
> },
> .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
> },
> + {
> + .callback = soc_sdw_quirk_cb,
> + .matches = { /* Lenovo P16s G5 AMD */
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_SKU, "21XG"),
> + },
> + .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
> + },
> + {
> + .callback = soc_sdw_quirk_cb,
> + .matches = { /* Lenovo P16s G5 AMD */
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_SKU, "21XH"),
> + },
> + .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
> + },
> {
> .callback = soc_sdw_quirk_cb,
> .matches = {
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
2026-04-03 1:03 [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine Mark Pearson
2026-04-03 4:20 ` Mukunda,Vijendar
@ 2026-04-06 12:11 ` Mark Brown
2026-04-06 15:51 ` Mark Pearson
1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2026-04-06 12:11 UTC (permalink / raw)
To: Mark Pearson
Cc: Vijendar.Mukunda, venkataprasad.potturu, lgirdwood, perex, tiwai,
linux-sound, linux-kernel
On Thu, 02 Apr 2026 21:03:25 -0400, Mark Pearson wrote:
> ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.0
Thanks!
[1/1] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
https://git.kernel.org/broonie/sound/c/80a7916ca2d9
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] 4+ messages in thread
* Re: [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
2026-04-06 12:11 ` Mark Brown
@ 2026-04-06 15:51 ` Mark Pearson
0 siblings, 0 replies; 4+ messages in thread
From: Mark Pearson @ 2026-04-06 15:51 UTC (permalink / raw)
To: Mark Brown
Cc: Vijendar.Mukunda, venkataprasad.potturu, lgirdwood, perex,
Takashi Iwai, linux-sound, linux-kernel
On Mon, Apr 6, 2026, at 8:11 AM, Mark Brown wrote:
> On Thu, 02 Apr 2026 21:03:25 -0400, Mark Pearson wrote:
>> ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
>
> Applied to
>
> https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.0
>
> Thanks!
>
> [1/1] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine
> https://git.kernel.org/broonie/sound/c/80a7916ca2d9
>
> 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.
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-04-06 15:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 1:03 [PATCH] ASoC: amd: acp: add Lenovo P16s G5 AMD quirk for legacy SDW machine Mark Pearson
2026-04-03 4:20 ` Mukunda,Vijendar
2026-04-06 12:11 ` Mark Brown
2026-04-06 15:51 ` Mark Pearson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox