From patchwork Mon Apr 14 06:35:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Kumar K X-Patchwork-Id: 3976801 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DFF93BFF02 for ; Mon, 14 Apr 2014 06:36:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E33DD2018E for ; Mon, 14 Apr 2014 06:36:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A88D2201C8 for ; Mon, 14 Apr 2014 06:36:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750768AbaDNGgC (ORCPT ); Mon, 14 Apr 2014 02:36:02 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35833 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbaDNGfd (ORCPT ); Mon, 14 Apr 2014 02:35:33 -0400 Received: by mail-pa0-f47.google.com with SMTP id lj1so7792063pab.6 for ; Sun, 13 Apr 2014 23:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=xTfb0+zTxOg+T0m2PE6PVgW49WiyQwEsBgdM7TLSc9M=; b=vnuti+Rd06pHTFsGre87+gtJhWMFtStpJiMunQru3sbbYacsqtofHCxaSXFSC3r4gA wORz6CjXugH6eETP32lUdbVyZ8G25hznnowRFiCilpD3Wv+Q/DbUvwqf1adgdhgJtgyM doStiRRtG8yxVdPw0DHmQ8pd52iDi2UWiUi6TgT0JIC78Ni/vAlv7euYSo28nmCYYz7k 2K2bzHNq8eMNKnNFWHZ81Gf8HfbdySm9EUkfdnvamTDQIb9UDzSgRMuT1fTczaI0ui77 4XTn25dQSVgoEYQu3WEMLGsW3Yf9nEiTCueZjdJs7RHkzwOfkCIJY9qD1SjdYXTCga9Q LuVg== X-Received: by 10.68.221.42 with SMTP id qb10mr42298280pbc.65.1397457333080; Sun, 13 Apr 2014 23:35:33 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id yv5sm31629738pbb.49.2014.04.13.23.35.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Apr 2014 23:35:32 -0700 (PDT) From: Arun Kumar K To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, arunkk.samsung@gmail.com Subject: [PATCH] ARM: dts: Add atmel trackpad node to 5250 cros Date: Mon, 14 Apr 2014 12:05:25 +0530 Message-Id: <1397457325-5054-1-git-send-email-arun.kk@samsung.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 The newer versions of exynos5250 based Snow boards have atmel trackpad. Updating relevant nodes for the same. Signed-off-by: Arun Kumar K --- arch/arm/boot/dts/exynos5250-cros-common.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi index 2c1560d..658f086 100644 --- a/arch/arm/boot/dts/exynos5250-cros-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-cros-common.dtsi @@ -28,6 +28,13 @@ samsung,pin-pud = <0>; }; + trackpad_irq: trackpad-irq { + samsung,pins = "gpx1-2"; + samsung,pin-function = <0>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + max77686_irq: max77686-irq { samsung,pins = "gpx3-2"; samsung,pin-function = <0>; @@ -191,6 +198,9 @@ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <378000>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_bus &trackpad_irq>; + trackpad { reg = <0x67>; compatible = "cypress,cyapa"; @@ -198,6 +208,20 @@ interrupt-parent = <&gpx1>; wakeup-source; }; + trackpad-alt { + reg = <0x4b>; + compatible = "atmel,atmel_mxt_tp"; + interrupts = <2 0>; + interrupt-parent = <&gpx1>; + wakeup-source; + }; + trackpad-bootloader { + reg = <0x25>; + compatible = "atmel,atmel_mxt_tp"; + interrupts = <2 0>; + interrupt-parent = <&gpx1>; + wakeup-source; + }; }; i2c@12C80000 {