Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7381981rwr; Wed, 10 May 2023 07:35:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KPxvZt6ad22r8upy4tkOfvW980fxnrmDHQF0HhphXcvqgyHuahjcYTXxj8XBUUsc1Exb1 X-Received: by 2002:a17:90a:7ac3:b0:24d:f019:3f7e with SMTP id b3-20020a17090a7ac300b0024df0193f7emr18086690pjl.28.1683729329242; Wed, 10 May 2023 07:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683729329; cv=none; d=google.com; s=arc-20160816; b=WfOZYVCBGDHX9soxc5cCkQnENJVVBwEL3cvt08g3OpTt4jkbEeVFJRotTrruCxNfHv KuocPqXzIeR+Hma2cQ1C2JOzBPq+FnW886XcgDJHq2JFcqzeVsxPj9KUPZX3lmehfnPI tW9pmoKRysInBx+eV0O2ZNHdcXeJK+uApNzkzZHmCk8uCJe5I8CIboabzp6Db51DoXTZ DBRXipcG+ndhqNoozS2XHvB03mlXjaXlsjJ5FVpm4LBiT/PNq2W1fd3F2/sPO/f4fLZK VlURKpQc52QpP7IIsRImlm9JT7l/la4mskSzzDlbYEXdmEjqhab6M05gjAXOMOQDYC7f n5Vg== 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=uey+YIleiDDyypUbzSZNSiS9ZzZLsk6K8v25sAR5S7E=; b=a+W9tUpfP3yqyGronfqRFY7nhMN5ZvECJppbTuM0fkD6SgtBlOXaJElPq0aLvDMZ8S onvUKZBa5+PzVKRkM9SwlCKMvlETBGURIZ+IkE74SDGRRGeHN+ynPWswlgKBV2kNVSWR BxN0uADR5ZsjhOGUwAyjJ8aiRfOjj3xxfS6Wu+9HU1YZYaA1fC36OTntG4q3vVg/SbfC f0vwxwHLBUA8DlhicMTA/a+ZYtsjNQ42IJ29KmpPYBcJSlXa/RA2w7GFptcucELiTY3f DnZZ+EihyNM0lHdED3UpzAI4fNXtja3JrkYIvO76o22xn71Jt+thxjAQXoJEX+3NS4L2 CBdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=ov+kCysg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o3-20020a637303000000b0052c6cbf5d5bsi4087337pgc.786.2023.05.10.07.35.14; Wed, 10 May 2023 07:35:29 -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=ov+kCysg; 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 S237475AbjEJOXp (ORCPT + 99 others); Wed, 10 May 2023 10:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237427AbjEJOXa (ORCPT ); Wed, 10 May 2023 10:23:30 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198514214 for ; Wed, 10 May 2023 07:23:28 -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 34ADxGXC003956; Wed, 10 May 2023 09:23:03 -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=uey+YIleiDDyypUbzSZNSiS9ZzZLsk6K8v25sAR5S7E=; b=ov+kCysgyEF5Bzphz/KuH1fhHIO/jKykKmDk3zAmsUhirVvVaXAQAK5R8RPQRewcg7pq riEaQtfoVQN1hjbXfiYjFB1ZredhW5nL4A34XRLQpVZRdzF0w23HDHqfLYGTJMnFOUrr ynCfZ3681mGvJpnKjQzf6dnoPBnJy/B/OSVUqnh4hPU5GwCI4geE7Ou+vy7k2gvohPAx pVyl0kqtoIYMlYYL6TOau4Z+adOycUsmkDm0clU9keBDMeIvVDVEsOUO4ILrzEP+ti5k pGmhH0NdQYZY/9Pif0N5ZXUjGsyURA2LSfnGMP99BGIGRcJaOQKugOJ6aZTXOpIIGFeM mA== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3qf7nb23xp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 May 2023 09:23:03 -0500 Received: from ediex02.ad.cirrus.com (198.61.84.81) 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, 10 May 2023 09:23:00 -0500 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.26 via Frontend Transport; Wed, 10 May 2023 09:23:00 -0500 Received: from lon-bigdaddy.ad.cirrus.com (unknown [198.61.64.169]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 8ABAA11D4; Wed, 10 May 2023 14:23:00 +0000 (UTC) From: Vitaly Rodionov To: Takashi Iwai , Jaroslav Kysela CC: , , , Vitaly Rodionov Subject: [PATCH] ALSA: hda/realtek: Add quirk for HP EliteBook G10 laptops Date: Wed, 10 May 2023 15:22:27 +0100 Message-ID: <20230510142227.32945-1-vitalyr@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: QZXuf4eiwk5pFhTFxjyw56lYNa-lsZ8U X-Proofpoint-GUID: QZXuf4eiwk5pFhTFxjyw56lYNa-lsZ8U 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, T_SCC_BODY_TEXT_LINE,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 Add support for HP EliteBook 835/845/845W/865 G10 laptops with CS35L41 amplifiers on I2C/SPI bus connected to Realtek codec. Signed-off-by: Vitaly Rodionov --- sound/pci/hda/patch_realtek.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 172ffc2c332b..9e509356790f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9458,7 +9458,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8aa8, "HP EliteBook 640 G9 (MB 8AA6)", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8aab, "HP EliteBook 650 G9 (MB 8AA9)", ALC236_FIXUP_HP_GPIO_LED), - SND_PCI_QUIRK(0x103c, 0x8abb, "HP ZBook Firefly 14 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8abb, "HP ZBook Firefly 14 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad1, "HP EliteBook 840 14 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad2, "HP EliteBook 860 16 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b42, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), @@ -9469,8 +9469,13 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8b47, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b5d, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b5e, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8b63, "HP Elite Dragonfly 13.5 inch G4", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b65, "HP ProBook 455 15.6 inch G10 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b66, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8b70, "HP EliteBook 835 G10", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x8b72, "HP EliteBook 845 G10", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x8b74, "HP EliteBook 845W G10", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x8b77, "HP ElieBook 865 G10", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8b7a, "HP", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b7d, "HP", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b87, "HP", ALC236_FIXUP_HP_GPIO_LED), @@ -9481,6 +9486,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8b92, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b96, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8bf0, "HP", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8c26, "HP HP EliteBook 800G11", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300), SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), -- 2.34.1