From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9A4CC6518F; Mon, 11 Mar 2024 18:39:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710182397; cv=none; b=eOOcCNr1Yno2exVVn/2SNvfAPegbTPmZqIUNudm6nrl4plVayVciHzbjRXP1wMVpNJSGES1MGLlvRzLQxdnJLVyghaY8yEedO9cdPYefrsTtSJBoelHQusS7CMszcPhSahp81CrF5wenG5YHycoBHi1IltcymYKp7MTMuh7WFOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710182397; c=relaxed/simple; bh=sL2RKPUz7dDRVOIkRhMDv4+bFxzDPiGYLyueB87xlFU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=c8F+lcNC/Qos7DMS3DHJnf92g2ky8aXwiFgthT/Zjxyrb7erq/dfVVm5iJzH/fx9l8XwSVpOu2dnDQNiTu7IuD8PSOynxtcD3aPZDVlJ0lh7TjQAsa1epAJqmRoGzx1Y/80CWOh4vwJvFwMzLQeMQiHZ3umuazxcKOtr5StvJpA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VNekEMJg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VNekEMJg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E03DAC433F1; Mon, 11 Mar 2024 18:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710182397; bh=sL2RKPUz7dDRVOIkRhMDv4+bFxzDPiGYLyueB87xlFU=; h=From:To:Cc:Subject:Date:From; b=VNekEMJgsIzaGGhDfTMUZ3ht8Dy72I/6h4Hb2LF157qRgdMxT+avM/wYRupEuRNlZ TXEry4vdtls1HCIUv+hWcoWXeVpRHA06FnWq+ppY94VjGjLawuoojcGJOb6y2JoG5u I+18x8oa1U2YvMmqCEHwTS0vPC4mRxA2Y/FSVWCswvrCp9pQgXvb5sXpRdbYvXqpEI geBzFE/YRN6Hee4f65pOpYU402LvJ24V7kqpVGY3XUOH2AjP09aOIVeG20AzucysPl saanJPJ06BlTStuKv3CbqFMhLWY4RBctqyaADKo9dEvpzb3RMXN1P9smiLPWuGFSpm Le3FVhm1s2pBA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Alban=20Boy=C3=A9?= , Cezary Rojewski , Pierre-Louis Bossart , Mark Brown , Sasha Levin , liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, perex@perex.cz, tiwai@suse.com, hdegoede@redhat.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.4 1/5] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet Date: Mon, 11 Mar 2024 14:39:45 -0400 Message-ID: <20240311183950.329120-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.271 Content-Transfer-Encoding: 8bit From: Alban Boyé [ Upstream commit f8b0127aca8c60826e7354e504a12d4a46b1c3bb ] The bios version can differ depending if it is a dual-boot variant of the tablet. Therefore another DMI match is required. Signed-off-by: Alban Boyé Reviewed-by: Cezary Rojewski Acked-by: Pierre-Louis Bossart Link: https://msgid.link/r/20240228192807.15130-1-alban.boye@protonmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/intel/boards/bytcr_rt5640.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c index df3b370fe7292..c740dec00f83b 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -526,6 +526,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = { BYT_RT5640_SSP0_AIF1 | BYT_RT5640_MCLK_EN), }, + { /* Chuwi Vi8 dual-boot (CWI506) */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "i86"), + /* The above are too generic, also match BIOS info */ + DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"), + }, + .driver_data = (void *)(BYTCR_INPUT_DEFAULTS | + BYT_RT5640_MONO_SPEAKER | + BYT_RT5640_SSP0_AIF1 | + BYT_RT5640_MCLK_EN), + }, { /* Chuwi Vi10 (CWI505) */ .matches = { -- 2.43.0