From patchwork Wed Apr 30 12:43:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29423 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4BE4C203F3 for ; Wed, 30 Apr 2014 12:43:54 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id y10sf7244394pdj.4 for ; Wed, 30 Apr 2014 05:43:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=A3rIXcel0Wo1vrIMTk/q6p/oiBk3KQ5xMDTZZuhOfu0=; b=JmpKYw3kkRmp12a28C3AI+BsVFrG0jNY7Xzuag8Q4KVBB1sVNeSE7JvvuFeWke+6PF 2DOtLmhddeJQ9ukiMTopxErTCdJ14lpP2NSFQ6vZ5gbfsmEKIIu+9Nwj4w+J8UX2AU4z TBE27LD+1rlfxWRV9HTNWI2AVgLkGDnnLE7EiKoLlrWoyJ3ncxv3yTChgyKdMV1eFKQL 3Ft9HONKkEz2PQjuPfkk9PQI+c29zuWoCjG8s9jQytC9LWOuiBtst0tJZolwr3orvNVR y3KsXhEW91dwgzJydilXg7OUL4yg2o3Um5V+9KwEIYmPWdfBtOw7NiBJ8NgFeXWfzVze ayEQ== X-Gm-Message-State: ALoCoQm0nxc+ljYuQBWU+Tw+RxTdrO8B2+goy2BdK8TD9xOD02uddbpNiE/vKhXTec/VNISsoSXB X-Received: by 10.67.30.168 with SMTP id kf8mr2169167pad.13.1398861831879; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.81.201 with SMTP id f67ls535719qgd.91.gmail; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) X-Received: by 10.220.225.5 with SMTP id iq5mr110578vcb.42.1398861831742; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id 2si3172302vcb.16.2014.04.30.05.43.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 05:43:51 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jy13so2071115veb.3 for ; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) X-Received: by 10.220.83.4 with SMTP id d4mr112923vcl.39.1398861831664; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp275839vcb; Wed, 30 Apr 2014 05:43:51 -0700 (PDT) X-Received: by 10.66.163.2 with SMTP id ye2mr8356785pab.110.1398861830813; Wed, 30 Apr 2014 05:43:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vw5si16862646pab.333.2014.04.30.05.43.50; Wed, 30 Apr 2014 05:43:50 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933692AbaD3Mnj (ORCPT + 9 others); Wed, 30 Apr 2014 08:43:39 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:52767 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933706AbaD3Mnf (ORCPT ); Wed, 30 Apr 2014 08:43:35 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3UChY8e007063; Wed, 30 Apr 2014 07:43:34 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3UChY8n010619; Wed, 30 Apr 2014 07:43:34 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Wed, 30 Apr 2014 07:43:33 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3UChQBx015972; Wed, 30 Apr 2014 07:43:32 -0500 From: Roger Quadros To: , CC: , , , , Subject: [PATCH 2/2] ARM: dts: AM437x: Add touchscreen support for GP EVM Date: Wed, 30 Apr 2014 15:43:25 +0300 Message-ID: <1398861805-9229-3-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398861805-9229-1-git-send-email-rogerq@ti.com> References: <1398861805-9229-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Sekhar Nori Add touchscreen support for AM437x GP EVM using pixcir touchscreen controller. CC: Benoit Cousson CC: Tony Lindgren Signed-off-by: Sekhar Nori Acked-by: Roger Quadros --- arch/arm/boot/dts/am437x-gp-evm.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index df8798e..bc9889f 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -81,6 +81,12 @@ 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ >; }; + + pixcir_ts_pins: pixcir_ts_pins { + pinctrl-single,pins = < + 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ + >; + }; }; &i2c0 { @@ -93,6 +99,20 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; + + pixcir_ts@5c { + compatible = "pixcir,pixcir_tangoc"; + pinctrl-names = "default"; + pinctrl-0 = <&pixcir_ts_pins>; + reg = <0x5c>; + interrupt-parent = <&gpio3>; + interrupts = <22 0>; + + attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; + + x-size = <1024>; + y-size = <600>; + }; }; &epwmss0 {