aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Cepok <marian.cepok@gmail.com>2018-10-08 03:25:05 -0400
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-10-19 12:23:34 -0400
commit30394a8e8c5601eb6936402c0f94f619d002fa97 (patch)
tree191bc21cb43e4ae92e65aa38be5fbe137c07f549
parent1a7938a632ce476b01a2dd7676246ca319eb295a (diff)
platform/x86: touchscreen_dmi: Add info for the Trekstor Primetab T13B tablet
Add touchscreen info for the Trekstor Primetab T13B tablet. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marian Cepok <marian.cepok@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-rw-r--r--drivers/platform/x86/touchscreen_dmi.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
index c4f04a753120..f037ad8d084e 100644
--- a/drivers/platform/x86/touchscreen_dmi.c
+++ b/drivers/platform/x86/touchscreen_dmi.c
@@ -397,6 +397,22 @@ static const struct ts_dmi_data trekstor_primebook_c13_data = {
397 .properties = trekstor_primebook_c13_props, 397 .properties = trekstor_primebook_c13_props,
398}; 398};
399 399
400static const struct property_entry trekstor_primetab_t13b_props[] = {
401 PROPERTY_ENTRY_U32("touchscreen-size-x", 2500),
402 PROPERTY_ENTRY_U32("touchscreen-size-y", 1900),
403 PROPERTY_ENTRY_STRING("firmware-name",
404 "gsl1680-trekstor-primetab-t13b.fw"),
405 PROPERTY_ENTRY_U32("silead,max-fingers", 10),
406 PROPERTY_ENTRY_BOOL("silead,home-button"),
407 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
408 { }
409};
410
411static const struct ts_dmi_data trekstor_primetab_t13b_data = {
412 .acpi_name = "MSSL1680:00",
413 .properties = trekstor_primetab_t13b_props,
414};
415
400static const struct property_entry trekstor_surftab_twin_10_1_props[] = { 416static const struct property_entry trekstor_surftab_twin_10_1_props[] = {
401 PROPERTY_ENTRY_U32("touchscreen-size-x", 1900), 417 PROPERTY_ENTRY_U32("touchscreen-size-x", 1900),
402 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), 418 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
@@ -673,6 +689,14 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
673 }, 689 },
674 }, 690 },
675 { 691 {
692 /* Trekstor Primetab T13B */
693 .driver_data = (void *)&trekstor_primetab_t13b_data,
694 .matches = {
695 DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"),
696 DMI_MATCH(DMI_PRODUCT_NAME, "Primetab T13B"),
697 },
698 },
699 {
676 /* TrekStor SurfTab twin 10.1 ST10432-8 */ 700 /* TrekStor SurfTab twin 10.1 ST10432-8 */
677 .driver_data = (void *)&trekstor_surftab_twin_10_1_data, 701 .driver_data = (void *)&trekstor_surftab_twin_10_1_data,
678 .matches = { 702 .matches = {