From patchwork Wed Sep 26 23:27:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1511091 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 8C73FDF238 for ; Wed, 26 Sep 2012 23:29: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 1TH11Y-0000Tp-Ow; Wed, 26 Sep 2012 23:28:12 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TH11V-0000TJ-Iv for linux-arm-kernel@lists.infradead.org; Wed, 26 Sep 2012 23:28:10 +0000 Received: by yenr1 with SMTP id r1so341370yen.36 for ; Wed, 26 Sep 2012 16:28:08 -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=M6MECfeIAOSAN70No0KSZbtJ5Ro5h5oywTkq6uxKeeI=; b=visnsGXc2MuaKEjK6cf5EetiMLygsSA7XmCjUejDjIM3cdb+96z//XgFwaOW7P3gwk w2A5XRu3gJlnXPoSv9NjBN664IZE8GRt42YeHNpXCi9Nsxd4DnAC3LQ0TXZbkyvSJStZ tb92HX+2Smr3QyX3YP4JaJYd7OUC3OyW7eakNcUujDP4BHGtt2ricGT6too9NZwxLx6p iQQNM+qlDx0cEdDasFdyaUgeZf4NCPSlO4BFEAA7PuLOJRZX7mJW3FPiRfEcM9QRyB/Z 7ll3RE3SNZktqIZWRQRLKDOvOG8JR2mVHZRB6GR8B0CyWP7TZE6sflhFsJtyNNMNvWmM AJow== Received: by 10.236.150.1 with SMTP id y1mr2611105yhj.96.1348702088062; Wed, 26 Sep 2012 16:28:08 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id y13sm5171266anj.5.2012.09.26.16.28.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Sep 2012 16:28:07 -0700 (PDT) From: Fabio Estevam To: kernel@pengutronix.de Subject: [PATCH 1/3] ARM: dts: imx53-qsb: Use pinctrl for gpio-led Date: Wed, 26 Sep 2012 20:27:35 -0300 Message-Id: <1348702057-2351-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.213.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: marex@denx.de, Fabio Estevam , shawn.guo@linaro.org, arnd@arndb.de, 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.2: pins are not configured from the driver Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut --- arch/arm/boot/dts/imx53-qsb.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts index 08948af..5bae4c7 100644 --- a/arch/arm/boot/dts/imx53-qsb.dts +++ b/arch/arm/boot/dts/imx53-qsb.dts @@ -60,10 +60,16 @@ 697 0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */ 701 0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */ 868 0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */ + >; + }; + + led_pin_gpio7_7: led_gpio7_7@0 { + fsl,pins = < 873 0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */ >; }; }; + }; uart1: serial@53fbc000 { @@ -216,6 +222,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pin_gpio7_7>; user { label = "Heartbeat";