From patchwork Thu Feb 7 05:15:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2109411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id E526EDFB7B for ; Thu, 7 Feb 2013 05:27:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U3Jyl-0005nn-Iu; Thu, 07 Feb 2013 05:24:59 +0000 Received: from mail-da0-f46.google.com ([209.85.210.46]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U3Jyi-0005n7-7o for linux-arm-kernel@lists.infradead.org; Thu, 07 Feb 2013 05:24:57 +0000 Received: by mail-da0-f46.google.com with SMTP id p5so990018dak.19 for ; Wed, 06 Feb 2013 21:24:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=6HvvwGfspk/bJvV9Yaf6ETdpcdVWgz4wb2b9+bBm5DU=; b=gsxT+uOMMtmMLZhDCdY8T+83sXNWcMlXfVO434y4zJd7QEhqYOKnFDSeIfc22OMnOU 4bMgJopB9n4CXAJUPFKnnVZyHtDWKFPRAdGug+ETczY0yP+ONnj+3P26SvckBU/smVpD HqZj5QZPpCJKfJj3OYnUP6Q7W2RuovYATU5pETRs7qksMpVpFWtB1skqA3DgBY/HJzjJ lDYG25UWBNOC3VwdD46HBOnA33Q/80TfDsxiQj51Sy/xAm+XtDouZ+x6GSCxfxkeWqI+ /OoDjQdAEU+T+Lj9D970aMs1bkVoo3ZunRMOE3K1AXKtjxnjaJSLiGSjJg32kXWmM92w rItA== X-Received: by 10.66.87.8 with SMTP id t8mr2107053paz.28.1360214694145; Wed, 06 Feb 2013 21:24:54 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id q4sm43047000paz.20.2013.02.06.21.24.51 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 21:24:53 -0800 (PST) From: Tushar Behera To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Subject: [PATCH 1/5] ARM: dts: exynos5250-arndale: Add node entry for gpio-buttons Date: Thu, 7 Feb 2013 10:45:25 +0530 Message-Id: <1360214129-4096-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlX6/2exCpbylU7h//pdyil6Lwxsrp6tVBzYOcKACPO0GKuQn0zKNQMHLEZJsLTRB1wWi8e X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130207_002456_349474_228B6DF7 X-CRM114-Status: GOOD ( 10.43 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.46 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera Signed-off-by: Sachin Kamat --- This series is based on for-next branch of Kukjin Kim's tree and added on top of the below patch: https://patchwork.kernel.org/patch/2042451/ --- arch/arm/boot/dts/exynos5250-arndale.dts | 48 ++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 63572f9..9ce40df 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -119,4 +119,52 @@ spi_2: spi@12d40000 { status = "disabled"; }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + menu { + label = "SW-TACT2"; + gpios = <&gpx1 4 0 0x10000 2>; + linux,code = <139>; + gpio-key,wakeup; + }; + + home { + label = "SW-TACT3"; + gpios = <&gpx1 5 0 0x10000 2>; + linux,code = <102>; + gpio-key,wakeup; + }; + + up { + label = "SW-TACT4"; + gpios = <&gpx1 6 0 0x10000 2>; + linux,code = <103>; + gpio-key,wakeup; + }; + + down { + label = "SW-TACT5"; + gpios = <&gpx1 7 0 0x10000 2>; + linux,code = <108>; + gpio-key,wakeup; + }; + + back { + label = "SW-TACT6"; + gpios = <&gpx2 0 0 0x10000 2>; + linux,code = <158>; + gpio-key,wakeup; + }; + + wakeup { + label = "SW-TACT7"; + gpios = <&gpx2 1 0 0x10000 2>; + linux,code = <143>; + gpio-key,wakeup; + }; + }; };