mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: fixca <jaehoon1744@dankook.ac.kr>
To: broonie@kernel.org, Vijendar.Mukunda@amd.com
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	stopthewar24@gmail.com, JaeHoon Kim <jaehoon1744@dankook.ac.kr>
Subject: [PATCH] ASoC: amd: acp: Add ACP70 ACPI flag override for LG gram 15Z95U
Date: Fri, 20 Nov 2026 23:39:30 +0900	[thread overview]
Message-ID: <20261120143930.9662-1-jaehoon1744@gmail.com> (raw)

From: JaeHoon Kim <jaehoon1744@dankook.ac.kr>

The LG gram 15 (15Z95U, AMD Ryzen AI 400 series, ACP 7.2) has the same
audio design as the 16Z95U: RT713 on SoundWire link 0 and RT1320 on
link 1, while the BIOS sets "acp-audio-config-flag" to 0x10
(FLAG_AMD_LEGACY_ONLY_DMIC). As on the 16Z95U, the flag makes
snd_pci_ps bail out and no sound card is created.

Add the machine to acp70_acpi_flag_override_table. The rt713 + rt1320
machine entries added for the 16Z95U then match.

Tested by the reporter on an LG gram 15Z95U-H.AU87U1 with v7.4-rc3:
internal speakers (correct left/right, no distortion up to full
volume), internal microphones and the headset jack work, also after
suspend/resume.

Reported-by: Andy Pearson <stopthewar24@gmail.com>
Closes: https://github.com/CachyOS/distribution/issues/516
Tested-by: Andy Pearson <stopthewar24@gmail.com>
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: JaeHoon Kim <jaehoon1744@dankook.ac.kr>
---
 sound/soc/amd/acp-config.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c
index febf559..6104634 100644
--- a/sound/soc/amd/acp-config.c
+++ b/sound/soc/amd/acp-config.c
@@ -140,6 +140,13 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14S DS14265"),
 		},
 	},
+	{
+		/* LG gram 15 15Z95U (ACP 7.2) */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "15Z95U"),
+		},
+	},
 	{
 		/* LG gram 16 16Z95U (ACP 7.2) */
 		.matches = {
-- 
2.43.0


             reply	other threads:[~2026-11-20 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 14:39 fixca [this message]
2026-11-20 14:57 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261120143930.9662-1-jaehoon1744@gmail.com \
    --to=jaehoon1744@dankook.ac.kr \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=stopthewar24@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®