platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L...
authorHans de Goede <hdegoede@redhat.com>
Tue, 4 May 2021 18:57:45 +0000 (20:57 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 20 May 2021 13:17:24 +0000 (15:17 +0200)
commitfcd8cf0e3e48f4c66af82c8e799c37cb0cccffe0
tree2ccaf8b591f48efecfd0ccc29fdbe48c44a887db
parenta22e3803f2a4d947ff0083a9448a169269ea0f62
platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets

The Bay Trail Glavey TM800A550L tablet, which ships with Android installed
from the factory, uses a GT912 touchscreen controller which needs to have
its firmware uploaded by the OS to work (this is a first for a x86 based
device with a Goodix touchscreen controller).

Add a touchscreen_dmi entry for this which specifies the filenames
to use for the firmware and config files needed for this.

Note this matches on a GDIX1001 ACPI HID, while the original DSDT uses
a HID of GODX0911. For the touchscreen to work on these devices a DSDT
override is necessary to fix a missing IRQ and broken GPIO settings in
the ACPI-resources for the touchscreen. This override also changes the
HID to the standard GDIX1001 id typically used for Goodix touchscreens.
The DSDT override is available here:
https://fedorapeople.org/~jwrdegoede/glavey-tm800a550l-dsdt-override/

Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210504185746.175461-5-hdegoede@redhat.com
drivers/platform/x86/touchscreen_dmi.c