diff mbox series

[v2] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x

Message ID OS3P286MB1711DD6556284B69C79C0C4FE19B9@OS3P286MB1711.JPNP286.PROD.OUTLOOK.COM
State Accepted
Commit a8f5da0bf4d85a6ad03810d902aba61c572102a6
Headers show
Series [v2] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x | expand

Commit Message

Baishan Jiang April 12, 2023, 8:40 a.m. UTC
ThinkBook 14 G5+ ARP uses Ryzen 7735H processor, and has the same 
microphone problem as ThinkBook 14 G4+ ARA.

Adding 21HY to acp6x quirks table enables microphone for ThinkBook 
14 G5+ ARP.

Signed-off-by: Baishan Jiang <bjiang400@outlook.com>
---
V1 -> V2: Fixed signed-off-by format
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Mark Pearson April 13, 2023, 4:33 p.m. UTC | #1
On Wed, Apr 12, 2023, at 10:47 AM, Limonciello, Mario wrote:
> [Public]
>
> Loop Mark Pearson from Lenovo for awareness.
>
>> -----Original Message-----
>> From: Baishan Jiang <bjiang400@outlook.com>
>> Sent: Wednesday, April 12, 2023 03:41
>> To: Mark Brown <broonie@kernel.org>; Takashi Iwai <tiwai@suse.com>;
>> Limonciello, Mario <Mario.Limonciello@amd.com>; alsa-devel@alsa-
>> project.org
>> Cc: Baishan Jiang <bjiang400@outlook.com>
>> Subject: [PATCH v2] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list
>> for acp6x
>> 
>> ThinkBook 14 G5+ ARP uses Ryzen 7735H processor, and has the same
>> microphone problem as ThinkBook 14 G4+ ARA.
>> 
>> Adding 21HY to acp6x quirks table enables microphone for ThinkBook
>> 14 G5+ ARP.
>> 
>> Signed-off-by: Baishan Jiang <bjiang400@outlook.com>
>
> It would be generally preferred for systems to start including the _DSD in the
> BIOS so we can stop growing the quirk list, but if they don't then patches like
> this make sense.

Ack. I've forwarded to the FW team. Internal ticket is LO-2404.

Realistically though - I'd recommend still carrying on with the patch. This platform isn't in the Linux program and it could take me a while to see if I can get them to accept making changes I'm afraid.

Mark

>
> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
>
>> ---
>> V1 -> V2: Fixed signed-off-by format
>> ---
>>  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 0acdf0156f07..62d8a8e060d2 100644
>> --- a/sound/soc/amd/yc/acp6x-mach.c
>> +++ b/sound/soc/amd/yc/acp6x-mach.c
>> @@ -178,6 +178,13 @@ static const struct dmi_system_id
>> yc_acp_quirk_table[] = {
>>  			DMI_MATCH(DMI_PRODUCT_NAME, "21EN"),
>>  		}
>>  	},
>> +	{
>> +		.driver_data = &acp6x_card,
>> +		.matches = {
>> +			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
>> +			DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
>> +		}
>> +	},
>>  	{
>>  		.driver_data = &acp6x_card,
>>  		.matches = {
>> --
>> 2.40.0
Claudiu.Beznea--- via Alsa-devel April 13, 2023, 4:35 p.m. UTC | #2
[Public]



> -----Original Message-----
> From: Mark Pearson <mpearson-lenovo@squebb.ca>
> Sent: Thursday, April 13, 2023 11:34
> To: Limonciello, Mario <Mario.Limonciello@amd.com>; Baishan Jiang
> <bjiang400@outlook.com>; Mark Brown <broonie@kernel.org>; Takashi Iwai
> <tiwai@suse.com>; alsa-devel@alsa-project.org
> Subject: Re: [PATCH v2] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks
> list for acp6x
> 
> 
> On Wed, Apr 12, 2023, at 10:47 AM, Limonciello, Mario wrote:
> > [Public]
> >
> > Loop Mark Pearson from Lenovo for awareness.
> >
> >> -----Original Message-----
> >> From: Baishan Jiang <bjiang400@outlook.com>
> >> Sent: Wednesday, April 12, 2023 03:41
> >> To: Mark Brown <broonie@kernel.org>; Takashi Iwai <tiwai@suse.com>;
> >> Limonciello, Mario <Mario.Limonciello@amd.com>; alsa-devel@alsa-
> >> project.org
> >> Cc: Baishan Jiang <bjiang400@outlook.com>
> >> Subject: [PATCH v2] ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks
> list
> >> for acp6x
> >>
> >> ThinkBook 14 G5+ ARP uses Ryzen 7735H processor, and has the same
> >> microphone problem as ThinkBook 14 G4+ ARA.
> >>
> >> Adding 21HY to acp6x quirks table enables microphone for ThinkBook
> >> 14 G5+ ARP.
> >>
> >> Signed-off-by: Baishan Jiang <bjiang400@outlook.com>
> >
> > It would be generally preferred for systems to start including the _DSD in
> the
> > BIOS so we can stop growing the quirk list, but if they don't then patches
> like
> > this make sense.
> 
> Ack. I've forwarded to the FW team. Internal ticket is LO-2404.
> 
> Realistically though - I'd recommend still carrying on with the patch. This
> platform isn't in the Linux program and it could take me a while to see if I can
> get them to accept making changes I'm afraid.

Right, I also think the patch makes sense but if you can try to get the BIOS team to
get it added on other newer systems not in the Linux program it could avoid it
in the future for those.

> 
> Mark
> 
> >
> > Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
> >
> >> ---
> >> V1 -> V2: Fixed signed-off-by format
> >> ---
> >>  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 0acdf0156f07..62d8a8e060d2 100644
> >> --- a/sound/soc/amd/yc/acp6x-mach.c
> >> +++ b/sound/soc/amd/yc/acp6x-mach.c
> >> @@ -178,6 +178,13 @@ static const struct dmi_system_id
> >> yc_acp_quirk_table[] = {
> >>  			DMI_MATCH(DMI_PRODUCT_NAME, "21EN"),
> >>  		}
> >>  	},
> >> +	{
> >> +		.driver_data = &acp6x_card,
> >> +		.matches = {
> >> +			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> >> +			DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
> >> +		}
> >> +	},
> >>  	{
> >>  		.driver_data = &acp6x_card,
> >>  		.matches = {
> >> --
> >> 2.40.0
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 0acdf0156f07..62d8a8e060d2 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -178,6 +178,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "21EN"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21HY"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {