Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4114499ybg; Tue, 29 Oct 2019 02:19:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwaQX63iifNw4EF0AoflN5q6xdqKQ8NNiDW/hNnw97czgRC+3mVcyydpO6xJrbH1OyJHCC X-Received: by 2002:a50:fa42:: with SMTP id c2mr24603174edq.112.1572340795230; Tue, 29 Oct 2019 02:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572340795; cv=none; d=google.com; s=arc-20160816; b=uKaPT/P4slpBOg4EJ6Wh86emJQuZK1VNocSNMix2qhZVX/Ap9gLVqdw2eLYOb41rzc OBhWmVrEUf9SrucSy2ZHpYOQsxr4j4FHLsCG6Jg4euNRMzbiqrXcjKLkPQ6F/50wgz1+ 0fGCDUWv1bYAJ5LEt3aQ2HkcFM+JRxP7HzeS6v8ydqV1On2x/c0yS2UayfRhhVoDdpCx fhUKiMo9nWmEYfTuAWruae0qnu+C6CmTiTVlPmPQ172lkUN7U6eby+CrDVONX4tonr6p fEJS5ke7S+dTaIR9PcNrZgxW1WEMlW8pwGF6zaA3KDBI+wEHyPxjVDi9/H0WQcLj8g4h iodg== 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 :dkim-signature; bh=+cKzMEk87iCeoUX4hCOwS693G2Bj0YAb4fSwZOeDscc=; b=V+rmCdaUWfYoC5j2nf9276oKPAIiJ0lgE8neuwCvOLPWrV9Wb1vxbCiSOPFNGlhva1 Vpgu3dGR0pwRDhKpD6gyrPKUbuZokw/r1sxYyI1kjco6dez0e+K8T0H4nSAMpPS8warl ZlHqgu4SfaRgh6hdsHpnEXLHfph5KjSyG2pqUgFhHmnlJMj1wN0qpTeYpU0bfGP9VgGD 2gN/O/NdQIvgF8drV9DmR/aD4ZD36RFYGwRujJrDIjVWoaJ5KAO9AIsrAimkgPDVVk8/ szTCLNmH65NwaXBG+SA5v3lvpuDU/cMH/eYkdNgOxx3SRye3P04H31JXSeE+BMFuJ7kr EsDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=txcdpDXc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7si1639804ede.12.2019.10.29.02.19.28; Tue, 29 Oct 2019 02:19:55 -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; dkim=pass header.i=@megous.com header.s=mail header.b=txcdpDXc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727510AbfJ2A6Q (ORCPT + 99 others); Mon, 28 Oct 2019 20:58:16 -0400 Received: from vps.xff.cz ([195.181.215.36]:51658 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727441AbfJ2A6Q (ORCPT ); Mon, 28 Oct 2019 20:58:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1572310693; bh=HlkHtBIrl2Pu/yMqJm7oISnuzbeLkbNyGnJaRkUbXDA=; h=From:To:Cc:Subject:Date:References:From; b=txcdpDXcilixDJQpryeqFSA3pevzH5StDEHTo9UTXPMnP/dL0CHe2pudqWhYQZj80 IP8Cxqot5KkvVCez+SqRfMVZHgLADbC/uFtlc51DvMQ+XmNfu2erqlQsq5GvSWYvW0 hbyaWNp7IS8AmxyaR4wpE0zuLcdVHTABra9GsSTk= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Dmitry Torokhov , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Marco Felsch , Ondrej Jirman , Andy Shevchenko , Greg Kroah-Hartman , =?UTF-8?q?Myl=C3=A8ne=20Josserand?= Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] arm: dts: sun8i: a83t: a711: Add touchscreen node Date: Tue, 29 Oct 2019 01:58:06 +0100 Message-Id: <20191029005806.3577376-4-megous@megous.com> In-Reply-To: <20191029005806.3577376-1-megous@megous.com> References: <20191029005806.3577376-1-megous@megous.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 From: Mylène Josserand Enable a FocalTech EDT-FT5x06 Polytouch touchscreen. Signed-off-by: Ondrej Jirman 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 568b90ece342..19f520252dc5 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -164,6 +164,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>; /* PL7 */ + reset-gpios = <&pio 3 5 GPIO_ACTIVE_LOW>; /* PD5 */ + vcc-supply = <®_ldo_io0>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; +}; + &i2c1 { clock-frequency = <400000>; status = "okay"; -- 2.23.0