From patchwork Tue Jul 4 04:46:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luke Jones X-Patchwork-Id: 698973 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D699FEB64D9 for ; Tue, 4 Jul 2023 04:50:24 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7D9B4820; Tue, 4 Jul 2023 06:49:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7D9B4820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688446222; bh=skTkvuQKAgSmn7QG46Dqtlze/kPeUFTFlTnnsiPs4F0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gb0IilFwiw+p0s4DsHuYyCElOkfZ3FPThAHeyN1JRRerWS1OjmFM9/ZrE3+TDVEiR /nWG6V39tdAV+La9rvKSlIXfAaAc7eQjyd089zbAx7lhRhn0S+i21b2kOdto3V5bA9 ylUGmSle2EJTJBbowg/NcA5MffcMFPNz0beIcBNM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 09BECF8059F; Tue, 4 Jul 2023 06:48:04 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C2E6AF8057C; Tue, 4 Jul 2023 06:48:03 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5AF41F80125; Tue, 4 Jul 2023 06:46:53 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5F8A3F800E4 for ; Tue, 4 Jul 2023 06:46:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5F8A3F800E4 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=ljones.dev header.i=@ljones.dev header.a=rsa-sha256 header.s=fm3 header.b=Ql2fXgnd; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=fDVYWvV7 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3CDC55C028C; Tue, 4 Jul 2023 00:46:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 04 Jul 2023 00:46:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1688446009; x= 1688532409; bh=qtNU07zM4dIX81fMsjLGpYDh19Y5tjgNSmmLajH29Pg=; b=Q l2fXgndMPIBD89DD8OgEBTDupan7Pswoh3VnLimZ8x9AWo4PcY4TZrZVZoBMnLTq FDC9R4Uy66HGBVJQD8OnNgC/EsxOTjQBz+8SXEmD5ylhM6oXMNfM5cKWdSpUa3TE kfEuWtPta+fPjUQW7vfRWJYC+AA7kMLiKxckua/vrI5G1yebZwcQQjEmIDFXU3vN 72QICvZdRcG/vsa/FtS1i/pChgXvB2LuCwhHB2ZBHGFk8NkR7hPoFIEXW5j5xQQ0 pAQ15DYaSQNIo36/JACfLMBFAPj8nTcEygtKSmZdWUhLyuTvlqFnosPTrwccgszy rDruiQNnPbuEFuWilnh+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688446009; x= 1688532409; bh=qtNU07zM4dIX81fMsjLGpYDh19Y5tjgNSmmLajH29Pg=; b=f DVYWvV7j41dXVsOTcwihvIcVarkN0CDIXuzS2kQcLnlmI8RtSDh8MorF/CU9V4yg BZdI7sGMrd/WWx+SQ8qNvSgG4lUdYTJK5kqVE3an6qXQjHzrTRekKEvS60sxBSIP 8fXV+QFVnrCmQNdQWAaWyYdH3d95nFwOz+EiQ5LFWB22YVDoEWwcXkzexAKBOEPi HIWbKjbY+3QUu7hKD88lFMjvQlXKV2tmXNxQk6q1P0lL8lE6zfmutl2XLmEuyHYA d8QDljlt1lqUJXaETjyIfIe9ozz/hdOYrnOcUEAR7oGJZxmQuwvDHh9QoYJjwraj ZVXfAQaQlHC6WJDGTlqVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugf fgleeltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Jul 2023 00:46:44 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: perex@perex.cz, sbinding@opensource.cirrus.com, andy.chi@canonical.com, tcrawford@system76.com, tangmeng@uniontech.com, p.jungkamp@gmx.net, kasper93@gmail.com, ruinairas1992@gmail.com, yangyuchi66@gmail.com, yangyingliang@huawei.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, "Luke D. Jones" Subject: [PATCH v2 4/5] ALSA: hda/realtek: Add quirk for ASUS ROG G614Jx Date: Tue, 4 Jul 2023 16:46:18 +1200 Message-ID: <20230704044619.19343-5-luke@ljones.dev> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230704044619.19343-1-luke@ljones.dev> References: <20230704044619.19343-1-luke@ljones.dev> MIME-Version: 1.0 Message-ID-Hash: WJOZU2B4TZBCUW264CB2GPJYVPBP2NZD X-Message-ID-Hash: WJOZU2B4TZBCUW264CB2GPJYVPBP2NZD X-MailFrom: luke@ljones.dev X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Adds the required quirk to enable the Cirrus amp and correct pins on the ASUS ROG G614J series which uses an SPI connected Cirrus amp. While this works if the related _DSD properties are made available, these aren't included in the ACPI of these laptops (yet). Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 50becdc86daa..ba3c113f0be1 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9632,6 +9632,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x1043, 0x1c62, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1c92, "ASUS ROG Strix G15", ALC285_FIXUP_ASUS_G533Z_PINS), + SND_PCI_QUIRK(0x1043, 0x1c9f, "ASUS G614JI", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1caf, "ASUS G634JYR/JZR", ALC285_FIXUP_ASUS_SPI_REAR_SPEAKERS), SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),