]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: rt5645: Add platform-data for Medion E1239T
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Apr 2020 18:52:57 +0000 (20:52 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Apr 2020 16:45:24 +0000 (17:45 +0100)
The Medion E1239T uses the default jack-detect mode 3, but instead of
using an analog microphone it is using a DMIC on dmic-data-pin 1,
like other models following Intel's Brasswell's reference design.

This commit adds a DMI quirk pointing to the intel_braswell_platform_data
for this model.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200402185257.3355-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c

index 92d67010aeedec82f4753b10a7ad7750c87c21d7..6ba1849a77b086860b0b445b57450c6977858347 100644 (file)
@@ -3758,6 +3758,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
                },
                .driver_data = (void *)&kahlee_platform_data,
        },
+       {
+               .ident = "Medion E1239T",
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "MEDION"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "E1239T MD60568"),
+               },
+               .driver_data = (void *)&intel_braswell_platform_data,
+       },
        { }
 };