From patchwork Wed Nov 20 03:56:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3207391 Return-Path: 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 EAC2A9F499 for ; Wed, 20 Nov 2013 03:56:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 26EA920694 for ; Wed, 20 Nov 2013 03:56:30 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2E3E02064C for ; Wed, 20 Nov 2013 03:56:29 +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 1Viytr-0001LC-V1; Wed, 20 Nov 2013 03:56:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Viytp-0002To-K3; Wed, 20 Nov 2013 03:56:21 +0000 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Viytm-0002TP-6Y for linux-arm-kernel@lists.infradead.org; Wed, 20 Nov 2013 03:56:18 +0000 Received: by mail-pa0-f47.google.com with SMTP id kq14so4746058pab.6 for ; Tue, 19 Nov 2013 19:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=DaNQzM1gYtN0JHKi7274PKuW7RfVbZsOpGlXw8775YE=; b=QLmf9rCO4fzY63KDt4ZiYS372unAsjwXteQZbMxGaGOcYU0naYnM4mfql+0CdpAryh AG4S41RJTzJ6NbnDoLlBCeuh3MgNkfcqS4k+GWZf7dbmCScZyd88T8vnRCmnCxxn7YGS 8G/ofLG2Qc4O6NRuMRIEbZxmlAF/hJ9hKsP1FeBqGa9ZLj7hwkpJIsB9H08dkODQmIpv 5UuSqKvgeoog1Jnh15mDfDnIykDLn2oWV1DTNOSxBj8+DLuUn0JWrwmvhiZ+XWPBmAEi KFttTe7yIrui5jhzrZ6xzkopXXsr4HroxfE3/l4HDdcJeOZc3D00NW5ScmIF9Jm3PQh4 R5Zw== X-Received: by 10.66.163.2 with SMTP id ye2mr654387pab.170.1384919756474; Tue, 19 Nov 2013 19:55:56 -0800 (PST) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id p1sm34228177pbo.12.2013.11.19.19.55.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2013 19:55:55 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 20 Nov 2013 12:56:38 +0900 Message-Id: <20131120035638.30046.96506.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: koelsch: mark GPIO keys as wake-up sources X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131119_225618_331154_FDC11BD1 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -2.0 (--) Cc: horms@verge.net.au, Magnus Damm , linux-arm-kernel@lists.infradead.org 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, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Magnus Damm Enable wakeup for the GPIO keys on the Koelsch board. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/board-koelsch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0015/arch/arm/mach-shmobile/board-koelsch.c +++ work/arch/arm/mach-shmobile/board-koelsch.c 2013-11-20 12:40:24.000000000 +0900 @@ -57,7 +57,7 @@ static const struct gpio_led_platform_da /* GPIO KEY */ #define GPIO_KEY(c, g, d, ...) \ { .code = c, .gpio = g, .desc = d, .active_low = 1, \ - .debounce_interval = 20 } + .wakeup = 1, .debounce_interval = 20 } static struct gpio_keys_button gpio_buttons[] = { GPIO_KEY(KEY_4, RCAR_GP_PIN(5, 3), "SW2-pin4"),