diff options
Diffstat (limited to 'drivers/platform/x86/touchscreen_dmi.c')
| -rw-r--r-- | drivers/platform/x86/touchscreen_dmi.c | 41 | 
1 files changed, 41 insertions, 0 deletions
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 13802a3c3591..68e66b60445c 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -336,6 +336,22 @@ static const struct ts_dmi_data dexp_ursus_7w_data = {  	.properties	= dexp_ursus_7w_props,  }; +static const struct property_entry dexp_ursus_kx210i_props[] = { +	PROPERTY_ENTRY_U32("touchscreen-min-x", 5), +	PROPERTY_ENTRY_U32("touchscreen-min-y",  2), +	PROPERTY_ENTRY_U32("touchscreen-size-x", 1720), +	PROPERTY_ENTRY_U32("touchscreen-size-y", 1137), +	PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-dexp-ursus-kx210i.fw"), +	PROPERTY_ENTRY_U32("silead,max-fingers", 10), +	PROPERTY_ENTRY_BOOL("silead,home-button"), +	{ } +}; + +static const struct ts_dmi_data dexp_ursus_kx210i_data = { +	.acpi_name	= "MSSL1680:00", +	.properties	= dexp_ursus_kx210i_props, +}; +  static const struct property_entry digma_citi_e200_props[] = {  	PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),  	PROPERTY_ENTRY_U32("touchscreen-size-y", 1500), @@ -378,6 +394,11 @@ static const struct ts_dmi_data gdix1001_01_upside_down_data = {  	.properties	= gdix1001_upside_down_props,  }; +static const struct ts_dmi_data gdix1002_00_upside_down_data = { +	.acpi_name	= "GDIX1002:00", +	.properties	= gdix1001_upside_down_props, +}; +  static const struct property_entry gp_electronic_t701_props[] = {  	PROPERTY_ENTRY_U32("touchscreen-size-x", 960),  	PROPERTY_ENTRY_U32("touchscreen-size-y", 640), @@ -1186,6 +1207,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = {  		},  	},  	{ +		/* DEXP Ursus KX210i */ +		.driver_data = (void *)&dexp_ursus_kx210i_data, +		.matches = { +			DMI_MATCH(DMI_SYS_VENDOR, "INSYDE Corp."), +			DMI_MATCH(DMI_PRODUCT_NAME, "S107I"), +		}, +	}, +	{  		/* Digma Citi E200 */  		.driver_data = (void *)&digma_citi_e200_data,  		.matches = { @@ -1296,6 +1325,18 @@ const struct dmi_system_id touchscreen_dmi_table[] = {  		},  	},  	{ +		/* Juno Tablet */ +		.driver_data = (void *)&gdix1002_00_upside_down_data, +		.matches = { +			DMI_MATCH(DMI_SYS_VENDOR, "Default string"), +			/* Both product- and board-name being "Default string" is somewhat rare */ +			DMI_MATCH(DMI_PRODUCT_NAME, "Default string"), +			DMI_MATCH(DMI_BOARD_NAME, "Default string"), +			/* Above matches are too generic, add partial bios-version match */ +			DMI_MATCH(DMI_BIOS_VERSION, "JP2V1."), +		}, +	}, +	{  		/* Mediacom WinPad 7.0 W700 (same hw as Wintron surftab 7") */  		.driver_data = (void *)&trekstor_surftab_wintron70_data,  		.matches = {  |