Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9179695pxu; Mon, 28 Dec 2020 08:33:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwiUOvHKg7kg/CvYuuPrIeI1G3/N4NueBreDMGUakYHKavEfhY97nKgf/6S4yiYQ0347NbS X-Received: by 2002:a17:906:edca:: with SMTP id sb10mr42944722ejb.284.1609173217150; Mon, 28 Dec 2020 08:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173217; cv=none; d=google.com; s=arc-20160816; b=NFxuIvHCcf1z/H3Gg6G3gOTBvA7kpxJVrWWmRxirFVswmXOoy7n1cydrFG1A6a7DqJ i2QzPbCfa7/sZS2ejbtHhBuxZzasSbo8sUJn4/R64306ekre2wUo4sRnzGRmRjUZyEAP DwI08iJGVD3uSRt15aCDbx4NeM9tjE+FF5aQCP/QpnOS0a/hQlgwtLutPY31ATtQgcNT 8ihH/rERq913DvcvO570irITPnMy8VNNiMN22idknc0Wv+rpgbxDnJSwfXZ4kYzbeQjp Mo5oz+RRc1kNAxTDvJdh8n1Hc0SYzMZguA4vmfynzO3vVMpAH24XamxawQT7kwsmsaY4 HQUg== 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=t7VRXfXcBdYBLgGIrmPklEWMBU1QsAYH5QV8LHWJlHU=; b=xGhQ81U4hPm8CWfC2beIEjsJLNp3X2emk01RMast6u/lQ5bbN0DjcDQ++L6PeDS1YJ 1/dBAw3W5CjEK86QRwHAvElhoUBpYms8FXpqqfTIGugbc20i/irzfzGVYqDjQVAT6ZJC n33yIei9T8f9lo/uIQneXRSd5WhsvGDQpMRq3eZ0LwZcDisVZWX6L3P88bvpci/oJJHX 1W6E970pUvy3ddUm9cVE1Wx4CAb1RJHfkfs/t8KYfqyhCqLv0MIO4kiIDBIKuF4f1cIc 8xPReR7a2CVKpxQZ0lRCsCMFXO4zm0xO3+dwu2v7ug9N4vsCGxItKF1kbfuJIAJOSzRp +Znw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MXZeqAZP; 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 sa7si19168662ejb.706.2020.12.28.08.33.14; Mon, 28 Dec 2020 08:33:37 -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=MXZeqAZP; 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 S2634057AbgL1Qbl (ORCPT + 99 others); Mon, 28 Dec 2020 11:31:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:60522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730505AbgL1NEp (ORCPT ); Mon, 28 Dec 2020 08:04:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 03627208BA; Mon, 28 Dec 2020 13:04:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160667; bh=Cakn1k4gp8qILJ5ZZgBcoxK/5lK0+FEZshWfpoZs27A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MXZeqAZPsNK6AHnEagOt9zpgN35jPAKHUrnMgpuDmRL6OEdCr753mSQQfzUxQzMFm dSgn/t5q2jLPXtUJjeRP/urcbrcriSWNvlnvfZNllKSx/XhMuaZko7hQ7qh/Gw6UZA 8dSh3a4D+SeDIxLEWQDVF+mV2kabQ3FdOe2d2lB4= 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.9 130/175] Input: goodix - add upside-down quirk for Teclast X98 Pro tablet Date: Mon, 28 Dec 2020 13:49:43 +0100 Message-Id: <20201228124859.545020749@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124853.216621466@linuxfoundation.org> References: <20201228124853.216621466@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 6a02e7301297d..ba0ab9963f3cd 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c @@ -98,6 +98,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