From mboxrd@z Thu Jan 1 00:00:00 1970 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 69A75C433FE for ; Tue, 30 Nov 2021 14:49:41 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7B2B42057; Tue, 30 Nov 2021 15:48:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7B2B42057 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1638283779; bh=XZa1tmF5GY7PAX/6/UQfvaXTAWC+309CS1FqiBJscbs=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=rlAvTFur5L0GUQ1DkqLHnC6FX56qGoxB1+dg/ImLB0v7rXs3y6hiuswwNbzGbGGtP ViQ0J0IrNsUB5THO7AY7xbrxWuNNwUatiEKwMWGbpA8tCzZznjyvN0aCbU/3c2A4Sl ZmRmfcgi7tNq3naA36dMjTAtOA/KRY3/ryrwnP64= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3ECDFF804ED; Tue, 30 Nov 2021 15:47:36 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D1FD2F80301; Tue, 30 Nov 2021 15:47:32 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 35089F80113 for ; Tue, 30 Nov 2021 15:47:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 35089F80113 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UH6SoC9H" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0C005B819E7; Tue, 30 Nov 2021 14:47:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14A0BC53FD1; Tue, 30 Nov 2021 14:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638283643; bh=XZa1tmF5GY7PAX/6/UQfvaXTAWC+309CS1FqiBJscbs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UH6SoC9HiKITRfjtcrBvO0WXmbl/qb5xngc37korEoY2eL3vH8+SlR0jicxGmZ51F YSia/un16QxYkVdp7nkIRdcIqsAC8r5MV2Z/KchlSfwX7dkfIq6AYiIXdm5tBAvnp2 BkHHiX21/2QEqkfA0mJiOHNKVctKJdtzixSSINNPS244tVzCuCRWcovz5x6wRi7rEI EktYBVV/Yx66dJjcfnqOxUpFFFAqFyqb/MNTMc1vberRwFTKvQD+IEKWIOWHc0ZjHi DHOfvv9HPkcFjAGLFiJ/30JygTlDLXCHCnYnkvWrA/UzWQP3tHHxfWQbSKCyaymY4/ 3iXaTqhftaNyQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 04/68] ASoC: Intel: sof_sdw: Add support for SKU 0B00 and 0B01 products Date: Tue, 30 Nov 2021 09:46:00 -0500 Message-Id: <20211130144707.944580-4-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211130144707.944580-1-sashal@kernel.org> References: <20211130144707.944580-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , libin.yang@intel.com, cezary.rojewski@intel.com, kai.vehmanen@linux.intel.com, Gongjun Song , tiwai@suse.com, yang.jie@linux.intel.com, Pierre-Louis Bossart , Rander Wang , liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, Mark Brown , Bard Liao , vamshi.krishna.gopal@intel.com, yong.zhi@intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Gongjun Song [ Upstream commit cf304329e4afb97ffabce232eadaba94f025641d ] Both products support a SoundWire headset codec, SoundWire capture from local microphones and two SoundWire amplifiers. Signed-off-by: Gongjun Song Reviewed-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao Link: https://lore.kernel.org/r/20211105022646.26305-4-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/sof_sdw.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 584f9f2db2076..55c3e5935585c 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -258,6 +258,26 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .driver_data = (void *)(SOF_SDW_TGL_HDMI | SOF_SDW_FOUR_SPK), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0B00") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_SDW_FOUR_SPK), + }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0B01") + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2 | + SOF_SDW_FOUR_SPK), + }, {} }; -- 2.33.0