Skip to content

Commit 6917192

Browse files
jwrdegoedebroonie
authored andcommitted
ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet 5V
The Vexia EDU ATLA 10 tablet comes in 2 different versions with significantly different mainboards. The only outward difference is that the charging barrel on one is marked 5V and the other is marked 9V. The 5V version mostly works with the BYTCR defaults, except that it is missing a CHAN package in its ACPI tables and the default of using SSP0-AIF2 is wrong, instead SSP0-AIF1 must be used. That and its jack detect signal is not inverted as it usually is. Add a DMI quirk for the 5V version to fix sound not working. Signed-off-by: Hans de Goede <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4a32a38 commit 6917192

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

sound/soc/intel/boards/bytcr_rt5640.c

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,22 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
11321132
BYT_RT5640_SSP0_AIF2 |
11331133
BYT_RT5640_MCLK_EN),
11341134
},
1135-
{ /* Vexia Edu Atla 10 tablet */
1135+
{
1136+
/* Vexia Edu Atla 10 tablet 5V version */
1137+
.matches = {
1138+
/* Having all 3 of these not set is somewhat unique */
1139+
DMI_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
1140+
DMI_MATCH(DMI_PRODUCT_NAME, "To be filled by O.E.M."),
1141+
DMI_MATCH(DMI_BOARD_NAME, "To be filled by O.E.M."),
1142+
/* Above strings are too generic, also match on BIOS date */
1143+
DMI_MATCH(DMI_BIOS_DATE, "05/14/2015"),
1144+
},
1145+
.driver_data = (void *)(BYTCR_INPUT_DEFAULTS |
1146+
BYT_RT5640_JD_NOT_INV |
1147+
BYT_RT5640_SSP0_AIF1 |
1148+
BYT_RT5640_MCLK_EN),
1149+
},
1150+
{ /* Vexia Edu Atla 10 tablet 9V version */
11361151
.matches = {
11371152
DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
11381153
DMI_MATCH(DMI_BOARD_NAME, "Aptio CRB"),

0 commit comments

Comments
 (0)