Skip to content

Commit 477d07e

Browse files
jwrdegoedeandy-shev
authored andcommitted
platform/x86: touchscreen_dmi: Update Trekstor Twin 10.1 entry
Add minimum values for the x and y axis, correct the max value for the x-axis and add support for the capacitive home-button these tablets have. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 6b29030 commit 477d07e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,11 +713,14 @@ static const struct ts_dmi_data trekstor_primetab_t13b_data = {
713713
};
714714

715715
static const struct property_entry trekstor_surftab_twin_10_1_props[] = {
716-
PROPERTY_ENTRY_U32("touchscreen-size-x", 1900),
716+
PROPERTY_ENTRY_U32("touchscreen-min-x", 20),
717+
PROPERTY_ENTRY_U32("touchscreen-min-y", 0),
718+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1890),
717719
PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
718720
PROPERTY_ENTRY_U32("touchscreen-inverted-y", 1),
719721
PROPERTY_ENTRY_STRING("firmware-name", "gsl3670-surftab-twin-10-1-st10432-8.fw"),
720722
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
723+
PROPERTY_ENTRY_BOOL("silead,home-button"),
721724
{ }
722725
};
723726

0 commit comments

Comments
 (0)