Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1

Add touchscreen info for RWC NANOTE P8 (AY07J) 2-in-1.

Signed-off-by: Yuka Kawajiri <yukx00@gmail.com>
Link: https://lore.kernel.org/r/20220111154019.4599-1-yukx00@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Yuka Kawajiri and committed by
Hans de Goede
512eb73c c197e969

+24
+24
drivers/platform/x86/touchscreen_dmi.c
··· 770 770 .properties = predia_basic_props, 771 771 }; 772 772 773 + static const struct property_entry rwc_nanote_p8_props[] = { 774 + PROPERTY_ENTRY_U32("touchscreen-min-y", 46), 775 + PROPERTY_ENTRY_U32("touchscreen-size-x", 1728), 776 + PROPERTY_ENTRY_U32("touchscreen-size-y", 1140), 777 + PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 778 + PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-rwc-nanote-p8.fw"), 779 + PROPERTY_ENTRY_U32("silead,max-fingers", 10), 780 + { } 781 + }; 782 + 783 + static const struct ts_dmi_data rwc_nanote_p8_data = { 784 + .acpi_name = "MSSL1680:00", 785 + .properties = rwc_nanote_p8_props, 786 + }; 787 + 773 788 static const struct property_entry schneider_sct101ctm_props[] = { 774 789 PROPERTY_ENTRY_U32("touchscreen-size-x", 1715), 775 790 PROPERTY_ENTRY_U32("touchscreen-size-y", 1140), ··· 1407 1392 /* Note 105b is Foxcon's USB/PCI vendor id */ 1408 1393 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "105B"), 1409 1394 DMI_EXACT_MATCH(DMI_BOARD_NAME, "0E57"), 1395 + }, 1396 + }, 1397 + { 1398 + /* RWC NANOTE P8 */ 1399 + .driver_data = (void *)&rwc_nanote_p8_data, 1400 + .matches = { 1401 + DMI_MATCH(DMI_BOARD_VENDOR, "Default string"), 1402 + DMI_MATCH(DMI_PRODUCT_NAME, "AY07J"), 1403 + DMI_MATCH(DMI_PRODUCT_SKU, "0001") 1410 1404 }, 1411 1405 }, 1412 1406 {