Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp171209rdb; Wed, 20 Dec 2023 09:04:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdYd8Wv0z0DyHtKkc9PNk7goj//JXLQFpxJ0KBBobx6C8wBmsrAf2nNXt4b5/dya3HDrnx X-Received: by 2002:a17:902:780e:b0:1d0:5ed4:4bf with SMTP id p14-20020a170902780e00b001d05ed404bfmr20225048pll.54.1703091879499; Wed, 20 Dec 2023 09:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703091879; cv=none; d=google.com; s=arc-20160816; b=sSfrQAPrnp4YC4eOlr3z6yfnyDll6iRjlyqRVMc7L7Z1pIeKa4yoPisXATheJLkLPK GiF2AcRUAPZ0mYCBZbizaJPg1TDtZ26Kz+0b6kQGAEdWX5p1ZdgWCHjPjsOj5y3lpTvI sUUkIYz4jn7cvfWLXtIP7AM1OAFmlKQN2V/tI0zr6d8U9L/+fMYqzzaGUSXjQnXG+wwq F8k4NkWbJjnL/rqS5tku18Y4W0SC4pZOatuHfC4iFoWciOL1YtqMhP3JJtfmtfX8optG jof924ZNr4BHqkbJnZ/cOSdS5xInGLzdC9T0N0cQ7heOOTyJjMzNSDl3IqC/kEmP4gHb 9f1g== 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=fV5/DMnSjI8BQLbpnfoWCTEXZilAyVsqKOHnxzZqkIo=; fh=CIzheBTUL5fyGH3nbQHnzCXjO4Ty5MYCLcLsWbV53xg=; b=DqJxIG6NUSd+O8QDOTBT75LZlBkDVuNatz9xkstKimDRcqTW6ec2SAzrCDr6H3aNji ls2QcQ4yNSNBYFICziUGq8EWopO3ayNwEWeCZXy8Px/yIw5AYJThUgGyiTVBU0oQq40V H81nwDwebpk75qlMH7XQqUERkTflG/PWTV7fleWhZZummvTpTAQj4VktwFjoJaC88jC1 ahTA5N0JduRDAV6cksSvDHbkQcfRB2Bo3X1YjA9Gm2ruur71PvqpPKcZKFerfe9NIGKr oMPluhBf0mqnutYKVTwjZxrnJfSkbIpkYmCb9vWBoaQlfUuwn07oLJkKLLn2AetArrW3 Shog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=HDWZHrUr; spf=pass (google.com: domain of linux-kernel+bounces-7328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b1-20020a170902d50100b001d08c8e5115si22554244plg.237.2023.12.20.09.04.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 09:04:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=HDWZHrUr; spf=pass (google.com: domain of linux-kernel+bounces-7328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7328-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C7944B21D92 for ; Wed, 20 Dec 2023 16:59:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E5EF04779A; Wed, 20 Dec 2023 16:58:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cirrus.com header.i=@cirrus.com header.b="HDWZHrUr" 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 770A54777F; Wed, 20 Dec 2023 16:58:49 +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 3BKFAkOK027189; Wed, 20 Dec 2023 10:58:38 -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=f V5/DMnSjI8BQLbpnfoWCTEXZilAyVsqKOHnxzZqkIo=; b=HDWZHrUrYO7cGVeSg k1gRqmOwBw88UCVQZHaDquL1JtrgmkaGsqUhKlWHyBl1Q5zirO/YZ7LA3tD0h+9R cjHoObGbrJsCgrsGaraVR+HIz7aRcVlElx1UFC8PgsQn7adiZbpGCSaJ1LJI7Ucd g7kWeDGAV+7kTx+Q+U7pnesh4gQGy/+C+bIt/aREuMwx+YY2BSYfhe7ETBc7+u2N HTbNGsqGEZl6P0qMzaRWj5HqEw6GiCSjjyah1XK55luBC/rFfeD6ZDyatUG4im0f rzXde0ekXXXI3cP4DXkwy62nUCWgUUxbdwFXBPWmZ+bzxX9+ie4kJZXU7rDFSbD9 bSyGA== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3v196ndrdf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 10:58:38 -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; Wed, 20 Dec 2023 16:58:36 +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; Wed, 20 Dec 2023 16:58:36 +0000 Received: from sbinding-cirrus-dsktp2.ad.cirrus.com (unknown [198.90.238.77]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 7A628468; Wed, 20 Dec 2023 16:58:36 +0000 (UTC) From: Stefan Binding To: Jaroslav Kysela , Takashi Iwai CC: , , , , "Stefan Binding" Subject: [PATCH v1 0/3] Support Dell models without _DSD Date: Wed, 20 Dec 2023 16:58:26 +0000 Message-ID: <20231220165829.160711-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: QTqKkQHl31b5ZYbMagcdEG65_hmuhwbW X-Proofpoint-GUID: QTqKkQHl31b5ZYbMagcdEG65_hmuhwbW X-Proofpoint-Spam-Reason: safe 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. 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(-) -- 2.34.1