From patchwork Sun Sep 23 18:01:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1495671 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 7DCC8400EC for ; Sun, 23 Sep 2012 18:03:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TFqUn-0005NS-IP; Sun, 23 Sep 2012 18:01:33 +0000 Received: from mail-gg0-f177.google.com ([209.85.161.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TFqUi-0005N5-Sh for linux-arm-kernel@lists.infradead.org; Sun, 23 Sep 2012 18:01:30 +0000 Received: by ggnm2 with SMTP id m2so1428872ggn.36 for ; Sun, 23 Sep 2012 11:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=h87s1DeVa0HqgHc+0TqYMCbr6UD0VwTv4VVEmliFz54=; b=Xb2Sb7/FJLld+bnHxDxMVlwLo8qoU9uFt36l2KPMpGDuy2hG4RzrR7aUHYhjtoy/qb MfRZvhZ7QqPyyEFDRaO9cQBMq1qbuF7yY6jRRTauGGeiL7+trrcpDjGppm5dvp6C0+oA Aq/ITG1mNhikIzTrfnPmMVjNrNw8jJ3QU+R3NCUBCu6gyxWW+WHf9u9wrLawmM/mlgLX MXjrZ0xhk+W9IIVY6f3t9Xhb/sv35xSuGlekpE76a/q5ri3pId19nbdkIfNlBqvT/44M RlihNKIcKJCfaoqoZriVQSSBrm3NmE/PLRsTRuwMYw1I3iYz62DpWMj/GneM/Ln09rJD VQSA== Received: by 10.236.190.35 with SMTP id d23mr9881245yhn.104.1348423285457; Sun, 23 Sep 2012 11:01:25 -0700 (PDT) Received: from localhost.localdomain ([189.101.140.114]) by mx.google.com with ESMTPS id o11sm14356179anp.4.2012.09.23.11.01.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Sep 2012 11:01:25 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: dts: imx28-evk: Use pinctrl for gpio-led Date: Sun, 23 Sep 2012 15:01:17 -0300 Message-Id: <1348423277-10740-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed 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 (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.161.177 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: Fabio Estevam , linux-arm-kernel@lists.infradead.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 From: Fabio Estevam Since commit 8fe4554f (leds: leds-gpio: adopt pinctrl support) gpio-led driver has pinctrl support, so setup the gpio led pin via pinctrl and avoid the following warning: leds-gpio leds.12: pins are not configured from the driver Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx28-evk.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index a0ad71c..8dc5b2b 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -76,7 +76,6 @@ 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */ 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ - 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ 0x3083 /* MX28_PAD_AUART2_RX__GPIO_3_8 */ 0x3093 /* MX28_PAD_AUART2_TX__GPIO_3_9 */ >; @@ -85,6 +84,16 @@ fsl,pull-up = <0>; }; + led_pin_gpio3_5: led@0 { + reg = <0>; + fsl,pinmux-ids = < + 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + gpmi_pins_evk: gpmi-nand-evk@0 { reg = <0>; fsl,pinmux-ids = < @@ -291,6 +300,7 @@ user { label = "Heartbeat"; + pinctrl-0 = <&led_pin_gpio3_5>; gpios = <&gpio3 5 0>; linux,default-trigger = "heartbeat"; };