From patchwork Wed Nov 27 08:27:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3246951 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 719BCC045B for ; Wed, 27 Nov 2013 08:28:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6211E20585 for ; Wed, 27 Nov 2013 08:28:51 +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 3A1F920583 for ; Wed, 27 Nov 2013 08:28:50 +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 1VlaTZ-0000hA-1H; Wed, 27 Nov 2013 08:28:02 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlaTM-0003bB-Dv; Wed, 27 Nov 2013 08:27:48 +0000 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VlaT7-0003XW-FX for linux-arm-kernel@lists.infradead.org; Wed, 27 Nov 2013 08:27:34 +0000 Received: by mail-pb0-f49.google.com with SMTP id jt11so9878171pbb.22 for ; Wed, 27 Nov 2013 00:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=dXsGluvwEUsxou0IgNbZbYLDCEbbw3+gyhaFecdxlvc=; b=jzk+pOJszs+7fbr1z1FIa2DWVw/fBqMzRinEmsj7GORSTz0hQZol9sGytqSiK+mQWO 5PM4ASVekoAFFhzgLG08ESoVYtA694uUip/J/0EZEGRLmO642fQG2e3pProFuAqvsdSt TKR3utL1LP52Q9aPqerFG81AB9aAVYxH/w8ZyV1kcG+XXkhqlbbRc+uzDrABCmt+/rH6 MATh93nsi9pjdmnGDhDsrp1gbAuxRxx9GN9Dq2gil/ePp70hrfWOwW/qg0WEf99PueG8 86+SNd1nm5eTrcaphVz43grm5kQO9TJT7xmvUl4RsolCHczM+5bZnZ6g0teJdWqjs2Ni VEpA== X-Received: by 10.68.241.167 with SMTP id wj7mr3812875pbc.181.1385540831997; Wed, 27 Nov 2013 00:27:11 -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 pe3sm55352303pbc.23.2013.11.27.00.27.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2013 00:27:10 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Wed, 27 Nov 2013 17:27:55 +0900 Message-Id: <20131127082755.20015.95975.sendpatchset@w520> In-Reply-To: <20131127082736.20015.21303.sendpatchset@w520> References: <20131127082736.20015.21303.sendpatchset@w520> Subject: [PATCH 02/04] ARM: shmobile: Genmai LED1 and LED2 support X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131127_032733_666202_61E289EA X-CRM114-Status: UNSURE ( 7.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: wsa@the-dreams.de, linus.walleij@linaro.org, Magnus Damm , 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 Add support for Genmai board LED1 and LED2 via gpio-leds. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- 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-27 15:49:27.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 = <&port4 10 GPIO_ACTIVE_LOW>; + }; + led2 { + gpios = <&port4 11 GPIO_ACTIVE_LOW>; + }; + }; };