]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet
authorhmtheboy154 <buingoc67@gmail.com>
Mon, 27 May 2024 09:14:46 +0000 (11:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jul 2024 10:51:22 +0000 (12:51 +0200)
[ Upstream commit 7c8639aa41343fd7b3dbe09baf6b0791fcc407a1 ]

This is a tablet created by GlobalSpace Technologies Limited
which uses an Intel Atom x5-Z8300, 4GB of RAM & 64GB of storage.

Link: https://web.archive.org/web/20171102141952/http://globalspace.in/11.6-device.html
Signed-off-by: hmtheboy154 <buingoc67@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240527091447.248849-2-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/touchscreen_dmi.c

index c6a10ec2c83f666b936247abbc17fe4bf2d87304..88bd117f0bf56dc3a9e2702c0d180f21d2a4e783 100644 (file)
@@ -897,6 +897,22 @@ static const struct ts_dmi_data schneider_sct101ctm_data = {
        .properties     = schneider_sct101ctm_props,
 };
 
+static const struct property_entry globalspace_solt_ivw116_props[] = {
+       PROPERTY_ENTRY_U32("touchscreen-min-x", 7),
+       PROPERTY_ENTRY_U32("touchscreen-min-y", 22),
+       PROPERTY_ENTRY_U32("touchscreen-size-x", 1723),
+       PROPERTY_ENTRY_U32("touchscreen-size-y", 1077),
+       PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-globalspace-solt-ivw116.fw"),
+       PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+       PROPERTY_ENTRY_BOOL("silead,home-button"),
+       { }
+};
+
+static const struct ts_dmi_data globalspace_solt_ivw116_data = {
+       .acpi_name      = "MSSL1680:00",
+       .properties     = globalspace_solt_ivw116_props,
+};
+
 static const struct property_entry techbite_arc_11_6_props[] = {
        PROPERTY_ENTRY_U32("touchscreen-min-x", 5),
        PROPERTY_ENTRY_U32("touchscreen-min-y", 7),
@@ -1624,6 +1640,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "SCT101CTM"),
                },
        },
+       {
+               /* GlobalSpace SoLT IVW 11.6" */
+               .driver_data = (void *)&globalspace_solt_ivw116_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Globalspace Tech Pvt Ltd"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "SolTIVW"),
+                       DMI_MATCH(DMI_PRODUCT_SKU, "PN20170413488"),
+               },
+       },
        {
                /* Techbite Arc 11.6 */
                .driver_data = (void *)&techbite_arc_11_6_data,