Skip to content

Commit 220326c

Browse files
hmtheboy154ij-intel
authored andcommitted
platform/x86: touchscreen_dmi: Add info for SARY Tab 3 tablet
There's no info about the OEM behind the tablet, only online stores listing. This tablet uses an Intel Atom x5-Z8300, 4GB of RAM & 64GB of storage. Signed-off-by: Huy Minh <buingoc67@gmail.com> Link: https://lore.kernel.org/r/20241210154500.32124-1-buingoc67@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 360c400 commit 220326c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,23 @@ static const struct ts_dmi_data rwc_nanote_next_data = {
855855
.properties = rwc_nanote_next_props,
856856
};
857857

858+
static const struct property_entry sary_tab_3_props[] = {
859+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1730),
860+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1151),
861+
PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
862+
PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
863+
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
864+
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-sary-tab-3.fw"),
865+
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
866+
PROPERTY_ENTRY_BOOL("silead,home-button"),
867+
{ }
868+
};
869+
870+
static const struct ts_dmi_data sary_tab_3_data = {
871+
.acpi_name = "MSSL1680:00",
872+
.properties = sary_tab_3_props,
873+
};
874+
858875
static const struct property_entry schneider_sct101ctm_props[] = {
859876
PROPERTY_ENTRY_U32("touchscreen-size-x", 1715),
860877
PROPERTY_ENTRY_U32("touchscreen-size-y", 1140),
@@ -1615,6 +1632,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
16151632
DMI_MATCH(DMI_BIOS_VERSION, "S8A70R100-V005"),
16161633
},
16171634
},
1635+
{
1636+
/* SARY Tab 3 */
1637+
.driver_data = (void *)&sary_tab_3_data,
1638+
.matches = {
1639+
DMI_MATCH(DMI_SYS_VENDOR, "SARY"),
1640+
DMI_MATCH(DMI_PRODUCT_NAME, "C210C"),
1641+
DMI_MATCH(DMI_PRODUCT_SKU, "TAB3"),
1642+
},
1643+
},
16181644
{
16191645
/* Schneider SCT101CTM */
16201646
.driver_data = (void *)&schneider_sct101ctm_data,

0 commit comments

Comments
 (0)