From patchwork Mon Dec 18 15:12:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 180476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1312784dyi; Mon, 18 Dec 2023 07:16:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+CKtXQF94fKAW9b8ixiEilCg0P23lnFgeNOgl4bOvVHqgw7Uo6YlksC1DpsDrj1+mmXE7 X-Received: by 2002:a50:ab15:0:b0:553:7344:9198 with SMTP id s21-20020a50ab15000000b0055373449198mr514906edc.32.1702912565911; Mon, 18 Dec 2023 07:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702912565; cv=none; d=google.com; s=arc-20160816; b=gyrYxH3R6jtOZGLd+sxg3cdPDk30sapkxy6VxCp25Loeqpq9YRO3bkvTEZIQPT9NEo 8+wIwHGX/xu+5QsLf0zRgQCpkJcTzj0nktYBnLLhGF7jA4jEsFIGA9PbiOxVFaS+3Y1l BCdYhCw1EOJftm1g0oF28HG53Rcn3Iigh9lBiDRIvqt2gT5JztFZUhoB5lEYrO1gRNQk hM8jfO4S9DK57tKDh0k/0Jqfh9zrVBXAMPN3lQuhkVcydL8h7NzojqijxfuM9+J23xLD IrioZ8GXETMpNJxeht58gIG+MJUBbQ8FcK03xUdBxJuIeuKhbYxc6rvYMGNspA/kZ3u5 MhvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QCI+WosXPoG/C4WNkalOZYspoGUtRlQIsi9pkSb1e54=; fh=CIzheBTUL5fyGH3nbQHnzCXjO4Ty5MYCLcLsWbV53xg=; b=XujW/TaWqcjR5s3g0yJSBnaY8VGe0LAtOdFX+YtmAfQ/Q976WANtNLs0p1F+J7P2U3 JBd4V9+LTYt5EoqAPQyguxkBh2UQiaRfeUSNYnWjXxY5ymxFoatjMJaF+CYW9W8ISGUD ddI1M59qQqsjZ1B5QQ9pp3Nxebpnc6vGISUVzS+dikkPk+rJtO6uXXBebcaw8Iti3/s+ 0i4mYLNiNtvPW2moKEMV6p5yxLNZhAouL5cLIwiE5Zf5JEv2aoo0zcbmql/27G3bt0L8 clY6SQGjQMbeEpwuNLe8t+vhOkBiL0866yD/DRWbeRUkE5AWLwVEifK2hofX5xhYgq7z VxIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="Cr+c/A5D"; spf=pass (google.com: domain of linux-kernel+bounces-3902-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3902-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v14-20020a056402348e00b0054c8bc2a8a7si10352798edc.193.2023.12.18.07.16.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:16:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3902-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b="Cr+c/A5D"; spf=pass (google.com: domain of linux-kernel+bounces-3902-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3902-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 54CA41F24F45 for ; Mon, 18 Dec 2023 15:14:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D0C45A84C; Mon, 18 Dec 2023 15:13:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="Cr+c/A5D" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E26D54FF66; Mon, 18 Dec 2023 15:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=opensource.cirrus.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=opensource.cirrus.com Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BI8qL5B016655; Mon, 18 Dec 2023 09:12:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= PODMain02222019; bh=QCI+WosXPoG/C4WNkalOZYspoGUtRlQIsi9pkSb1e54=; b= Cr+c/A5Dn7pv1n5LvLt9/GMy8vISSQKPe6P2NL7bTDP+2VhNwekeCBI1pQu2djwR jVdmkwCrPT/7duAnriki3WFr5UztrmVMpuTPke099z08r07BAWPxR7dJO4qUoeR6 JTj74qj7GS5RiMjAxUJv3I5GuDlCj7vJq69Q7LuiCMJJuZq17tbqWgWiPMAk5W+Y 3byPUS49J4aHxYHZr3mfpqS+KRbcH9k8xMgM3DxIolxAPWDrh/FmOr3jOa4Af89J YDG3LFKxX/ebywElNuMSTo7Q9pL1fR2rpaOKUqkAdINgow0Jh7GBROJ1prfLZsaM skqIERj0tf7sF47S0Ux/IA== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3v196natsr-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Dec 2023 09:12:49 -0600 (CST) Received: from ediex01.ad.cirrus.com (198.61.84.80) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 18 Dec 2023 15:12:48 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.40 via Frontend Transport; Mon, 18 Dec 2023 15:12:48 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.238.77]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 21CE615B6; Mon, 18 Dec 2023 15:12:48 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 5/7] ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models Date: Mon, 18 Dec 2023 15:12:19 +0000 Message-ID: <20231218151221.388745-6-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231218151221.388745-1-sbinding@opensource.cirrus.com> References: <20231218151221.388745-1-sbinding@opensource.cirrus.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: VgkwNQYe1FOieNDjLT0OgTzs0eZzFMez X-Proofpoint-GUID: VgkwNQYe1FOieNDjLT0OgTzs0eZzFMez X-Proofpoint-Spam-Reason: safe X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785633246724711921 X-GMAIL-MSGID: 1785633246724711921 These models use 2xCS35L41amps with HDA using SPI and I2C. Models use internal and external boost. All models require DSD support to be added inside cs35l41_hda_property.c Signed-off-by: Stefan Binding --- sound/pci/hda/patch_realtek.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9c3de6a80e73..66652320822f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10000,17 +10000,20 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1d1f, "ASUS G713PI/PU/PV/PVN", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE), + SND_PCI_QUIRK(0x1043, 0x1da2, "ASUS UP6502ZA/ZD", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402ZA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502), - SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM6702RA/RC", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS), SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS), SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x1ee2, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f12, "ASUS UM5302", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1f92, "ASUS ROG Flow X16", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), SND_PCI_QUIRK(0x1043, 0x3a20, "ASUS G614JZR", ALC245_FIXUP_CS35L41_SPI_2),