From patchwork Tue Sep 25 02:52:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1501781 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 AC4CE3FE80 for ; Tue, 25 Sep 2012 02:54:38 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TGLGJ-0004HT-QX; Tue, 25 Sep 2012 02:52:39 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TGLGF-0004H4-UK for linux-arm-kernel@lists.infradead.org; Tue, 25 Sep 2012 02:52:36 +0000 Received: by ghbf20 with SMTP id f20so1866699ghb.36 for ; Mon, 24 Sep 2012 19:52:34 -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:in-reply-to:references; bh=+w8fPbFLZ0YcYZA1PGtVEPVPqLMuzHaNu2mh3s5jRY4=; b=j4zSjyESGFz6LB6+meCov8n0Wo9KN/cZiD6VA1pT18U2zVrYcgtfe22OYG1Nvtbth3 JgtQmntUpGow3Tv+gSK3jUqTVeBWnhUB3JvQEG0Vt7/Qxy7wmOhIWM6UZDz5j4n8DWa9 xEEwP3NxfmPEMGm2axGdK0sJGP+K8k54CuBl1CAECfuaA3rv/wlxWjF+/9ir6Vw0r0W5 cWtR+Jkkcc/6+KpGeQTv7Zik4qllBojTl3fH83oUVrly8UR7zFgI11O58qMEgmVPR5sb CFu4ta+klaoBwsAu0PF9thDTx0etM8lwnCOlbA5YWV86IU/RMOit2YzNRTXRAqbok2IV LyCw== Received: by 10.236.143.4 with SMTP id k4mr14560780yhj.111.1348541554227; Mon, 24 Sep 2012 19:52:34 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id y13sm18468544anj.5.2012.09.24.19.52.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Sep 2012 19:52:33 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH 2/2] ARM: dts: imx23-olinuxino: Use pinctrl for gpio-led Date: Mon, 24 Sep 2012 23:52:20 -0300 Message-Id: <1348541540-15641-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348541540-15641-1-git-send-email-festevam@gmail.com> References: <1348541540-15641-1-git-send-email-festevam@gmail.com> 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.160.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.5: pins are not configured from the driver Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx23-olinuxino.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts index 35489a1..8bd56fc 100644 --- a/arch/arm/boot/dts/imx23-olinuxino.dts +++ b/arch/arm/boot/dts/imx23-olinuxino.dts @@ -40,6 +40,15 @@ reg = <0>; fsl,pinmux-ids = < 0x2013 /* MX23_PAD_SSP1_DETECT__GPIO_2_1 */ + >; + fsl,drive-strength = <0>; + fsl,voltage = <1>; + fsl,pull-up = <0>; + }; + + led_pin_gpio0_17: led_gpio0_17@0 { + reg = <0>; + fsl,pinmux-ids = < 0x0113 /* MX23_PAD_GPMI_ALE__GPIO_0_17 */ >; fsl,drive-strength = <0>; @@ -91,6 +100,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pin_gpio0_17>; user { label = "green";