From patchwork Thu Mar 27 06:13:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas Sajjan X-Patchwork-Id: 3896481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6CD70BF540 for ; Thu, 27 Mar 2014 06:15:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99C9B20256 for ; Thu, 27 Mar 2014 06:15:00 +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 A5EE72021C for ; Thu, 27 Mar 2014 06:14:59 +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 1WT3Zr-0002SJ-0H; Thu, 27 Mar 2014 06:14:11 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT3Zd-0004lg-B4; Thu, 27 Mar 2014 06:13:57 +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 1WT3ZE-0004jb-PA for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 06:13:33 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N32001JVZXVJ970@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 15:13:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C9.6B.10092.371C3335; Thu, 27 Mar 2014 15:13:07 +0900 (KST) X-AuditID: cbfee68f-b7f156d00000276c-86-5333c1734f60 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id EA.BF.28157.371C3335; Thu, 27 Mar 2014 15:13:07 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N32007KQZXL1531@mmp1.samsung.com>; Thu, 27 Mar 2014 15:13:06 +0900 (KST) From: Vikas Sajjan To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH V2 3/3] ARM: dts: Add node for GPIO keys on SMDK5420 Date: Thu, 27 Mar 2014 11:43:05 +0530 Message-id: <1395900785-11334-4-git-send-email-vikas.sajjan@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1395900785-11334-1-git-send-email-vikas.sajjan@samsung.com> References: <1395900785-11334-1-git-send-email-vikas.sajjan@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMLMWRmVeSWpSXmKPExsWyRsSkWrf4oHGwwdfXUhaP1yxmsvi+6wu7 Re+Cq2wWmx5fY7WYcX4fk8WTwx9ZLVbt+sNocfPZdiYHDo+ds+6ye2xeUu/Rt2UVo8fnTXIB LFFcNimpOZllqUX6dglcGRN7VzIXvGWr+HVtKlsD40nWLkZODgkBE4lFj1ZA2WISF+6tZ+ti 5OIQEljKKPH80Cs2mKI/Oy6wQCQWMUpc7WhkhnAmMEm0f+0Hq2IT0JVYceo5kM3BISLgLbH8 miJIDbPAJkaJCZ+mM4LUCAu4SEy+PgOsnkVAVeLjv3ksIPW8Ah4Sjz8LgJgSAgoScybZgFRw CnhKTN0Gcig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zBYmDk6pBsbS6PN++i8vnK+zWruXP6+i0ZrpjbnLvx36k3hjnxz1+ZbQ1viZWeFEizzj N4av31OeuRjz+umGVi/ZkGsTzSDHOLdyd7HkrcL7f5l/LbFQWDknZa/bmkA3xhfKFomiK88u 3Ox4f0OwvXSIy2NVtWXHfqcH6U8Qm558dLVukKv0gqURX44d/q7EUpyRaKjFXFScCADrc3RR 4wIAAA== 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-20140327_021333_091259_F29FC4BA X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.3 (-------) Cc: sajjan.linux@gmail.com, kgene.kim@samsung.com, tomasz.figa@gmail.com, joshi@samsung.com, Vikas Sajjan , Abhilash Kesavan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 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 From: Abhilash Kesavan Add support for the suspend/resume button (SW7) on SMDK5420 using gpio-keys driver. Signed-off-by: Abhilash Kesavan Signed-off-by: Vikas Sajjan --- arch/arm/boot/dts/exynos5420-smdk5420.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index 6910485..5ae0dd4 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -158,6 +158,17 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + + wakeup { + label = "SW7"; + gpios = <&gpx0 0 1>; + linux,code = <143>; /* KEY_WAKEUP */ + gpio-key,wakeup; + }; + }; + hsi2c_4: i2c@12CA0000 { status = "okay";