From patchwork Mon May 19 08:49:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 30369 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C1B0202FE for ; Mon, 19 May 2014 08:49:41 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf13225602iec.8 for ; Mon, 19 May 2014 01:49:40 -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:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=/jxUkSuQdwagBzb7GTz5crj3QTwCu2v1jNrN10eh6c4=; b=jsKdRdPW1GGQlFrTPNPyApKGD+DfRFpdd4kIsW4LppRRzA55+0wejcSJNMtwQ6kDXS FXSZObPK3N0ZNGLKb7thbdotI97PyZvCNKoIKeVe7Nc3WtziOY5Wxr7CyIpcDFlimZ/P se9fZ/7cA9uRpkVUu6nNVxUHpYgg/QCoTEAy4S+bVz6a9b4aURJWBZz0rMiARvAndMv1 VdurSxtMa8ISXlHiCCnE+a2wp5H55CO/buvmluzPTcShmVi12uvw69m5mhKMkDiNhi2r SlH9HGcjBWq0119P/Sgod86YIwnOMDuCxuvh7Dd6Z7WgIZP5Nib3ouPJOwjr3hGMker1 iuOQ== X-Gm-Message-State: ALoCoQkZTXH/mbJXkoicq1Rq6NVOBK1HNTKfRUz8Cn4o4ivwcd/R0ZSjpzUwn/pdiLTilr8s7bOJ X-Received: by 10.50.119.164 with SMTP id kv4mr5675108igb.3.1400489380614; Mon, 19 May 2014 01:49:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.49.1 with SMTP id p1ls1602646qga.97.gmail; Mon, 19 May 2014 01:49:40 -0700 (PDT) X-Received: by 10.229.65.138 with SMTP id j10mr47525300qci.10.1400489380408; Mon, 19 May 2014 01:49:40 -0700 (PDT) Received: from mail-qg0-f48.google.com (mail-qg0-f48.google.com [209.85.192.48]) by mx.google.com with ESMTPS id w107si8305439qgw.182.2014.05.19.01.49.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 May 2014 01:49:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.192.48 as permitted sender) client-ip=209.85.192.48; Received: by mail-qg0-f48.google.com with SMTP id i50so8134740qgf.7 for ; Mon, 19 May 2014 01:49:40 -0700 (PDT) X-Received: by 10.224.25.133 with SMTP id z5mr45261895qab.97.1400489380222; Mon, 19 May 2014 01:49:40 -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.96.8.167 with SMTP id s7csp209589qda; Mon, 19 May 2014 01:49:39 -0700 (PDT) X-Received: by 10.68.139.36 with SMTP id qv4mr40957534pbb.82.1400489379437; Mon, 19 May 2014 01:49:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ld16si3829801pab.173.2014.05.19.01.49.38; Mon, 19 May 2014 01:49:38 -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 S1752775AbaESIti (ORCPT + 8 others); Mon, 19 May 2014 04:49:38 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:56851 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752667AbaESIth (ORCPT ); Mon, 19 May 2014 04:49:37 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4J8naQS029656; Mon, 19 May 2014 03:49:36 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4J8namH022514; Mon, 19 May 2014 03:49:36 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 19 May 2014 03:49:35 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4J8nX7n016231; Mon, 19 May 2014 03:49:34 -0500 Message-ID: <5379C59D.40809@ti.com> Date: Mon, 19 May 2014 11:49:33 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: , CC: , , , , , Roger Quadros Subject: [PATCH v2 2/2] ARM: dts: AM437x: Add touchscreen support for GP EVM References: <1398861805-9229-1-git-send-email-rogerq@ti.com> <1398861805-9229-3-git-send-email-rogerq@ti.com> In-Reply-To: <1398861805-9229-3-git-send-email-rogerq@ti.com> 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.192.48 as permitted sender) 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. [Roger Q] - Updated bindings for touchscreen size. 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..64cd344 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>; + + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + }; }; &epwmss0 {