From patchwork Tue Dec 17 05:03:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3359011 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 85BB1C0D4A for ; Tue, 17 Dec 2013 05:04:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA5DE20157 for ; Tue, 17 Dec 2013 05:04:28 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAAC820127 for ; Tue, 17 Dec 2013 05:04:27 +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 1VsmoF-0004OW-9Q; Tue, 17 Dec 2013 05:03:08 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vsmnx-0000Ph-0v; Tue, 17 Dec 2013 05:02:49 +0000 Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vsmns-0000Ne-3C for linux-arm-kernel@lists.infradead.org; Tue, 17 Dec 2013 05:02:44 +0000 Received: by mail-pd0-f177.google.com with SMTP id q10so6279986pdj.36 for ; Mon, 16 Dec 2013 21:02:23 -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=/btY2CzgaVvjQIhRRsui1KqYto9frcC8+3owYR+r4so=; b=AvtD/gDmLugC5eLuHX3pB1TJIrcPYSALanA9qeQ6YbpTslVaWDFN4k1olEN1yc6HsC 4G4brw6+IAZfWGE59cxtZ5IMGXJfO8vUNLRhKYLihYLnClRn+8IN2/ugQAUFhjYCoJCZ kMEsXW0L6zU4hOiy7gSVZlwQSFqQf546rCUClJwgipvW3yji4noe6jWjN4lU+PuwwnVR 2o8mHDDrzuu3VlvInB2VZQ3eeIMEqg9cxs50sAiRPFNb6lYc72WeyeyzzxrSIpEUWfCo IoWDU3gF/fu2dXRDLGYjwEm9WBlKJJrzIapZ+bzQ0+3YZwP9zbYRlhheyej40Qtxz7PU ZTQw== X-Received: by 10.68.191.3 with SMTP id gu3mr24772630pbc.142.1387256543210; Mon, 16 Dec 2013 21:02:23 -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 sy10sm41964069pac.15.2013.12.16.21.02.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2013 21:02:22 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Tue, 17 Dec 2013 14:03:14 +0900 Message-Id: <20131217050314.727.29564.sendpatchset@w520> In-Reply-To: <20131217050232.727.9552.sendpatchset@w520> References: <20131217050232.727.9552.sendpatchset@w520> Subject: [PATCH 03/04] ARM: shmobile: Genmai LED1 and LED2 support X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131217_000244_294348_E2041CE6 X-CRM114-Status: UNSURE ( 7.95 ) 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.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 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>; + }; + }; };