From patchwork Fri Dec 8 21:54:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mylene JOSSERAND X-Patchwork-Id: 10103393 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E76C8602A0 for ; Fri, 8 Dec 2017 21:57:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DACCD28F7C for ; Fri, 8 Dec 2017 21:57:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CF81B28F83; Fri, 8 Dec 2017 21:57:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 70E9028F7C for ; Fri, 8 Dec 2017 21:57:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f6HQUvZUYidOF0/OtGxlrAycCkfVG2eSlbK3x3CHsOY=; b=rnjOHsVkyZmiWS R8FHMg1PL/NvzNGnEe/ZHZIBnZJnxVOlXn9cfjzgA5SMOUqxvwUZ66E1TDoAorhb0or4hbqkdI/69 uRDnmkZgpXTlrmz9AUg9s97KwqAkOJVvkN9nW6d8YO2DpyoZ0RD0wjlSma9foW+PoXd6wGdUsnfpa JzdmkyZ7If5x33DORBNxeJ1iW1mTyv9LZ1Q3k1Dxn4OWV4hN1xLdouqXcjLPjedaXVwd41C8qECLS wsYSkPGVzffj0oiwzXm254nA+hdSSSApOUsgsSfK7y5BU165wXHsH402STicCylY/lT1aXaCwhhhq 5CMHoQVrgDMTeLkH2uZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eNQe8-00055u-NL; Fri, 08 Dec 2017 21:57:28 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eNQcK-0003W6-Jb for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2017 21:55:38 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id A85AA20950; Fri, 8 Dec 2017 22:55:01 +0100 (CET) Received: from dell-desktop.home (vol75-h03-176-137-37-244.dsl.sta.abo.bbox.fr [176.137.37.244]) by mail.free-electrons.com (Postfix) with ESMTPSA id F092720953; Fri, 8 Dec 2017 22:54:50 +0100 (CET) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, dmitry.torokhov@gmail.com, linux-input@vger.kernel.org Subject: [PATCH 5/5] arm: dts: sun8i: a83t: a711: Add touchscreen node Date: Fri, 8 Dec 2017 22:54:19 +0100 Message-Id: <20171208215419.30396-6-mylene.josserand@free-electrons.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171208215419.30396-1-mylene.josserand@free-electrons.com> References: <20171208215419.30396-1-mylene.josserand@free-electrons.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171208_135536_790519_80D05E7F X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, simon.budig@kernelconcepts.de, mylene.josserand@free-electrons.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen. It is connected via I2C0 so add his node in i2c0's node. The reset line is PD5, the interrupt line is PL7 and the power supply is the ldo_io0 regulator. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 84cca1a48cea..738359917a34 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -110,6 +110,17 @@ pinctrl-0 = <&i2c0_pins>; clock-frequency = <400000>; status = "okay"; + + polytouch: edt-ft5x06@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>; + power-supply = <®_ldo_io0>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; }; &mmc0 {