ASoC: rt5645: Add platform-data for Acer Switch V 10

The Acer Switch V 10 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 Braswell's reference design.

Add a DMI quirk pointing to the intel_braswell_platform_data for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20231126214024.300505-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Hans de Goede 2023-11-26 22:40:19 +01:00 committed by Mark Brown
parent 51add1687f
commit 8f28e1996a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0

View file

@ -3847,6 +3847,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
},
.driver_data = (void *)&ecs_ef20_platform_data,
},
{
.ident = "Acer Switch V 10 (SW5-017)",
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SW5-017"),
},
.driver_data = (void *)&intel_braswell_platform_data,
},
{ }
};