summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Beginn <linux@simonmicro.de>2020-12-11 16:17:32 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:26:06 +0100
commite46034c8520a0746fb9e7d8069343d6d026a36a7 (patch)
tree723a5dda1b354d5adee9e3c0e891c1baed0a65e2
parent78a73f9556a17efedae85cc769c3c8913a732858 (diff)
Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
[ Upstream commit cffdd6d90482316e18d686060a4397902ea04bd2 ] The touchscreen on the Teclast x98 Pro is also mounted upside-down in relation to the display orientation. Signed-off-by: Simon Beginn <linux@simonmicro.de> Signed-off-by: Bastien Nocera <hadess@hadess.net> Link: https://lore.kernel.org/r/20201117004253.27A5A27EFD@localhost Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/input/touchscreen/goodix.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index b20ba6599273..7e480e236421 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -137,6 +137,18 @@ static const struct dmi_system_id rotated_screen[] = {
},
},
{
+ .ident = "Teclast X98 Pro",
+ .matches = {
+ /*
+ * Only match BIOS date, because the manufacturers
+ * BIOS does not report the board name at all
+ * (sometimes)...
+ */
+ DMI_MATCH(DMI_BOARD_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_BIOS_DATE, "10/28/2015"),
+ },
+ },
+ {
.ident = "WinBook TW100",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),