* [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support
@ 2024-02-28 7:39 Jiawei Wang
2024-02-28 7:39 ` [PATCH 2/2] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2 Jiawei Wang
2024-02-28 16:17 ` [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Jiawei Wang @ 2024-02-28 7:39 UTC (permalink / raw)
To: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Mark Brown
Cc: linux-sound, Jiawei Wang
The Lenovo 21J2 (ThinkBook 16 G5+ APO) has this new variant,
as detected with lspci:
64:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD]
ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
Signed-off-by: Jiawei Wang <me@jwang.link>
---
sound/soc/amd/yc/pci-acp6x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/amd/yc/pci-acp6x.c b/sound/soc/amd/yc/pci-acp6x.c
index 7af6a349b1d4..694b8e313902 100644
--- a/sound/soc/amd/yc/pci-acp6x.c
+++ b/sound/soc/amd/yc/pci-acp6x.c
@@ -162,6 +162,7 @@ static int snd_acp6x_probe(struct pci_dev *pci,
/* Yellow Carp device check */
switch (pci->revision) {
case 0x60:
+ case 0x63:
case 0x6f:
break;
default:
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2
2024-02-28 7:39 [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Jiawei Wang
@ 2024-02-28 7:39 ` Jiawei Wang
2024-02-28 16:17 ` [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Jiawei Wang @ 2024-02-28 7:39 UTC (permalink / raw)
To: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Mark Brown
Cc: linux-sound, Jiawei Wang
Like many other models, the Lenovo 21J2 (ThinkBook 16 G5+ APO)
needs a quirk entry for the internal microphone to function.
Signed-off-by: Jiawei Wang <me@jwang.link>
---
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index cc231185d72c..895e73243921 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -199,6 +199,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
}
},
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "21J2"),
+ }
+ },
{
.driver_data = &acp6x_card,
.matches = {
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support
2024-02-28 7:39 [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Jiawei Wang
2024-02-28 7:39 ` [PATCH 2/2] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2 Jiawei Wang
@ 2024-02-28 16:17 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-02-28 16:17 UTC (permalink / raw)
To: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Jiawei Wang; +Cc: linux-sound
On Wed, 28 Feb 2024 15:39:13 +0800, Jiawei Wang wrote:
> The Lenovo 21J2 (ThinkBook 16 G5+ APO) has this new variant,
> as detected with lspci:
>
> 64:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD]
> ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: amd: yc: add new YC platform variant (0x63) support
commit: 316a784839b21b122e1761cdca54677bb19a47fa
[2/2] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2
commit: ed00a6945dc32462c2d3744a3518d2316da66fcc
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:[~2024-02-28 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-28 7:39 [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Jiawei Wang
2024-02-28 7:39 ` [PATCH 2/2] ASoC: amd: yc: Fix non-functional mic on Lenovo 21J2 Jiawei Wang
2024-02-28 16:17 ` [PATCH 1/2] ASoC: amd: yc: add new YC platform variant (0x63) support Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox