From patchwork Fri Mar 1 16:01:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 777128 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 262EBC54E49 for ; Fri, 1 Mar 2024 16:03:25 +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 E3007E80; Fri, 1 Mar 2024 17:03:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E3007E80 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1709309003; bh=+4VNy0TOtFIyKSFFXCMTWjkpBmVv68Q+Pn3KnKddvuk=; 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=DbDHQ5qBVZL6lDMwI6e0GndYH0r5g2KPj2dKBGbqAsINRQGmMkXeJS910VuG9pFWA 5MBOaUbcW3SkibCuyWDsQD/3oDPr/iiNQnT3IOBg51S6GNpWBD1ECLwhpkjvFSHeLA EeQ92eSTsCRSiRHSp1W0f83ZNqrafdho6o02zjFc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 44D23F805E8; Fri, 1 Mar 2024 17:02:31 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id DB44BF805B6; Fri, 1 Mar 2024 17:02:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DAC78F8024C; Fri, 1 Mar 2024 17:02:24 +0100 (CET) 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 alsa1.perex.cz (Postfix) with ESMTPS id 19A13F8013D for ; Fri, 1 Mar 2024 17:02:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 19A13F8013D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=qnd5SErE 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 421Ewl9M003471; Fri, 1 Mar 2024 10:02:14 -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=XyNIpKTLAge1DZ1X01S3EuqQI4WXcmS7YFnVAjWSw0Q=; b= qnd5SErE+4U3+LyRYyCLaRRzPLiKlbLdpyU51jj9KSvk+DexLxMYjsK1t1ITwaSw 7EQNGMhcy4h9xAMbBWXCuG3IW0W4mGTF+T1YmOeurbIoxA1YCP7OMojOVIzAQ+q8 z/PYd0zF/dX0hZUudkhjRMboZVL6eQOVyzDyTe9dZ9YGlCr3aQMwnuQHby4uods7 6TbJwsTepOyJ4v1YGxm3G9aceP1BkSiDF30PrgIk6ejSoCjm2lEtwwbmM7kDCwMW ldosw2umfK8bEIkmwqnA6UrcnazFISPHKMjP6A2nZeNXXWWl0mZvmaOpQt01ZaIG UsQ97ngb/44hoUcozj8NOA== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3wkh8r02na-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Mar 2024 10:02:14 -0600 (CST) 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.40; Fri, 1 Mar 2024 16:02:11 +0000 Received: from ediswmail9.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; Fri, 1 Mar 2024 16:02:11 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.61.65.72]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTP id 00DAD82024C; Fri, 1 Mar 2024 16:02:10 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 1/3] ALSA: hda: cs35l41: Support Lenovo Thinkbook 16P Date: Fri, 1 Mar 2024 16:01:52 +0000 Message-ID: <20240301160154.158398-2-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301160154.158398-1-sbinding@opensource.cirrus.com> References: <20240301160154.158398-1-sbinding@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: U-0f3Mt3eJ7MKblN5vv-rmt5w1FUf25Q X-Proofpoint-GUID: U-0f3Mt3eJ7MKblN5vv-rmt5w1FUf25Q X-Proofpoint-Spam-Reason: safe Message-ID-Hash: UWEBX6QEN7GRAF3ZYBFIYBKZG6UGE77S X-Message-ID-Hash: UWEBX6QEN7GRAF3ZYBFIYBKZG6UGE77S X-MailFrom: prvs=079039dfa1=sbinding@opensource.cirrus.com 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.9 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 sound support for 2 Lenovo Thinkbook 16P laptops using CS35L41 HDA with External Boost. SSIDs: - 17AA38A9 - 17AA38AB Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218437 Signed-off-by: Stefan Binding --- sound/pci/hda/cs35l41_hda_property.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c index b1a5c0ec2b55..38a19752cb6c 100644 --- a/sound/pci/hda/cs35l41_hda_property.c +++ b/sound/pci/hda/cs35l41_hda_property.c @@ -108,6 +108,8 @@ static const struct cs35l41_config cs35l41_config_table[] = { { "10431F1F", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 }, { "10431F62", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 }, { "17AA386F", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 }, + { "17AA38A9", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 2, -1, 0, 0, 0 }, + { "17AA38AB", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 2, -1, 0, 0, 0 }, { "17AA38B4", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, { "17AA38B5", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, { "17AA38B6", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, @@ -493,6 +495,8 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = { { "CSC3551", "10431F1F", generic_dsd_config }, { "CSC3551", "10431F62", generic_dsd_config }, { "CSC3551", "17AA386F", generic_dsd_config }, + { "CSC3551", "17AA38A9", generic_dsd_config }, + { "CSC3551", "17AA38AB", generic_dsd_config }, { "CSC3551", "17AA38B4", generic_dsd_config }, { "CSC3551", "17AA38B5", generic_dsd_config }, { "CSC3551", "17AA38B6", generic_dsd_config }, From patchwork Fri Mar 1 16:01:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 777509 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 3536CC5475B for ; Fri, 1 Mar 2024 16:03:31 +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 60E1C84D; Fri, 1 Mar 2024 17:03:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 60E1C84D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1709309009; bh=nNSRPr6lxLFdnUExIt+zynSAQytjJW4eQcCx1q4zZuU=; 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=ZNj3+qKvmaoHtTI7vYUQROBIIRYa8gCrLs/XKxY0XO+zP/T5j96Z5Acu3jKfFYHeO xAW1xXBmYxZEprZAcD4CC5oJkA+JPMbBcsEoXtuoQ70YudSnI4uRbMKynwRHnStJ0H i+CIM6g+kT6z9y/4XmNa7P38BSlWLlbWF4kBBbP8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id AD297F805D5; Fri, 1 Mar 2024 17:02:30 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 77D26F805C5; Fri, 1 Mar 2024 17:02:29 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDE3DF8024E; Fri, 1 Mar 2024 17:02:22 +0100 (CET) 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 alsa1.perex.cz (Postfix) with ESMTPS id 43C36F800F0 for ; Fri, 1 Mar 2024 17:02:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 43C36F800F0 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=ecGfPuzY 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 421Ewl9N003471; Fri, 1 Mar 2024 10:02:16 -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=owhu2xi9jxikmNkGg5f5Rx2eiLy40QXG4CfupHtzXog=; b= ecGfPuzYckd0erLYaMn0VH2mCNv/J1eMgScB4BOVqw+Nxi8TlCVUXIVTdcahz3U6 dkH6IZOfzotDwMsjggOte/ly4JHUnoK7yJPg5/yMLmKMFjO8JehtlGX9GGNlq9N9 5QBO2B3ZHqeOWAAze2m3gv/dX12K9jjYUKqxwKxTJkmfBBTjIPkrStD+aHrIzIl2 HGIKBBu193INkC1e8jP5idSQp4h4n7O0Avw8ZM0qKeN+LvDClLFU5pZnaAa0u2iY o1wEb31oyA6xSiSkuuOOPzjH1jGb2UPNWyAhLmj2ySil0BGh6AKd7pd7kVoiX+d1 AGI/tq0Ko723S/lR09pjCQ== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3wkh8r02na-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Mar 2024 10:02:16 -0600 (CST) 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.40; Fri, 1 Mar 2024 16:02:11 +0000 Received: from ediswmail9.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; Fri, 1 Mar 2024 16:02:11 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.61.65.72]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTP id 3462282024B; Fri, 1 Mar 2024 16:02:11 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 2/3] ALSA: hda/realtek: Add quirks for Lenovo Thinkbook 16P laptops Date: Fri, 1 Mar 2024 16:01:53 +0000 Message-ID: <20240301160154.158398-3-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301160154.158398-1-sbinding@opensource.cirrus.com> References: <20240301160154.158398-1-sbinding@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 9enwOup4wSEbui0cnv5LWX-ocyCamMnY X-Proofpoint-GUID: 9enwOup4wSEbui0cnv5LWX-ocyCamMnY X-Proofpoint-Spam-Reason: safe Message-ID-Hash: CYNI6AOEY6FEGXWNIXCFQ6DQRME5TLOW X-Message-ID-Hash: CYNI6AOEY6FEGXWNIXCFQ6DQRME5TLOW X-MailFrom: prvs=079039dfa1=sbinding@opensource.cirrus.com 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.9 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: These models use 2 CS35L41 amps with HDA using I2C. Both models have _DSD support inside cs35l41_hda_property.c. Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218437 Signed-off-by: Stefan Binding --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index f112eb1a868f..0b40aa713d3c 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10190,6 +10190,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x17aa, 0x3886, "Y780 VECO DUAL", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38a7, "Y780P AMD YG dual", ALC287_FIXUP_TAS2781_I2C), SND_PCI_QUIRK(0x17aa, 0x38a8, "Y780P AMD VECO dual", ALC287_FIXUP_TAS2781_I2C), + SND_PCI_QUIRK(0x17aa, 0x38a9, "Thinkbook 16P", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x17aa, 0x38ab, "Thinkbook 16P", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x38b4, "Legion Slim 7 16IRH8", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x38b5, "Legion Slim 7 16IRH8", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x17aa, 0x38b6, "Legion Slim 7 16APH8", ALC287_FIXUP_CS35L41_I2C_2), From patchwork Fri Mar 1 16:01:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Binding X-Patchwork-Id: 777127 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 5D92AC5475B for ; Fri, 1 Mar 2024 16:03:49 +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 A93AE836; Fri, 1 Mar 2024 17:03:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A93AE836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1709309027; bh=fH/O3nTPLokLlfy0WR4wG8EDpg7fXKPlNuS++rhMJQI=; 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=mWlMkBUlLQt2/UPCawZHRcMKCDV50U3QqrCCTtfH5iOgRe2KykkZKX0+kAXcbEW0+ bI6PQxHHiRZc+tzVv58T7gKtE1mC5NKLDzMG6DywBcVRL30VicS7/fbA0XnkXOPod6 nGkvtZeWbbLl34bh8+XeY3qBeN1h9R7EkdmORSHc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 528BFF8060B; Fri, 1 Mar 2024 17:02:34 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 14249F805E9; Fri, 1 Mar 2024 17:02:34 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4AD04F805A1; Fri, 1 Mar 2024 17:02:27 +0100 (CET) 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 alsa1.perex.cz (Postfix) with ESMTPS id 4C9FEF80087 for ; Fri, 1 Mar 2024 17:02:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4C9FEF80087 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=oTQIPW3U 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 421Ewl9O003471; Fri, 1 Mar 2024 10:02:18 -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=NpUQHGhUFnK3X1g/dFL1BJRaNu6gls0f1yI+Tqohrqk=; b= oTQIPW3UMnOgfq8X1LMhMq/z38B9WiN3vMgpvD4To0LUC2ETxW5zQCRCbruXDCOG sJZzxYV5t50L9mic24RLHPzL6oi3qJWGuva65YQJLrVsaXSBVNf0BGrcRR3iVkex CQWpkN+BDG/z2LqnkvK0aof1uyujEQtk+F9FtKCLATWydQELtB+xdaQlitRDG2Mk OLYqjAT+8PCYFKe+HMrBTWO/tXOUPxgGg95rK00fSBx0pnMvhh+ypmpw/eUvmS9g nJQlfkOCLZowitNESKTlhXzO/fV+WH0wPXDkKViHAuXpNlaZ331PHdrCtXaYyPEu HvRzFdwCUklZ5HnS8F/4Cg== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3wkh8r02na-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Mar 2024 10:02:17 -0600 (CST) 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.40; Fri, 1 Mar 2024 16:02:11 +0000 Received: from ediswmail9.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; Fri, 1 Mar 2024 16:02:11 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.61.65.72]) by ediswmail9.ad.cirrus.com (Postfix) with ESMTP id 7325682024C; Fri, 1 Mar 2024 16:02:11 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 3/3] ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA Date: Fri, 1 Mar 2024 16:01:54 +0000 Message-ID: <20240301160154.158398-4-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301160154.158398-1-sbinding@opensource.cirrus.com> References: <20240301160154.158398-1-sbinding@opensource.cirrus.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: lx9aTi-vftyceYthR7wavwNRtjIGZmHn X-Proofpoint-GUID: lx9aTi-vftyceYthR7wavwNRtjIGZmHn X-Proofpoint-Spam-Reason: safe Message-ID-Hash: IJVR3CJ6XXGXOLXT546XYCYLXMQKCP3A X-Message-ID-Hash: IJVR3CJ6XXGXOLXT546XYCYLXMQKCP3A X-MailFrom: prvs=079039dfa1=sbinding@opensource.cirrus.com 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.9 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: Whilst this laptop contains _DSD inside the BIOS, there is an error in this configuration. Override the _DSD in the BIOS with the correct configuration for this laptop. Signed-off-by: Stefan Binding --- sound/pci/hda/cs35l41_hda_property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c index 38a19752cb6c..72ec872afb8d 100644 --- a/sound/pci/hda/cs35l41_hda_property.c +++ b/sound/pci/hda/cs35l41_hda_property.c @@ -94,6 +94,7 @@ static const struct cs35l41_config cs35l41_config_table[] = { { "104317F3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431863", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "104318D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, + { "10431A83", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431C9F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "10431CAF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, { "10431CCF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 }, @@ -481,6 +482,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = { { "CSC3551", "104317F3", generic_dsd_config }, { "CSC3551", "10431863", generic_dsd_config }, { "CSC3551", "104318D3", generic_dsd_config }, + { "CSC3551", "10431A83", generic_dsd_config }, { "CSC3551", "10431C9F", generic_dsd_config }, { "CSC3551", "10431CAF", generic_dsd_config }, { "CSC3551", "10431CCF", generic_dsd_config },