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: 14650 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 675A623F99 for ; Thu, 7 Feb 2013 05:24:57 +0000 (UTC) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by fiordland.canonical.com (Postfix) with ESMTP id 0F3D7A184B5 for ; Thu, 7 Feb 2013 05:24:56 +0000 (UTC) Received: by mail-vb0-f48.google.com with SMTP id fc21so1340727vbb.7 for ; Wed, 06 Feb 2013 21:24:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=6HvvwGfspk/bJvV9Yaf6ETdpcdVWgz4wb2b9+bBm5DU=; b=HJ3qKZWDklFcq7jhzdBe2BJarvlYBYh9AWE+Eq0wt7ux4LaE9Ine7YvJ1HSeMGw6nL +wSmmGm8tcfcHlnfnacLsC2oHOMKEnoNCfytMZtHQlg8WmFN7ubcNG9fpQh7KidUuPiN d7mm86ElWsvKEKJBHuRAjEM89aOTQv1kHve6c/2U4K4LOQ6HfB4FSOVrZOrHffZJr6Bs USq7KmfbxaGttAXXXpUbnUbUfP+3+JHtt/In4iQVR3GDYFyjh2zrdQHUcJWqoMUOMYCS p9jl3KHhkO1iQzeX3UrQ5JEJoqkfIAgrji95ML8G1/7Hbgw36Ou6/Wxn4JlU7kVkV0tb BcPA== X-Received: by 10.58.232.226 with SMTP id tr2mr32621282vec.48.1360214696537; Wed, 06 Feb 2013 21:24:56 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp70396vec; Wed, 6 Feb 2013 21:24:55 -0800 (PST) X-Received: by 10.50.188.166 with SMTP id gb6mr11360887igc.93.1360214695668; Wed, 06 Feb 2013 21:24:55 -0800 (PST) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx.google.com with ESMTPS id d8si27345008paw.129.2013.02.06.21.24.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 21:24:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.220.46; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.46 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pa0-f46.google.com with SMTP id kp14so1186042pab.5 for ; Wed, 06 Feb 2013 21:24:54 -0800 (PST) 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 Cc: kgene.kim@samsung.com, patches@linaro.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: ALoCoQnR1wH9qtpq8YIbIVS1Lp3J2wUDFBedJpFJR+SXle5atR9DP8nVLOV4qC4YVAC90YYNwaM2 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; + }; + }; };