OSDN Git Service

ASoC: Intel: bytcr_rt5640: Add quirk for the Point of View Mobii TAB-P1005W-232
authorHans de Goede <hdegoede@redhat.com>
Sat, 8 Dec 2018 13:01:14 +0000 (14:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Dec 2018 15:35:45 +0000 (15:35 +0000)
Add a quirk for the Point of View Mobii TAB-P1005W-232 v2.0 tablet, this
BYTCR device uses IN1 for its MIC and JD2 for jack-detect, rather then the
default IN3 and JD1.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c

index a48ea8e..a22366c 100644 (file)
@@ -673,6 +673,19 @@ static const struct dmi_system_id byt_rt5640_quirk_table[] = {
                                        BYT_RT5640_SSP0_AIF2 |
                                        BYT_RT5640_MCLK_EN),
        },
+       {       /* Point of View Mobii TAB-P1005W-232 (V2.0) */
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "POV"),
+                       DMI_EXACT_MATCH(DMI_BOARD_NAME, "I102A"),
+               },
+               .driver_data = (void *)(BYT_RT5640_IN1_MAP |
+                                       BYT_RT5640_JD_SRC_JD2_IN4N |
+                                       BYT_RT5640_OVCD_TH_2000UA |
+                                       BYT_RT5640_OVCD_SF_0P75 |
+                                       BYT_RT5640_DIFF_MIC |
+                                       BYT_RT5640_SSP0_AIF1 |
+                                       BYT_RT5640_MCLK_EN),
+       },
        {
                /* Prowise PT301 */
                .matches = {