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: 3358971 Return-Path: X-Original-To: patchwork-linux-sh@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 280A39F314 for ; Tue, 17 Dec 2013 05:02:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 56D4320157 for ; Tue, 17 Dec 2013 05:02:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35ECB20127 for ; Tue, 17 Dec 2013 05:02:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750901Ab3LQFCY (ORCPT ); Tue, 17 Dec 2013 00:02:24 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:50985 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794Ab3LQFCX (ORCPT ); Tue, 17 Dec 2013 00:02:23 -0500 Received: by mail-pd0-f175.google.com with SMTP id w10so6308926pde.20 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 Cc: wsa@the-dreams.de, linus.walleij@linaro.org, horms@verge.net.au, laurent.pinchart@ideasonboard.com, Magnus Damm , linux-arm-kernel@lists.infradead.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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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>; + }; + }; };