sound/soc/amd/acp/acp-sdw-legacy-mach.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
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
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
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
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
>
© 2016 - 2026 Red Hat, Inc.