Message ID | 20231221132518.3213-1-sbinding@opensource.cirrus.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-8473-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp415650dyi; Thu, 21 Dec 2023 05:39:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkGvqfKkfk9wqtos7K61FaxYVwCSBAbIFlY1tjCEPpdkoGu7rlUj4LI+DL5UY2rHNHhbTS X-Received: by 2002:a05:622a:cf:b0:425:4043:5f0f with SMTP id p15-20020a05622a00cf00b0042540435f0fmr30639328qtw.77.1703165995079; Thu, 21 Dec 2023 05:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703165995; cv=none; d=google.com; s=arc-20160816; b=HnBns02mOsuhexvuHpNTrqtmS65erfKncxbhC9RIVCZtHWFG92JNX6E6N70eSxMUdc MFl5OTt9y4olgj1jNLhUkxBV3BWF9hsAMwGiYYQDDauyAeOFueI/9JYKh89WgplpfrTf 32OCNISC6bQDNn4zV0zoOqBtoiZ4YpufzCiEVmcHDKXN1u6M/FlP7yz+n+IW3wfrvula 9EAVAqLw+yxa4agUoGeo5a+4GMsXjDlahCGt9LQIhiyQgYxekwaAeBw//w1ACyDxZJDo 6b54GRx/OIzZACcmQaxfZKd63ySsYXMAHoN1HQZ+zfDw05Gfji85ZzCYJ2PIQS4ANILp 3VVA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=R9Vcx1BGMedfOcQkq5dpA8yP6hRgKWAhlUo8mB4sxkU=; fh=CIzheBTUL5fyGH3nbQHnzCXjO4Ty5MYCLcLsWbV53xg=; b=lPHD8Jla61NansmZ8l5W8+HcFIXozY+GmQPH0y9IrziIelsTzTCCgiGLbq0FlC88dh PrVqcOAJ49rQsSWYu5GCLiDJ0cCx5YOCYXeB+XIyKMUqtQgPcIn7T8CV5ffanumYDtPt 9ZjA0eAyU4yMU0lSm9f2KLX1VvL7Lf36RioQb9wHrCIjYL8q+/0eQwKEIfH3NeRVR/mr iMeWPXz3N2v5cDzoxfhaTOmE6sJJ1GBhQ25PhEeqwxjqJqSPzcmkaOLdBrK64hdztFRb FlFMyAX3lYpZ+F3582k/By9aRsjeV5RNwY0asf3yvjsuP54a6vDJ0xv7r+xHu0fEv/aj T3TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=ExADNAR8; spf=pass (google.com: domain of linux-kernel+bounces-8473-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8473-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j19-20020ac85c53000000b004277da313dbsi2181513qtj.65.2023.12.21.05.39.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 05:39:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8473-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=ExADNAR8; spf=pass (google.com: domain of linux-kernel+bounces-8473-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8473-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D74E51C216FF for <ouuuleilei@gmail.com>; Thu, 21 Dec 2023 13:39:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C2081279A3; Thu, 21 Dec 2023 13:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="ExADNAR8" 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 C829984D5C; Thu, 21 Dec 2023 13:25:46 +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 3BL5NG1J008651; Thu, 21 Dec 2023 07:25:26 -0600 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=R 9Vcx1BGMedfOcQkq5dpA8yP6hRgKWAhlUo8mB4sxkU=; b=ExADNAR8nUWukfF2Z SIS24CTLNzCoY1r1svbPwRkIHtUTgOFQv5C2lDfYksfC2W8vMajuESNC+UP/j6ve de+FsmLkdBjWCRLbRhF6iGjShBRcMlSY5ipE4Gf9K8+a/iSVQpCp9yzKkLPkFRug oJX1Ukm2TI/dzfc8W2JNxaPOS2qdxJ56ihRHiyidXrR/BZVQ8sTNcghcXgAcGHHd DvF9tUueEhWo4TFZtREXvXRdI101GrSWXOupKngfihUXKqweLX4eUG8pQFEUH6C7 YzkLxDdNm/wMjxKjEf8Wkp1vcLUsFRpXdf7QsboWEye0z47OA+52ebbvfoMHlG+J 2441A== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3v196nfar8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 07:25:26 -0600 (CST) Received: from ediex01.ad.cirrus.com (198.61.84.80) 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; Thu, 21 Dec 2023 13:25:25 +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; Thu, 21 Dec 2023 13:25:25 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.238.77]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id C2A8146B; Thu, 21 Dec 2023 13:25:24 +0000 (UTC) From: Stefan Binding <sbinding@opensource.cirrus.com> To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> CC: <alsa-devel@alsa-project.org>, <linux-sound@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com>, "Stefan Binding" <sbinding@opensource.cirrus.com> Subject: [PATCH v2 0/3] Support Dell models without _DSD Date: Thu, 21 Dec 2023 13:25:15 +0000 Message-ID: <20231221132518.3213-1-sbinding@opensource.cirrus.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: RKoh7Qq2S4JajAa1XOR5oYenDYZ5N-Jw X-Proofpoint-GUID: RKoh7Qq2S4JajAa1XOR5oYenDYZ5N-Jw X-Proofpoint-Spam-Reason: safe X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785898986662750029 X-GMAIL-MSGID: 1785898986662750029 |
Series | Support Dell models without _DSD | |
Message
Stefan Binding
Dec. 21, 2023, 1:25 p.m. UTC
Add Quirks and driver properties for Dell models. Driver properties are required since these models do not have _DSD. Additionally, some laptops, including some of these, have an issue with their BIOS which causes the SPI speed to be set too slow. To ensure a decent performance for laptops with this slow speed, disable firmware loading. Running without firmware results in lower volume. Changes since v1: - Rebased onto for-linus Stefan Binding (3): ALSA: hda: cs35l41: Support additional Dell models without _DSD ALSA: hda: cs35l41: Prevent firmware load if SPI speed too low ALSA: hda/realtek: Add quirks for Dell models sound/pci/hda/cs35l41_hda.c | 25 ++++++++-- sound/pci/hda/cs35l41_hda.h | 12 ++++- sound/pci/hda/cs35l41_hda_i2c.c | 2 +- sound/pci/hda/cs35l41_hda_property.c | 74 +++++++++++++++------------- sound/pci/hda/cs35l41_hda_spi.c | 2 +- sound/pci/hda/patch_realtek.c | 13 +++++ 6 files changed, 87 insertions(+), 41 deletions(-)
Comments
On Thu, 21 Dec 2023 14:25:15 +0100, Stefan Binding wrote: > > Add Quirks and driver properties for Dell models. > Driver properties are required since these models do not have _DSD. > Additionally, some laptops, including some of these, have an issue > with their BIOS which causes the SPI speed to be set too slow. > To ensure a decent performance for laptops with this slow speed, > disable firmware loading. Running without firmware results in lower > volume. > > Changes since v1: > - Rebased onto for-linus > > Stefan Binding (3): > ALSA: hda: cs35l41: Support additional Dell models without _DSD > ALSA: hda: cs35l41: Prevent firmware load if SPI speed too low > ALSA: hda/realtek: Add quirks for Dell models Applied to topic/cs35l41 branch, which is merged to for-next (for 6.8). thanks, Takashi