From patchwork Sat Mar 1 13:58:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 3747141 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B35E69F381 for ; Sat, 1 Mar 2014 14:01:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EFA7D2034A for ; Sat, 1 Mar 2014 14:01:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 29BB220304 for ; Sat, 1 Mar 2014 14:01:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753025AbaCAN7g (ORCPT ); Sat, 1 Mar 2014 08:59:36 -0500 Received: from mail-ee0-f54.google.com ([74.125.83.54]:36858 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753010AbaCAN7d (ORCPT ); Sat, 1 Mar 2014 08:59:33 -0500 Received: by mail-ee0-f54.google.com with SMTP id c41so2875934eek.41 for ; Sat, 01 Mar 2014 05:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=yhs6kKAVQylVLV0HJ+cTLNsJfcIe+Ph6drvEWJMNznQ=; b=pR9jYtqHE6JM+E0LbzuHIaeet9Aho75JcISOMd7cRDtWbuaaC8KgPryB9tMxAk8XSW NUN4O04Cs4co4HZ+YYMM+ofc+TYOMSrLGvPLlcGJQIJ7loWQ4rrNKs82rv4kV3sU5BIf Ve6rMljqooELOlKmlpcFZ9ughHzOBrpd4xQgQxoqmxmBUzdoyRgMAcQKR2PQz1/TwNBs T5gEzNH0wsReMPF6DLOBaiFnHUefVBehq/RmmgPEFjpYLNtgAsp15VzeJo7h/76kl3yF LiBQnNCb/Qj8vmxhTBL2Vf45GveyP35MmoQHqwMDnM7jgHn5WKrakh5YsY8wxnKJguRS cEoQ== X-Received: by 10.14.178.193 with SMTP id f41mr67234eem.111.1393682371477; Sat, 01 Mar 2014 05:59:31 -0800 (PST) Received: from localhost.localdomain (ip-85.163.57.151.o2inet.sk. [85.163.57.151]) by mx.google.com with ESMTPSA id o43sm23841733eef.12.2014.03.01.05.59.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Mar 2014 05:59:30 -0800 (PST) From: Marek Belisko To: bcousson@baylibre.com, tony@atomide.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hns@goldelico.com, Marek Belisko Subject: [PATCH v2 3/7] ARM: dts: omap3-gta04: Add touchscreen properties Date: Sat, 1 Mar 2014 14:58:50 +0100 Message-Id: <1393682334-26805-4-git-send-email-marek@goldelico.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393682334-26805-1-git-send-email-marek@goldelico.com> References: <1393682334-26805-1-git-send-email-marek@goldelico.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, KHOP_BIG_TO_CC,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Gta04 using tcs2007 touchscreen. Add support for that. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d9917b8..7f29315 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -130,6 +130,16 @@ compatible = "honeywell,hmc5843"; reg = <0x1e>; }; + + /* touchscreen */ + tsc2007@48 { + compatible = "ti,tsc2007"; + reg = <0x48>; + interrupt-parent = <&gpio6>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; + ti,x-plate-ohms = <600>; + }; }; &i2c3 {