From patchwork Tue Sep 18 10:09:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 11495 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 897E623EFD for ; Tue, 18 Sep 2012 10:12:29 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 09DFA3D09409 for ; Tue, 18 Sep 2012 10:12:28 +0000 (UTC) Received: by ieak11 with SMTP id k11so10624269iea.11 for ; Tue, 18 Sep 2012 03:12:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=JAJTEMGT/ptAFdZtdKt+hfrKfo4sY5TuszIDfo/TeP4=; b=nUjbN7CdqMPChFGwL5jtTys0uD7TsB5gZ+7MzkmLksaKvwRqT86Krdn5ok8wyB2gda EalLy0ebF6yQbs83MQ/b/VCRZPM69fKfepWLMVd0QnOn5a1Ehskj4g6g83QD6MDEnFV9 QI73Dcw29PJpj7NqvL7O19W7oZVMfWO1lBhTmj3qg+JCYVHQf7tDzoZfJIg3nr6buxxB csVI7yned2AzGxfRy5L6LUpu4skoGBfTnP2GdtOM6RX3GDTGOGkm6KfXIwXDhRIGJtmH cW7E16LOV771UVABC5czKX9s45WMlxY3IJqLuZX0tuvLvh3RNSL0YoxSuodqjB6tvKlF AG4g== Received: by 10.50.242.3 with SMTP id wm3mr10066269igc.0.1347963148280; Tue, 18 Sep 2012 03:12:28 -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.50.184.232 with SMTP id ex8csp365364igc; Tue, 18 Sep 2012 03:12:27 -0700 (PDT) Received: by 10.66.74.100 with SMTP id s4mr25481270pav.27.1347963147617; Tue, 18 Sep 2012 03:12:27 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id vn9si19582532pbc.257.2012.09.18.03.12.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Sep 2012 03:12:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pbcmd12 with SMTP id md12so12328925pbc.37 for ; Tue, 18 Sep 2012 03:12:27 -0700 (PDT) Received: by 10.66.90.4 with SMTP id bs4mr25740221pab.3.1347963147262; Tue, 18 Sep 2012 03:12:27 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id it6sm8423748pbc.14.2012.09.18.03.12.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 18 Sep 2012 03:12:26 -0700 (PDT) From: Tushar Behera To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, thomas.abraham@linaro.org, patches@linaro.org Subject: [PATCH] ARM: dts: exynos4210-origen: Enable on-board keys as wakeup source Date: Tue, 18 Sep 2012 15:39:08 +0530 Message-Id: <1347962948-30984-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQnAwBdQ+2ClETtjwFKPb4+RYPrqO1ZkCUckwuG7HrhvFqTWPHLWnBCDl/SxJozkXhmFryB/ On board keys on Origen board can serve as wakeup sources, hence they are marked accordingly in the device tree file. Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos4210-origen.dts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index 0c49caa..e867eb7 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -64,30 +64,35 @@ label = "Up"; gpios = <&gpx2 0 0 0 2>; linux,code = <103>; + gpio-key,wakeup; }; down { label = "Down"; gpios = <&gpx2 1 0 0 2>; linux,code = <108>; + gpio-key,wakeup; }; back { label = "Back"; gpios = <&gpx1 7 0 0 2>; linux,code = <158>; + gpio-key,wakeup; }; home { label = "Home"; gpios = <&gpx1 6 0 0 2>; linux,code = <102>; + gpio-key,wakeup; }; menu { label = "Menu"; gpios = <&gpx1 5 0 0 2>; linux,code = <139>; + gpio-key,wakeup; }; };