From patchwork Mon Dec 11 01:52:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael T. Kloos" X-Patchwork-Id: 13486551 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=michaelkloos.com header.i=@michaelkloos.com header.b="CE/y5muJ" X-Greylist: delayed 301 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 10 Dec 2023 17:59:03 PST Received: from m228-63.mailgun.net (m228-63.mailgun.net [159.135.228.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE6A1E9 for ; Sun, 10 Dec 2023 17:59:03 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=michaelkloos.com; q=dns/txt; s=k1; t=1702259942; x=1702267142; h=Content-Transfer-Encoding: MIME-Version: Message-ID: Date: Subject: Subject: Cc: To: To: From: From: Sender: Sender; bh=1S+JBKzRPrgQ+DWtY3oDqgNdX3JGoElTw6Wl2Ji9RuQ=; b=CE/y5muJo9cVJHesMxgh1NthCBLZnHiOROe+NM1a8V7n28okZdJBtI3jU6XDtB0DGvBSb6lPLh22jqlp/L6HmYJCDrsT2CTJKNOB9ZPsvCgFIp+e0u8/iw0k42IZ9ov/HkbyoAs+vEAWy9abu4Yh4OFMNml10o8x6Ho68TzO6HA= X-Mailgun-Sending-Ip: 159.135.228.63 X-Mailgun-Sid: WyI5OGNlMSIsImxpbnV4LXNvdW5kQHZnZXIua2VybmVsLm9yZyIsIjQ4Y2MwIl0= Received: from drop1.michaelkloos.com (drop1.michaelkloos.com [67.205.190.89]) by a0d52d98d6af with SMTP id 65766bb81268d98757405a39 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 11 Dec 2023 01:54:00 GMT Sender: michael@michaelkloos.com Received: from echelontp.home.michaelkloos.com (173-088-115-050.res.spectrum.com [173.88.115.50]) by drop1.michaelkloos.com (Postfix) with ESMTPSA id E5AE54002A; Mon, 11 Dec 2023 01:53:59 +0000 (UTC) From: "Michael T. Kloos" To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Mario Limonciello , Jeremy Soller , Syed Saba Kareem , August Wikerfors , Vijendar Mukunda Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, "Michael T. Kloos" Subject: [PATCH] ASoC: Enable built-in microphone on Lenovo ThinkPad P14s Gen 4 (AMD) Date: Sun, 10 Dec 2023 20:52:25 -0500 Message-ID: <20231211015325.6793-1-michael@michaelkloos.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Added System Board to Quirks List using model number prefix. Replaced/Removed a duplicate entry in the list. Added Yellow Carp Coprocessor Revision number to PCI revision check. Signed-off-by: Michael T. Kloos --- sound/soc/amd/yc/acp6x-mach.c | 2 +- sound/soc/amd/yc/pci-acp6x.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index d83cb6e4c62a..c08605d99bc9 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -56,7 +56,7 @@ static const struct dmi_system_id yc_acp_quirk_table[] = { .driver_data = &acp6x_card, .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_NAME, "21D0"), + DMI_MATCH(DMI_PRODUCT_NAME, "21K5"), } }, { 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: