diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-05-04 20:57:44 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-05-20 15:17:15 +0200 |
commit | a22e3803f2a4d947ff0083a9448a169269ea0f62 (patch) | |
tree | 7aa6ffd2aba8d13bd9ad64216e7c95d1ec73414f /drivers/platform | |
parent | 5a6f0dbe621a5c20dc912ac474debf9f11129e03 (diff) | |
download | linux-a22e3803f2a4d947ff0083a9448a169269ea0f62.tar.gz linux-a22e3803f2a4d947ff0083a9448a169269ea0f62.tar.bz2 linux-a22e3803f2a4d947ff0083a9448a169269ea0f62.zip |
platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
Teclast X89 tablets come in 2 versions, with Windows pre-installed and with
Android pre-installed. These 2 versions have different DMI strings.
Add a match for the DMI strings used by the Android version BIOS.
Note the Android version BIOS has a bug in the DSDT where no IRQ is
provided, so for the touchscreen to work a DSDT override fixing this
is necessary as well.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210504185746.175461-4-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/touchscreen_dmi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index a53e176d94b9..08ec61660b3c 100644 --- a/drivers/platform/x86/touchscreen_dmi.c +++ b/drivers/platform/x86/touchscreen_dmi.c @@ -1305,6 +1305,14 @@ const struct dmi_system_id touchscreen_dmi_table[] = { }, }, { + /* Teclast X89 (Android version / BIOS) */ + .driver_data = (void *)&gdix1001_00_upside_down_data, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "WISKY"), + DMI_MATCH(DMI_BOARD_NAME, "3G062i"), + }, + }, + { /* Teclast X89 (Windows version / BIOS) */ .driver_data = (void *)&gdix1001_01_upside_down_data, .matches = { |