From patchwork Wed Nov 13 22:40:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3179931 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 6222E9F432 for ; Wed, 13 Nov 2013 22:40:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E27020939 for ; Wed, 13 Nov 2013 22:40:20 +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 B4E3720931 for ; Wed, 13 Nov 2013 22:40:19 +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 1Vgj6b-0001F2-Po; Wed, 13 Nov 2013 22:40: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 1Vgj6Z-0007AS-46; Wed, 13 Nov 2013 22:40:11 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vgj6W-00079k-6V for linux-arm-kernel@lists.infradead.org; Wed, 13 Nov 2013 22:40:09 +0000 Received: by mail-pa0-f43.google.com with SMTP id fa1so1117179pad.30 for ; Wed, 13 Nov 2013 14:39:46 -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=26acGASN8WHKUyEhN8mKUR32oCmQzTtVWdKqTybkCuQ=; b=cuPz33dJ/evWpPBl/onB3Jh4Y3y0xIOd55vjowBCK0k4oceVW/wyPrfIr4ZSyfQpWS 1aE8WEO9azrp5+86tuow08TJgz2iXMN28G5j8MUjKP7zQ8vD3DAQO9Q7YXxoBMgrWmUh xBK9vbCaqJIXPJw1YkCJOyqWM9QMJAPlLJAMIyQFMxosmkIFrF+mavkEyi6QJBV1xYDq oEk2MCm29aXlRQkqY6jOtMV50sChoYb2ojsg7mzYQCexx2MNoBmnEYpSWQoVfnxiPSV0 QovwAd9bcEcRCGBsDvg0ZLtOonEwKx1rxIRrFyyYEs/omya0I2WUp6Ol/hY7z0UP4N2I op/Q== X-Received: by 10.68.253.67 with SMTP id zy3mr20838104pbc.137.1384382386455; Wed, 13 Nov 2013 14:39:46 -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 y9sm24746976pas.10.2013.11.13.14.39.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Nov 2013 14:39:45 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 14 Nov 2013 07:40:26 +0900 Message-Id: <20131113224026.20904.35898.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: lager: mark GPIO keys as wake-up sources X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131113_174008_349152_092E560A X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. 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.1 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=ham 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: Shinya Kuribayashi Enable wakeup for the GPIO keys on the Lager board. Signed-off-by: Shinya Kuribayashi Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/board-lager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 0002/arch/arm/mach-shmobile/board-lager.c +++ work/arch/arm/mach-shmobile/board-lager.c 2013-11-13 17:22:08.000000000 +0900 @@ -121,7 +121,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(1, 28), "SW2-pin4"),