From patchwork Fri Jun 24 19:44:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Felice X-Patchwork-Id: 9198091 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 B7E7E6075F for ; Fri, 24 Jun 2016 19:46:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7C1C284D1 for ; Fri, 24 Jun 2016 19:46:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9CE11284D4; Fri, 24 Jun 2016 19:46:45 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E786284D1 for ; Fri, 24 Jun 2016 19:46:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751784AbcFXTqn (ORCPT ); Fri, 24 Jun 2016 15:46:43 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:34729 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbcFXTp1 (ORCPT ); Fri, 24 Jun 2016 15:45:27 -0400 Received: by mail-qk0-f172.google.com with SMTP id t127so158268723qkf.1 for ; Fri, 24 Jun 2016 12:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NSnIFsC6XoUEc/3GcZ9BAHUIf+q6f763yOMRgZxKu0Q=; b=UwtstXXLYPgQQUKZJgoMkbIunUsnenW46g1Esod2Do1E/pfGmz3CTqpGsbQpwu88wn OXq8PCM6ey36NG2WVKX3C4VsmIqp5zZUkPfvpqTKH5E7Hw5ICGLEUR+WYjZzevC3JK8G vr81/jT9+Z4n7Dvekq9sm6Zjajxe8rZB3wkmI1Y8tM0jaDtKyK3vIepj0HuDKNe/MMTu uEuCvi1dh0ipq7Vs/u4+NgLwfJhlnnmkW7u6LkOe9pIFP07dCsjmsAs8+I+NFkB+8RPm E15d/fSq/9BYKRHqs20XSUwKbP9YbeTEPfxG0XXJPFTjfCs31UKfyCeIadxar0yzwM7T jwOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NSnIFsC6XoUEc/3GcZ9BAHUIf+q6f763yOMRgZxKu0Q=; b=feg/quXE4f7VANwZZoc+HD70Wv7Thn/d9HnutFzaF/N0i4jbeKBXSOXxCguQYwamfu EiERILveDWzvcFJkl2pU/pN+KbBbU6Io20XxcBgSBgudD9qcmP2AyJLTOWNiv1sWP4b/ GLDZlsBqeD+0mX1NPDBDUxy84omK0Abyt7YTbYVpOHoOCVhaqoq4Qq9L9wRkAP3NTg4T GTMGdo9YC4ibAVLXAXJ8k7jPMt2y6Q7+6SOv9uEbSain/0M98nrt2CdO+PcVHsPG6Rgn a3GW3/jUwsgEsvCuU5VPUqIaxCHCi4xdx9tSUyoBy6m+GpYXpZSYRuLGflg7VRHGdl/p mb6g== X-Gm-Message-State: ALyK8tJvb1u3Q8T7ZbNgO9JS20eLTCUZRFWj47SF9pfP73F1hhz4SUQxcBF3Ekp33LezXWT2 X-Received: by 10.55.215.146 with SMTP id t18mr119801qkt.193.1466797526874; Fri, 24 Jun 2016 12:45:26 -0700 (PDT) Received: from tony-Gazelle.timesys.com ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id 132sm2683156qkh.41.2016.06.24.12.45.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 12:45:26 -0700 (PDT) From: Anthony Felice To: dri-devel@lists.freedesktop.org, shawnguo@kernel.org, tony.felice@timesys.com Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, kernel@pengutronix.de, stefan@agner.ch, linux@armlinux.org.uk, fabio.estevam@nxp.com, geert@linux-m68k.org, mwelling@ieee.org, sre@kernel.org, damien.riegel@savoirfairelinux.com, maitysanchayan@gmail.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: vf610-twr: Add crtouch node and pinmux Date: Fri, 24 Jun 2016 15:44:45 -0400 Message-Id: <1466797486-31558-4-git-send-email-tony.felice@timesys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1466797486-31558-1-git-send-email-tony.felice@timesys.com> References: <1466797486-31558-1-git-send-email-tony.felice@timesys.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds a node for crtouch, the touchscreen controller of the Vybrid Tower. Pinmux for the gpio irq used by crtouch is also defined in this commit. Signed-off-by: Anthony Felice --- arch/arm/boot/dts/vf610-twr.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index ad1aff9..5d5cecf 100644 --- a/arch/arm/boot/dts/vf610-twr.dts +++ b/arch/arm/boot/dts/vf610-twr.dts @@ -217,6 +217,14 @@ VDDIO-supply = <®_3p3v>; clocks = <&clks VF610_CLK_SAI2>; }; + + touch: crtouch@49 { + compatible = "fsl,crtouch_ts"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_touchscreen>; + reg = <0x49>; + irq-gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>; + }; }; &iomuxc { @@ -365,6 +373,12 @@ >; }; + pinctrl_touchscreen: touchscreengrp { + fsl,pins = < + VF610_PAD_PTA31__GPIO_21 0x219d + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < VF610_PAD_PTB4__UART1_TX 0x21a2