Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp834338imm; Wed, 18 Jul 2018 11:28:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcws7Ovi/LuI74CS7l+eA8c6FxVb5oLeWuU8pvqdZjomw0QPzsnWOaFW1WqY7mJuARAAtCI X-Received: by 2002:a17:902:ab94:: with SMTP id f20-v6mr6878530plr.231.1531938510422; Wed, 18 Jul 2018 11:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531938510; cv=none; d=google.com; s=arc-20160816; b=l6cLTs17Z+PjH+O2T8zdqlsOImC+vT/+vhAw2rJyHyu/KbF028UpEJg7FGp7KT3Svf /vBtRMGFXznV6dxNiqsSSRG5RWmfDEC6PHeAxmacj5XuvVxhGG80/Jf132UNsgIDcMiu gxGmj7Mzr4AK39ukW86tsc/c/B17vm7ZDtGpJNqo5gE/y8EdUeitftBKHD/kHN85qYS5 7YUBNVTV6tWIbP4aix9/sntgTOwY2dYG+oraWZS+JGAcK+0YRkRSRK4zFcY5iYFbhCAf Xny9mxsNJ7Azev9K+SWJNgNMyimV+j0QBy3XDFFCsFXTosHt9PoN8LcHaUoVdKuFhpnl H5wg== 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=MfWihXO/JOr+kSU4yuonCzjWuTIpMmkzxvmlYp2WtYlCrStOk0rw4vUBWdae4FJgKW m68FfOs9Cc0VOw7GmMZfOiKLXnRWc4G4wJs95uaSVA15PwRJ2KEOqFGyfulLOTSTLKIt RkJHnMqeVd7XX5+znk2A747RHFWfD7Qe5jD6MyzXzRREikD/b4IvNmyVy9xRH284nJbo Igo0+Mf9eNw3ZCBV2+rlvNvfBmTNrIXLctVNEX/y2XaDivPeRuE3gr0djqOhawkpSj+l bEq9wP69L9jPuPMqUPU/7irzFbQX0aE5x+QZa6VUN5FOr+T4GlO7mQkmUMlo9ao50vRR pPng== 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 f8-v6si3654750pgf.166.2018.07.18.11.28.15; Wed, 18 Jul 2018 11:28:30 -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 S1730054AbeGRTGs (ORCPT + 99 others); Wed, 18 Jul 2018 15:06:48 -0400 Received: from mail.bootlin.com ([62.4.15.54]:36608 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729324AbeGRTGs (ORCPT ); Wed, 18 Jul 2018 15:06:48 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id E91C5207A8; Wed, 18 Jul 2018 20:27:38 +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 (176-137-37-244.abo.bbox.fr [176.137.37.244]) by mail.bootlin.com (Postfix) with ESMTPSA id 48277206A6; Wed, 18 Jul 2018 20:27:38 +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, mylene.josserand@bootlin.com, thomas.petazzoni@bootlin.com Subject: [PATCH v3 3/3] arm: dts: sun8i: a83t: a711: Add touchscreen node Date: Wed, 18 Jul 2018 20:27:19 +0200 Message-Id: <20180718182719.29663-4-mylene.josserand@bootlin.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180718182719.29663-1-mylene.josserand@bootlin.com> References: <20180718182719.29663-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