From patchwork Wed Nov 13 23:42:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3180371 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 197FAC045B for ; Wed, 13 Nov 2013 23:42:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 558CD20954 for ; Wed, 13 Nov 2013 23:42:27 +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 78A7020108 for ; Wed, 13 Nov 2013 23:42:26 +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 1Vgk4g-0005U1-Ob; Wed, 13 Nov 2013 23:42:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vgk4e-0008PW-Dh; Wed, 13 Nov 2013 23:42:16 +0000 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vgk4a-0008Ox-Na for linux-arm-kernel@lists.infradead.org; Wed, 13 Nov 2013 23:42:13 +0000 Received: by mail-pa0-f48.google.com with SMTP id bj1so1155074pad.35 for ; Wed, 13 Nov 2013 15:41:50 -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=M+4MEh71B8v8WMROs/mUr+auuIKgYzhT64h33ZkPTmo=; b=jbFB1C8JeAESwVr5xu6nydPJAdNBMq8zLRk+QYN9Q9zRbueexpTf3fLSxqbhzDKzE8 zJWU6CzeHXSGBAiG7NAMHZa66siwlP119ucN/d11WT2d5StBXV/7EvjxDqYipH6U2DHc MDjnAHKVUv14KW2Jf4KuWykjBmykPJ159A/T0Sp3qas3N4GnsHJOFwha4FuDpBpHw3hU Zu14NdnpIC8uB3FeUa26jBOIdZQRmEk2xzPNaoEyOGW0Yozqg8KC/9k+mwT3A3qtyOiA WVU5YILhIfU8P8GeTCQCs+7pysy9FlHSADEJuMv7Mwz1rh42Ut5UtTJWTREylfNTBZRy oluA== X-Received: by 10.66.163.2 with SMTP id ye2mr11460682pab.170.1384386110545; Wed, 13 Nov 2013 15:41:50 -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 ye1sm54612956pab.19.2013.11.13.15.41.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Nov 2013 15:41:49 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 14 Nov 2013 08:42:30 +0900 Message-Id: <20131113234230.1579.9739.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131113_184212_855946_29F15702 X-CRM114-Status: UNSURE ( 7.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: linus.walleij@linaro.org, Magnus Damm , grant.likely@secretlab.ca, horms@verge.net.au, laurent.pinchart@ideasonboard.com, 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: Magnus Damm Enable led1 and led2 on the Genmai board using the r7s72100 SoC and the GPIO RZ driver. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r7s72100-genmai-reference.dts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) --- 0001/arch/arm/boot/dts/r7s72100-genmai-reference.dts +++ work/arch/arm/boot/dts/r7s72100-genmai-reference.dts 2013-11-13 22:39:40.000000000 +0900 @@ -9,7 +9,8 @@ */ /dts-v1/; -/include/ "r7s72100.dtsi" +#include "r7s72100.dtsi" +#include / { model = "Genmai"; @@ -28,4 +29,14 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + compatible = "gpio-leds"; + led1 { + gpios = <&p4 10 GPIO_ACTIVE_LOW>; + }; + led2 { + gpios = <&p4 11 GPIO_ACTIVE_LOW>; + }; + }; };