From patchwork Tue Apr 2 08:15:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 15803 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 E291F23E00 for ; Tue, 2 Apr 2013 08:27:01 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id 73499A186B6 for ; Tue, 2 Apr 2013 08:27:01 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id jw11so163341veb.8 for ; Tue, 02 Apr 2013 01:27:01 -0700 (PDT) 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 :in-reply-to:references:x-gm-message-state; bh=4+7nOgKm3BwWKLJtCQaAojZ30pgfMDT1w8mfYw48POQ=; b=VrRMzA4Ckk4GdwtaxWOiVdmEoIbGNvaYnoO410PuKXlKO+rm+V4HdUqP5gUC53DaqF 02cbMcVR2+SKThOUTFFV+K+k22O+fX9Wn16auTOrRO2kcgI0GyBqaCBGzSp0UtI4T2LU /RVQcZ41Lzh2oWNx7FpTbSQ/LsDSydRR3FxxJSCQ2dkEGoiH9ZhyFLmycbGzXvd8Bk0G 0IEkAvCq6gfBLNg/DqFWERG3frLY+Oc0Jx+VvvSVTkG0ReadBVQ5eDNcpaOXkXN7hl/d ZXnYApmJL/Tk3gIOoljogQR++mbiVna1jjvhKxN1P0X6G6IlL/pUiPsLscmxQx8Nnqcw ZvSQ== X-Received: by 10.58.29.101 with SMTP id j5mr11870436veh.26.1364891220812; Tue, 02 Apr 2013 01:27:00 -0700 (PDT) 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.59.4.204 with SMTP id cg12csp114975ved; Tue, 2 Apr 2013 01:27:00 -0700 (PDT) X-Received: by 10.66.251.231 with SMTP id zn7mr23553384pac.71.1364891219910; Tue, 02 Apr 2013 01:26:59 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id lm2si1183074pab.238.2013.04.02.01.26.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 01:26:59 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.174; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.192.174 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-pd0-f174.google.com with SMTP id p12so112228pdj.33 for ; Tue, 02 Apr 2013 01:26:59 -0700 (PDT) X-Received: by 10.68.143.167 with SMTP id sf7mr22823818pbb.21.1364891219463; Tue, 02 Apr 2013 01:26:59 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id qh4sm1448781pac.8.2013.04.02.01.26.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 01:26:57 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH V3 3/7] ARM: dts: Add gpio-button entries for Arndale board Date: Tue, 2 Apr 2013 13:45:03 +0530 Message-Id: <1364890507-19261-4-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364890507-19261-1-git-send-email-tushar.behera@linaro.org> References: <1364890507-19261-1-git-send-email-tushar.behera@linaro.org> X-Gm-Message-State: ALoCoQljsu6M3Awjw2z65eyGs1CG7PcGp7ob06S0qSArZaXfMXgriRvRY8JOwBUBXK0sc2OuhOEO Added GPIO buttons DT node to Arndale board file. Signed-off-by: Tushar Behera Signed-off-by: Sachin Kamat --- Changes for V3: * Removed redundant #address-cells and #size-cells * Pin-control related modifications. arch/arm/boot/dts/exynos5250-arndale.dts | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index d07a21f..03c9ad5 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -122,4 +122,50 @@ clock-frequency = <24000000>; }; }; + + gpio_keys { + compatible = "gpio-keys"; + + menu { + label = "SW-TACT2"; + gpios = <&gpx1 4 1>; + linux,code = <139>; + gpio-key,wakeup; + }; + + home { + label = "SW-TACT3"; + gpios = <&gpx1 5 1>; + linux,code = <102>; + gpio-key,wakeup; + }; + + up { + label = "SW-TACT4"; + gpios = <&gpx1 6 1>; + linux,code = <103>; + gpio-key,wakeup; + }; + + down { + label = "SW-TACT5"; + gpios = <&gpx1 7 1>; + linux,code = <108>; + gpio-key,wakeup; + }; + + back { + label = "SW-TACT6"; + gpios = <&gpx2 0 1>; + linux,code = <158>; + gpio-key,wakeup; + }; + + wakeup { + label = "SW-TACT7"; + gpios = <&gpx2 1 1>; + linux,code = <143>; + gpio-key,wakeup; + }; + }; };