Commit 87927581 authored by Hans de Goede's avatar Hans de Goede Committed by Mark Brown

ASoC: rt5645: Add platform-data for Lenovo Ideapad Mixx 310

The Lenovo Ideapad Mixx 310 has a differential internal analog mic,
add platform-data for this.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent cfb53a56
...@@ -3652,6 +3652,11 @@ static const struct rt5645_platform_data asus_t100ha_platform_data = { ...@@ -3652,6 +3652,11 @@ static const struct rt5645_platform_data asus_t100ha_platform_data = {
.inv_jd1_1 = true, .inv_jd1_1 = true,
}; };
static const struct rt5645_platform_data lenovo_ideapad_miix_310_pdata = {
.jd_mode = 3,
.in2_diff = true,
};
static const struct rt5645_platform_data jd_mode3_platform_data = { static const struct rt5645_platform_data jd_mode3_platform_data = {
.jd_mode = 3, .jd_mode = 3,
}; };
...@@ -3735,6 +3740,15 @@ static const struct dmi_system_id dmi_platform_data[] = { ...@@ -3735,6 +3740,15 @@ static const struct dmi_system_id dmi_platform_data[] = {
}, },
.driver_data = (void *)&jd_mode3_platform_data, .driver_data = (void *)&jd_mode3_platform_data,
}, },
{
.ident = "Lenovo Ideapad Miix 310",
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "80SG"),
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "MIIX 310-10ICR"),
},
.driver_data = (void *)&lenovo_ideapad_miix_310_pdata,
},
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment