From patchwork Mon Dec 18 15:12:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 180482 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1318159dyi; Mon, 18 Dec 2023 07:24:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAgqRKcD2ltboxTVvr19OOxDxBFasbBUdvIZdtxL1kgevssIwtdfQsNMlcrdNnqvNIOFcH X-Received: by 2002:a17:902:ea06:b0:1d3:bed3:67a2 with SMTP id s6-20020a170902ea0600b001d3bed367a2mr809258plg.83.1702913063129; Mon, 18 Dec 2023 07:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702913063; cv=none; d=google.com; s=arc-20160816; b=iVHTdbW6fwJsWmA3bg9ezk0z8nW18gXgXVV7AunCLhK/iMZzYcjM/lFpSk0x4bnKT6 5RIoUu5mS9bJICL/RiVUR9ebe4Amgu6XLAbIViuJN1qbY0rxCLSNVaAPeqUth2/jgCfT NicbxJO4Ll6ta4Sqmni/E+ztINu61QrkwYLBI4avEarPoAblSqnIOTEgEO5N6RE9R/4H /MIY3vU1suF+hsw5uq/p06PPXB3IeMN9Lwj8Eg0KV6kwAR8x2iYMebXVKJ8zKAbpfTYT POOhjVhXWTIb9gYbqMCckchZ8hk+txEvKTC2cQiBNC92apTW+saF4Gh5Bo8szKds24NJ /Rug== 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=ctJlTsxAE1mhFxDWq9arbchkWs2tJ0h+k4v0fUeXWEk=; fh=CIzheBTUL5fyGH3nbQHnzCXjO4Ty5MYCLcLsWbV53xg=; b=UsVYg69ymKjhK/cWNaXtvTBgUXlGcojAcQ3ALpUVLY+Z9PJQxCjG+SZUdwocHZOReu mrhkciMhQGL3MgyMDseRz49KiWcQks8/JPgehKBXivC/wrIfzSZkouriZVLf6/MNMOeb qm2AorIFiDSG/QvLHkTzzyJ2LBUl7XcKzY99eUPv9Y1tUcB3es2snnQMEaiUhcm+JvET Ru+jk2gH+XMieaV7x3Q4YgJ4KW0A0CFPraOLX08ScB5iWs7k0NJTp8AP6lYLtsRO5Dnf vbNha3sSdFnqRTILrthh00a3rrfg5Uscn8U2vOTab4VmXaIOBd2A8M+KDC4j+XXXNyyn AHNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=WRGT8Leb; spf=pass (google.com: domain of linux-kernel+bounces-3899-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3899-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b7-20020a170902d88700b001d0bcb88302si17927666plz.580.2023.12.18.07.24.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:24:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3899-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=WRGT8Leb; spf=pass (google.com: domain of linux-kernel+bounces-3899-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3899-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 358DB286633 for ; Mon, 18 Dec 2023 15:14:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 54CDB498B6; Mon, 18 Dec 2023 15:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="WRGT8Leb" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (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 07A4937892; Mon, 18 Dec 2023 15:13:07 +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 (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BI5gNV7015248; Mon, 18 Dec 2023 09:12:54 -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=ctJlTsxAE1mhFxDWq9arbchkWs2tJ0h+k4v0fUeXWEk=; b= WRGT8LebB8AvqW/ztWRaydd6gHr7nyFpeQ9d1M/Gwly8r37oNDrK1E60V9rZDeXs JyQ0/2OViSBJ0O3sc6ZIpot2BVPN6QPdqwFxrsfDBEinQPBu1qem6UkRM0hC/VA/ nQglwDC+zOUN2GpblBM39/WHqnIHUGRBmFROXDOcWTDXYdYulfMNl+8/Mp3C/9+Y 3TvksqOHCu5Fn3NyeCnhJY2UMXxAeYgzKd2Erw/rXaA3oSCaS5RMzuy2WRTSIQ46 OosZRJfAm+IA6wUdLJE41FicpHI2ay9JaeG7CgDM5xsLh0pTulQUfquV5uBAKVmJ nRLrIj7IVC5s9J3+tCzOJQ== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3v1a622ub0-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Dec 2023 09:12:53 -0600 (CST) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) 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 anon-ediex02.ad.cirrus.com (198.61.84.81) 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 A4E623582; Mon, 18 Dec 2023 15:12:48 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 7/7] ALSA: hda/realtek: Add quirks for ASUS Zenbook 2023 Models Date: Mon, 18 Dec 2023 15:12:21 +0000 Message-ID: <20231218151221.388745-8-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-GUID: cC1ET2UN5k6W25HHSm6HnOCHOwIYXaWC X-Proofpoint-ORIG-GUID: cC1ET2UN5k6W25HHSm6HnOCHOwIYXaWC X-Proofpoint-Spam-Reason: safe X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785633768213393696 X-GMAIL-MSGID: 1785633768213393696 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 66652320822f..c3a756528886 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9963,10 +9963,13 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZI/ZJ/ZQ/ZU/ZV", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), + SND_PCI_QUIRK(0x1043, 0x16d3, "ASUS UX5304VA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x1043, 0x16f3, "ASUS UX7602VI/BZ", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1740, "ASUS UX430UA", ALC295_FIXUP_ASUS_DACS), SND_PCI_QUIRK(0x1043, 0x17d1, "ASUS UX431FL", ALC294_FIXUP_ASUS_DUAL_SPK), SND_PCI_QUIRK(0x1043, 0x17f3, "ROG Ally NR2301L/X", ALC294_FIXUP_ASUS_ALLY), + SND_PCI_QUIRK(0x1043, 0x1863, "ASUS UX6404VI/VV", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1881, "ASUS Zephyrus S/M", ALC294_FIXUP_ASUS_GX502_PINS), SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x18d3, "ASUS UM3504DA", ALC294_FIXUP_CS35L41_I2C_2), @@ -10013,6 +10016,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { 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, 0x1f1f, "ASUS H7604JI/JV/J3D", ALC245_FIXUP_CS35L41_SPI_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),