Message ID | 1387195271-3613-2-git-send-email-a.kesavan@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 886A19F32E for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Dec 2013 12:01:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72F0E2031C for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Dec 2013 12:01:21 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 25A58202EA for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 16 Dec 2013 12:01:20 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsWrJ-0001N8-1m; Mon, 16 Dec 2013 12:01:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsWrE-0000pu-FK; Mon, 16 Dec 2013 12:01:08 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VsWrA-0000oW-8w for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2013 12:01:05 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MXW00CP6EP3P490@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 16 Dec 2013 21:00:39 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 2A.A6.06316.76BEEA25; Mon, 16 Dec 2013 21:00:39 +0900 (KST) X-AuditID: cbfee691-b7fe66d0000018ac-81-52aeeb678b57 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 7F.5A.20899.66BEEA25; Mon, 16 Dec 2013 21:00:38 +0900 (KST) Received: from abhilash-ubuntu.sisodomain.com ([107.108.73.92]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MXW00LSREOTM300@mmp2.samsung.com>; Mon, 16 Dec 2013 21:00:38 +0900 (KST) From: Abhilash Kesavan <a.kesavan@samsung.com> To: kgene.kim@samsung.com, tomasz.figa@gmail.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: Add node for GPIO keys on SMDK5420 Date: Mon, 16 Dec 2013 17:31:11 +0530 Message-id: <1387195271-3613-2-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1387195271-3613-1-git-send-email-a.kesavan@samsung.com> References: <1387195271-3613-1-git-send-email-a.kesavan@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsWyRsSkWjf99bogg5dtbBaP1yxmsji77CCb Re+Cq2wWmx5fY7WYcX4fk8Wp65/ZLFbt+sPowO4xu+Eii8fOWXfZPTYvqfe4cqKJ1aNvyypG j8+b5ALYorhsUlJzMstSi/TtErgyru++yFzwlLWi44xBA+NVli5GDg4JAROJ7Re8uhg5gUwx iQv31rN1MXJxCAksZZS4t76VESIBVLOrjRkiMZ1RovveeSinj0li8c9esCo2AT2JBf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hRgkOZiUR3vrjQCHelMTKqtSi /Pii0pzU4kOMyUA3TWSWEk3OB0Z5Xkm8obGJuamxqaWJhYmZJWnCSuK8B1utA4UE0hNLUrNT UwtSi2C2MHFwSjUwenJMWntFQkwwO/n8Mh77SMeby6t/7DZbb/tUzqNdIUPky6Mdtue0BY3/ 7+Y7keAz6Wbon40xKYqv9cQvVze/5LXbNzHgwXNLvcv/3v4S9U7RKb0ffFNtvh5fk+O1rbdP bNI5fPeeguK+4kncykuPpXG1/Dit9Kfy6cRJD1ulXr/9dNRI+FD9OyWW4oxEQy3mouJEAG3p ft/oAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131216_070104_558733_0A7C4A91 X-CRM114-Status: UNSURE ( 8.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.4 (-------) Cc: olof@lixom.net, Abhilash Kesavan <a.kesavan@samsung.com>, dianders@chromium.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index fb5a1e2..015e8b7 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -120,4 +120,15 @@ reg = <0x50>; }; }; + + gpio-keys { + compatible = "gpio-keys"; + + wakeup { + label = "SW7"; + gpios = <&gpx0 0 1>; + linux,code = <143>; /* KEY_WAKEUP */ + gpio-key,wakeup; + }; + }; };
Add support for the suspend/resume button (SW7) on SMDK5420 using gpio-keys driver. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)