Skip to content

Commit f8b0127

Browse files
Blafybroonie
authored andcommitted
ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
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é <alban.boye@protonmail.com> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://msgid.link/r/20240228192807.15130-1-alban.boye@protonmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 231bf30 commit f8b0127

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/soc/intel/boards/bytcr_rt5640.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,18 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
685685
BYT_RT5640_SSP0_AIF1 |
686686
BYT_RT5640_MCLK_EN),
687687
},
688+
{ /* Chuwi Vi8 dual-boot (CWI506) */
689+
.matches = {
690+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"),
691+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "i86"),
692+
/* The above are too generic, also match BIOS info */
693+
DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"),
694+
},
695+
.driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
696+
BYT_RT5640_MONO_SPEAKER |
697+
BYT_RT5640_SSP0_AIF1 |
698+
BYT_RT5640_MCLK_EN),
699+
},
688700
{
689701
/* Chuwi Vi10 (CWI505) */
690702
.matches = {

0 commit comments

Comments
 (0)