From patchwork Thu Dec 31 08:20:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yassine Oudjana X-Patchwork-Id: 11993883 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DA69C433DB for ; Thu, 31 Dec 2020 08:22:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2618922262 for ; Thu, 31 Dec 2020 08:22:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2618922262 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Reply-To:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:From:To:Date:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=2EpHFifYzzDS3H+6wVxvTRKqfa+XjDqPu2pyDTKYMKY=; b=cVxROnGPGo5hrSaIz5tqc6DiZK L2Nvq+u6ZjIg25sdGVcKNffFn1LYDotXUU9vXSw3o2t5R9SE1fgDlXYYMHpJ0KGpNcmVo91+mVpVk vG59B3zG543BkAUl5i2Pp41Wj62dLklK+JzZgahD1gZVTHT9EfnFIIWF9I2Ug3tE6+aOVHZbHMUWE PFTeM+4eYGcDxNtyC+qzoW9cJDGsXISw5QuNJVtD+b1hUWdqtgJeV6vHJBMWbEqH4gm+n0zmXQ5sj gWoDgIsIs622thnQIgHOM9xTZggn3DSsSa25d30lY/ZEOqxjFjB+1po4EokeQQulwHWgpDCuuYh/e j9g2OFYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kutCl-0000bU-EX; Thu, 31 Dec 2020 08:21:07 +0000 Received: from mail-40132.protonmail.ch ([185.70.40.132]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kutCh-0000ay-U2 for linux-arm-kernel@lists.infradead.org; Thu, 31 Dec 2020 08:21:06 +0000 Date: Thu, 31 Dec 2020 08:20:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1609402851; bh=YrFVztDXmzCw+3bZqaMYe07ivQizM4fpzGR7KZWK8w4=; h=Date:To:From:Reply-To:Subject:From; b=PEzJuTD+G22McF3c/OOO7m6ISCQN+YEZSSLAVX40tnF0mzVT5BSAg0i7q3Tj6B+Ov klK1OfjBs9Fv6uJzCf6gJBBi8k10FzyilimR2LjogsVGvuQeCGzBKfGaqGzUe84DTJ PKMweuq7Fr/B2AOzJVxdP/C8yP7cs7H3u8hzSZRI= To: "mripard@kernel.org" , "wens@csie.org" , "linux-arm-kernel@lists.infradead.org" From: Yassine Oudjana Subject: [PATCH] arm: dts: sun5i: q8-tablet: Add touchscreen support Message-ID: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201231_032104_188326_9589BBF0 X-CRM114-Status: UNSURE ( 6.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yassine Oudjana Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Yassine Oudjana Date: Wed, 2 Dec 2020 11:33:25 +0400 Add support for the Silead touchscreen found on the Q8 tablet. Signed-off-by: Yassine Oudjana --- arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.30.0 diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts index f9fc1c8b60b8..39fd9ec38300 100644 --- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts @@ -78,3 +78,13 @@ tcon0_out_lcd: endpoint@0 { remote-endpoint = <&panel_input>; }; }; + +&touchscreen { + compatible = "silead,gsl1680"; + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + touchscreen-inverted-y; + touchscreen-swapped-x-y; + silead,max-fingers = <5>; + status = "okay"; +};