]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: touchscreen_dmi: Add info for the EZpad 6s Pro
authorhmtheboy154 <buingoc67@gmail.com>
Mon, 27 May 2024 09:14:47 +0000 (11:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jul 2024 10:51:22 +0000 (12:51 +0200)
[ Upstream commit 3050052613790e75b5e4a8536930426b0a8b0774 ]

The "EZpad 6s Pro" uses the same touchscreen as the "EZpad 6 Pro B",
unlike the "Ezpad 6 Pro" which has its own touchscreen.

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-3-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/touchscreen_dmi.c

index 88bd117f0bf56dc3a9e2702c0d180f21d2a4e783..89e1be0815b52b55112937e1794dbc42e50cd51e 100644 (file)
@@ -1401,6 +1401,17 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
                        DMI_MATCH(DMI_BIOS_DATE, "04/24/2018"),
                },
        },
+       {
+               /* Jumper EZpad 6s Pro */
+               .driver_data = (void *)&jumper_ezpad_6_pro_b_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Jumper"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Ezpad"),
+                       /* Above matches are too generic, add bios match */
+                       DMI_MATCH(DMI_BIOS_VERSION, "E.WSA116_8.E1.042.bin"),
+                       DMI_MATCH(DMI_BIOS_DATE, "01/08/2020"),
+               },
+       },
        {
                /* Jumper EZpad 6 m4 */
                .driver_data = (void *)&jumper_ezpad_6_m4_data,