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 0CABF273D84; Sun, 24 Mar 2024 23:35:26 +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=1711323327; cv=none; b=IB5pSj1cxbi2+jJ86mt1y/wykf0LS1EQClIUVeuoreepkYv5KZY0I4ahx3O4yvBtDsNBxq6mw/HlPADmDEKwpIya4/47NOhwlotpujBRUbzNexeZAUlDy8OYOxUhXgadmWmLORFJJeNbV6sRyrWgFZ6JCxDLiWCIqlXWf0xorZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323327; c=relaxed/simple; bh=YChU0O4tGvLJPSPKaKY3ehmHRybr4RB0vp5VJLcOpIE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IdAtNpUQvGvqHWrG8NgRShwFNGWZe1fEdGM8Q3yghLC5p9J53WHLtsdqeYyf/JzCU9zeACk9kmY/ZpcfeMxhk3XU77xLWcsWP+J8D5DWqAdWTR5X6IkMGKRRvDrTL9GpxWjSN2jOLxutB42z1s0VYM1FBeLodz2s4FH71e3WceM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bJgbZocg; 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="bJgbZocg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 189D5C433F1; Sun, 24 Mar 2024 23:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323325; bh=YChU0O4tGvLJPSPKaKY3ehmHRybr4RB0vp5VJLcOpIE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bJgbZocgG7mlyeej01lr/TyqPn34kFEqaZydEuCD6eJUIdu0RhoyX2xO4MloyEwGV QHp46iCG2Eocsyyw593u9ijq03gK5DKKPPMhhOMs0pARjXwHD0UtUCVTbEmZzzKKN6 /U67/7TZxOiwldWzqYstpF2ENtL3k86xJ6Rol/mKFzI9aMZkxsZLha0jZEQX0HHec7 eIVkowtdIrj6cAP8l0IL2c3YPq9WqYYfcm2sAcI4V4wueMxb6845RPzpwiofeLABMb PwEkDaqqW24YJZDy3I3feMFAyxFvo9C3p36kbHM/aC1AT0BM55sn1B2s5t6HIjVRSS AWAG4u6622A7g== 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 Subject: [PATCH 5.15 026/317] ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet Date: Sun, 24 Mar 2024 19:30:06 -0400 Message-ID: <20240324233458.1352854-27-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324233458.1352854-1-sashal@kernel.org> References: <20240324233458.1352854-1-sashal@kernel.org> 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 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 49dfbd29c5451..434679afa7e1a 100644 --- a/sound/soc/intel/boards/bytcr_rt5640.c +++ b/sound/soc/intel/boards/bytcr_rt5640.c @@ -668,6 +668,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