From patchwork Wed Apr 12 16:05:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 82557 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp448745vqo; Wed, 12 Apr 2023 09:18:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Z0cXEvyswDedxPOxRzwcvKoRxmte5vGb30lKIADGTgYrr2dSjkNQXKBowliS2HcxDnrPy2 X-Received: by 2002:a17:903:11c3:b0:19a:727e:d4f3 with SMTP id q3-20020a17090311c300b0019a727ed4f3mr3898227plh.5.1681316328622; Wed, 12 Apr 2023 09:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681316328; cv=none; d=google.com; s=arc-20160816; b=exyzd2Gxvolneacos+YvFG2NQdLLlOTSY0r2WQar9Kh8ZlnCi34mhHWN1bQNhL61kg z0xG0j85Etg+M4kTFZs9heMnSV/MwkfCyRlDDy6yri+2CTDSvLpnX5mqdf8WE2/2tcQ0 31Xj3Ok1frg8ZSOVB1sTOvziFSXYKsbJD8cPZ7RuDcgKKL76MjoXjz86Lnj7EJNXNcbA 6Z69y8BojcZja8fPvAb3FU7fWBSouEqSIouj4I3Ny01F5lfgUkonGd0qYcphzRW5Sk7S 3XPWC3f5ngHmjOp2EB+8zPgifA42U+JmFDyw9lNMIw3oNZknQvH9jG/n9IAVgA8srDy6 /X1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1egRiWwJZHL4D5nNXNTaNkMcKT6CJ8pERWDuG7iwTJ4=; b=Qs4UiUX6880H4EtyqeImCvW8xM1XwDMaW34FTB98ZH6tx4Aoq6GcmOv7V6XwNjLep0 n5nQ9ERlfOzz00jQo/NWYaUlUPhX9Xbns4HWbqylkjqJnitnK4ie3t4vKG3StSGi7kYN lUnPv3Qjto2tSp/g0TZJXmJvdwnDZDP17093mANEEftYt+1K7OS50nfXfdaN3MRdiTL6 nVixYV3ZdK4D55AE0jdMCo7kLnx7G/wruHr/emEOs1RNRuG+uRSzYFpTrNCRUg6W5vUg 2sFnBFb7HFhijw/7vx8Kg9ctCEs6Qc/HukvnMhhzepkcGYg9/hyx9Irg/bsmkb1Cxrsl zWwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=LJC53kd7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a170902b49100b001a4f2975d0dsi15656293plr.448.2023.04.12.09.18.36; Wed, 12 Apr 2023 09:18:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=LJC53kd7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjDLQGM (ORCPT + 99 others); Wed, 12 Apr 2023 12:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjDLQGL (ORCPT ); Wed, 12 Apr 2023 12:06:11 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78EB99F for ; Wed, 12 Apr 2023 09:06:09 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33CDigTE000728; Wed, 12 Apr 2023 11:05:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=PODMain02222019; bh=1egRiWwJZHL4D5nNXNTaNkMcKT6CJ8pERWDuG7iwTJ4=; b=LJC53kd7M7ZiWR7Dw+R3KrRSGFKyCG/vAzQpGXlFm/6UrK0IBplfSPehXfkZ1vZ3Wy9h 3zrD2LFczD7kseBrxydow78reiPtF8IZ5jfH1ptLFNVFrfdO2cb93BWJleV/n3p8OLzD BMr08M8v590gmuKpOW3+Hm9sITDGjnrqr//RJs8INBjrRd9DOszggrZJnFxu8n3C39xM HQqpJurDANEZ4TPs62OaOOa4BxeVtDHrJGcJPxXRlyrVxCDcitpylGvrOx48DClmyej3 1NlCCkLEYC2cC2PcO673MA80YBq1LS6hGRSvwwarqi/t/yQWBmqxWfUrL7+1UJKJbNWG gw== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3pu5p3p8ae-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Apr 2023 11:05:40 -0500 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.26; Wed, 12 Apr 2023 11:05:38 -0500 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.26 via Frontend Transport; Wed, 12 Apr 2023 11:05:38 -0500 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.238.103]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 745D811D3; Wed, 12 Apr 2023 16:05:38 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , Stefan Binding Subject: [PATCH v1] ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2 Date: Wed, 12 Apr 2023 17:05:31 +0100 Message-ID: <20230412160531.182007-1-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: QMHOwoeDJ7euvOaN51StQEcDjDv_te6B X-Proofpoint-GUID: QMHOwoeDJ7euvOaN51StQEcDjDv_te6B X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762987950616752767?= X-GMAIL-MSGID: =?utf-8?q?1762987950616752767?= These Lenovo laptops use Realtek HDA codec combined with 2xCS35L41 Amplifiers using I2C with External Boost. Signed-off-by: Stefan Binding --- sound/pci/hda/patch_realtek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index f554db1e7e9a4..3b9f077a227f7 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9689,6 +9689,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x22f1, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x22f2, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x22f3, "Thinkpad", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x17aa, 0x2318, "Thinkpad Z13 Gen2", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x17aa, 0x2319, "Thinkpad Z16 Gen2", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x17aa, 0x231a, "Thinkpad Z16 Gen2", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),