From patchwork Thu Dec 27 22:21:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 1913781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 2A894DF2A2 for ; Thu, 27 Dec 2012 22:24:50 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1ToLpb-0000hs-1C; Thu, 27 Dec 2012 22:21:39 +0000 Received: from mail-bk0-f53.google.com ([209.85.214.53]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1ToLpX-0000hZ-S6 for linux-arm-kernel@lists.infradead.org; Thu, 27 Dec 2012 22:21:36 +0000 Received: by mail-bk0-f53.google.com with SMTP id j5so4412782bkw.40 for ; Thu, 27 Dec 2012 14:21:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=BA8Qr1I75VJhFv1ebUgE/zbRFtmJ2C1Kik3ydE6b0ZU=; b=MSWgBdvSyx2EFtv8l7i3VbgbpCZFjfbuloE2EvkLn8v/wwzOX5FxmrdcTP9y2krIsI ktURUWTgumpUYHn3+XAi0jI0llcj7pZ465Lsf3Gxw7zqhy0h+B8aM0PmcIhY1kTuRCIo Ipx3a9hJOKk2OX/cHBo2NUKLbPGdk3M0UEPAtu2ounxiML0DF/cJbkK4wVpUYW/S/cC+ ReCcFT22Qh7y2W/YwNV9AI1CMLTIQhTDQ+EPC76pRbt48jiJ1Z52+egpAqjIjVdhJdhs svOsHDd8DE0whANRXEtaSf53mWzJ1UyvbifKbZzQlIsIbC04FvpPrpidjwaUMPbal2dj C39g== X-Received: by 10.204.147.132 with SMTP id l4mr15590155bkv.20.1356646891375; Thu, 27 Dec 2012 14:21:31 -0800 (PST) Received: from nijin.lan (dslc-082-083-232-148.pools.arcor-ip.net. [82.83.232.148]) by mx.google.com with ESMTPS id o7sm21650441bkv.13.2012.12.27.14.21.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Dec 2012 14:21:30 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH] ARM: Dove: move CuBox led pinctrl to gpio-leds node Date: Thu, 27 Dec 2012 23:21:10 +0100 Message-Id: <1356646870-2903-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121227_172136_093389_1F0EE6F5 X-CRM114-Status: GOOD ( 10.92 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.53 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Andrew Lunn , Russell King , Jason Cooper , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org gpio-leds has support for pinctrl allocation, make use of it. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian Hesselbarth Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/dove-cubox.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts index cdee96f..bed5b62 100644 --- a/arch/arm/boot/dts/dove-cubox.dts +++ b/arch/arm/boot/dts/dove-cubox.dts @@ -17,6 +17,9 @@ leds { compatible = "gpio-leds"; + pinctrl-0 = <&pmx_gpio_18>; + pinctrl-names = "default"; + power { label = "Power"; gpios = <&gpio0 18 1>; @@ -47,7 +50,7 @@ }; &pinctrl { - pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>; + pinctrl-0 = <&pmx_gpio_12>; pinctrl-names = "default"; pmx_gpio_12: pmx-gpio-12 {