Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9456394pxu; Mon, 28 Dec 2020 17:13:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbSRRiToSi4jJWj3C+SwNJgZH+A7VWplsgTtuN0NRUPNMv2egHgURTjzd9r4eySdmGk30i X-Received: by 2002:a17:906:4d8d:: with SMTP id s13mr43638219eju.305.1609204401125; Mon, 28 Dec 2020 17:13:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609204401; cv=none; d=google.com; s=arc-20160816; b=YYmM4O+gmcHIkqpFkvG1vOED0P3DAQRYODS3roa5NqTmWcCGygWQwf+AHsopWTsJ0+ kh2vG5Rz95R6yV9UuQhDuAuGzQnJIFuZZcMH/YdMOvD2lWNjI7qn+A2nRi3LziRbn8So iK5u+R40iwDH2+/3yyF4PWaWRYLh2dq/82B/+aXudI8FOxt0h5cA6fKNzfQj7wEXnxX7 QKR8fMLJ8Mx85C9ma7tHhIVBOO3MCWI5RiDO7SwV3yqx/W/2hgbR8GMxRGpJigITS0/j tkTZhYgMRUkWMBObTsou4SjnWkNUqNkiO1/zdpSwpXnjVOIR6lzkL2MgAsJwYPjlRHLC U3Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yCsyfJuFUrXnDEpuSe3rZYOfb7y9xevxTK67Uav1vL0=; b=GdndhwGmWmUcy+oa1vkK7w/dMzWZ+2aAjl5Uh+XGFtGfXjhc8PKm96R+XSDR8iPxXL 5TCq8QTyMHVG5T60Vb0zjrEbPkG0/8Ook2JUmcHRExO7poOBa45DeRttZj8J52lOBytb fn5gWiLHu5Vzd8e0LezgnnBAL4roMTZusRy4dQhM5DpXXOuv/M6QguYRba3gOGIJQUi3 Ms4cljat5664QGX9ksclcBvHC5RsXgOosenkiXsedkoYtKehy3h4YIYOd5StFN6syqKn hxTfQqaamfXO63gY6MMG3bjIPp4kwB4rIgtgWE9H4ALOiWDvoE82J2k7NGFOy/uU2349 Uzmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N9c2Yyu0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si20866710ejn.694.2020.12.28.17.12.59; Mon, 28 Dec 2020 17:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=N9c2Yyu0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634386AbgL1Qlu (ORCPT + 99 others); Mon, 28 Dec 2020 11:41:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:54836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729158AbgL1M62 (ORCPT ); Mon, 28 Dec 2020 07:58:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0832322A84; Mon, 28 Dec 2020 12:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160267; bh=qv79hZe7JFG/aJRatGTRnn60yY1sUS660McQot7CuUA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N9c2Yyu04DYEOiqvQX5mOVd50ZQ9YLALIuXAuOYfEFg170WOXtihFynl8uyNCBNYV dtulNpZAokZ+FX3LhuUL5iAHagD2B62l07SMAb/63Qz/0Z9IOwHM/zfAAQ3j8lEAR2 L4TY1AAucaDrPFckQjN42fUeURkarr5KnNSjAuJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Simon Beginn , Bastien Nocera , Dmitry Torokhov , Sasha Levin Subject: [PATCH 4.4 096/132] Input: goodix - add upside-down quirk for Teclast X98 Pro tablet Date: Mon, 28 Dec 2020 13:49:40 +0100 Message-Id: <20201228124851.059705946@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124846.409999325@linuxfoundation.org> References: <20201228124846.409999325@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Simon Beginn [ 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 Signed-off-by: Bastien Nocera Link: https://lore.kernel.org/r/20201117004253.27A5A27EFD@localhost Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/touchscreen/goodix.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 67cadda13ab17..d7cc8f6a292ea 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -77,6 +77,18 @@ static const struct dmi_system_id rotated_screen[] = { DMI_MATCH(DMI_BIOS_DATE, "12/19/2014"), }, }, + { + .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 = { -- 2.27.0