From patchwork Wed Nov 20 04:00:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3207411 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 CB76CC045B for ; Wed, 20 Nov 2013 04:00:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF20A206D7 for ; Wed, 20 Nov 2013 04:00:03 +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 9C27720694 for ; Wed, 20 Nov 2013 04:00:02 +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 1ViyxG-0001z1-QE; Wed, 20 Nov 2013 03:59:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ViyxE-0002Vl-SU; Wed, 20 Nov 2013 03:59:52 +0000 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ViyxC-0002VO-HJ for linux-arm-kernel@lists.infradead.org; Wed, 20 Nov 2013 03:59:51 +0000 Received: by mail-pd0-f175.google.com with SMTP id w10so6841668pde.6 for ; Tue, 19 Nov 2013 19:59:28 -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=9plTa21EaevvxP9mLxrFVyvJ9ovRcNsnveb43t+DyNw=; b=xX6qns76UCXC2g495Cz6PEX+Q8YemXt+Eo850tip+MJMWdUSJ7te+VLBqyAeibXQK7 8v2fB9Z/pdDnWhgDBt2vtxABgyV1GCxFrKiSEP4FX42f/ns04HNSXzPozCIPMMgnUp6o yyiwlSSHNNzel86RqQ8H1GMQXJxPlg3xeVJtMlRzd5QdIINCtBhn5CVI4/WUn8aXMR+o U6/y3MgEXQSUpnRvHY8sffOJVAztNsxt9aXa/o5bFgIuc17cg9NSBkuz2BGRD37NH4gh kdYyVtRk3KTY4GugqeM8Pr+m3jwQ5HmUoyCYCh8tSbZqkEQCGWUOfSXAlW7/G5vmGc6i Y1PQ== X-Received: by 10.66.152.102 with SMTP id ux6mr29277526pab.79.1384919968194; Tue, 19 Nov 2013 19:59:28 -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 er3sm34219806pbb.40.2013.11.19.19.59.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Nov 2013 19:59:27 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 20 Nov 2013 13:00:10 +0900 Message-Id: <20131120040010.30077.40904.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Hook up SW30-SW36 on Koelsch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131119_225950_697270_5FBBC725 X-CRM114-Status: UNSURE ( 7.45 ) 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.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 Add support for Koelsch SW30-SW36 using GPIO keys. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/board-koelsch.c | 7 +++++++ 1 file changed, 7 insertions(+) --- 0016/arch/arm/mach-shmobile/board-koelsch.c +++ work/arch/arm/mach-shmobile/board-koelsch.c 2013-11-20 12:49:32.000000000 +0900 @@ -64,6 +64,13 @@ static struct gpio_keys_button gpio_butt GPIO_KEY(KEY_3, RCAR_GP_PIN(5, 2), "SW2-pin3"), GPIO_KEY(KEY_2, RCAR_GP_PIN(5, 1), "SW2-pin2"), GPIO_KEY(KEY_1, RCAR_GP_PIN(5, 0), "SW2-pin1"), + GPIO_KEY(KEY_G, RCAR_GP_PIN(7, 6), "SW36"), + GPIO_KEY(KEY_F, RCAR_GP_PIN(7, 5), "SW35"), + GPIO_KEY(KEY_E, RCAR_GP_PIN(7, 4), "SW34"), + GPIO_KEY(KEY_D, RCAR_GP_PIN(7, 3), "SW33"), + GPIO_KEY(KEY_C, RCAR_GP_PIN(7, 2), "SW32"), + GPIO_KEY(KEY_B, RCAR_GP_PIN(7, 1), "SW31"), + GPIO_KEY(KEY_A, RCAR_GP_PIN(7, 0), "SW30"), }; static const struct gpio_keys_platform_data koelsch_keys_pdata __initconst = {