Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp498532imm; Wed, 25 Jul 2018 00:37:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeyOWi4/smRvDAJ4kt2QBIOo9Fdy90ILHk65Y/rPWS7AHLylX3bfdpgVbF08yFYrWmonWNC X-Received: by 2002:a62:9bc5:: with SMTP id e66-v6mr20815270pfk.84.1532504257097; Wed, 25 Jul 2018 00:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532504257; cv=none; d=google.com; s=arc-20160816; b=dFmiwGnEcB064HE9HSx19sAEV3FBZ8pVLYsbAE6IsZ+gs6QLAKiK1xeKkNoNzA1PCe aTSGMGc+T1Sgi/9r9E2qLvNinbbqcfAGrRzAp36okP0T6rXb7k2ZeIGZGkAITZeKKUti fjQ47KoG+sXkvW1ZqR03RVT/k5GDs8c56DGg9fO/AzRC3NCPrBtkBDrEfWwMlSkRVbau sJPEIV7h4RGCV5fi2dcsf7gYKn6S1QkPpW1Sdz6eTq3lrYrbosU2XjmjyyVJA9q7m/k5 vgdog75pEBGRu6nkNwZK/qyM0PZ9WajmNNABHtNpijhPTAiKdtFwBCVol4QU6itO/BmD Kv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=1mua2I9/0o2+MbmGpSYiUVUkgAtU1roTqru/ccJDt9s=; b=fB2gd2+JNd3w3yASAQur9DvA6KjjIfmZysZq+hrcUYuq1wOf7Gyy1Gqfh2dbh2UsRN BRTKD7iP0IC4wscvREvn7zXjbci9xZNuT+7RKSqBZmc0+DYynlT4zdFBt0HHdljfb9F/ q7zlaAiwRigSL+krdYf1B1HiCMIH51VNjri5GEyMwCkTGKgZ7Vhxe3GGCFMtxQRldLCm 9Ri6OZJFbt48WgYATo51G2eVVHdr5OHe8hfk2k/crJu5Jrl4Y5+QvdObe6XnrpKvTB8I wK9Qzr/gxk/8lmnoP00rfQpPBcnD7beksFmi3e3uyb7Qz8yWr9qkycapqH1nsdGLjQNL /IMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2-v6si14058422pgm.288.2018.07.25.00.37.22; Wed, 25 Jul 2018 00:37:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728629AbeGYIqz (ORCPT + 99 others); Wed, 25 Jul 2018 04:46:55 -0400 Received: from mail.bootlin.com ([62.4.15.54]:54125 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728559AbeGYIqy (ORCPT ); Wed, 25 Jul 2018 04:46:54 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id B9B3720876; Wed, 25 Jul 2018 09:36:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (AAubervilliers-681-1-78-122.w90-88.abo.wanadoo.fr [90.88.20.122]) by mail.bootlin.com (Postfix) with ESMTPSA id 6DC2F20798; Wed, 25 Jul 2018 09:36:27 +0200 (CEST) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@bootlin.com, mylene.josserand@bootlin.com Subject: [PATCH v4 3/3] arm: dts: sun8i: a83t: a711: Add touchscreen node Date: Wed, 25 Jul 2018 09:34:10 +0200 Message-Id: <20180725073410.730-4-mylene.josserand@bootlin.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180725073410.730-1-mylene.josserand@bootlin.com> References: <20180725073410.730-1-mylene.josserand@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen. It is connected via I2C0. The reset line is PD5, the interrupt line is PL7 and the VCC supply is the ldo_io0 regulator. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 1537ce148cc1..dc7b94a6c068 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -156,6 +156,22 @@ status = "okay"; }; +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + touchscreen@38 { + compatible = "edt,edt-ft5x06"; + reg = <0x38>; + interrupt-parent = <&r_pio>; + interrupts = <0 7 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&pio 3 5 GPIO_ACTIVE_LOW>; + vcc-supply = <®_ldo_io0>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +}; + &mmc0 { vmmc-supply = <®_dcdc1>; pinctrl-names = "default"; -- 2.11.0