From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: dts: imx53-qsb: Use pinctrl for gpio-led
Date: Thu, 27 Sep 2012 01:59:29 +0200 [thread overview]
Message-ID: <201209270159.29809.marex@denx.de> (raw)
In-Reply-To: <1348702057-2351-1-git-send-email-festevam@gmail.com>
Dear Fabio Estevam,
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> 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 <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
> ---
> 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 at 0 {
> + fsl,pins = <
> 873 0x80000000 /*
MX53_PAD_PATA_DA_1__GPIO7_7 */
>
> >;
>
> };
> };
> +
> };
>
> uart1: serial at 53fbc000 {
> @@ -216,6 +222,8 @@
>
> leds {
> compatible = "gpio-leds";
> + pinctrl-names = "default";
> + pinctrl-0 = <&led_pin_gpio7_7>;
>
> user {
> label = "Heartbeat";
Best regards,
Marek Vasut
next prev parent reply other threads:[~2012-09-26 23:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 23:27 [PATCH 1/3] ARM: dts: imx53-qsb: Use pinctrl for gpio-led Fabio Estevam
2012-09-26 23:27 ` [PATCH 2/3] ARM: dts: imx53-qsb: Make DA9053 regulator functional Fabio Estevam
2012-09-27 0:00 ` Marek Vasut
2012-09-27 0:12 ` Fabio Estevam
2012-09-27 0:29 ` Marek Vasut
2012-09-27 16:18 ` Mark Brown
2012-09-26 23:27 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Add DA9052 regulator support Fabio Estevam
2012-09-27 0:01 ` Marek Vasut
2012-10-08 9:27 ` Sascha Hauer
2012-09-26 23:59 ` Marek Vasut [this message]
2012-10-06 15:35 ` [PATCH 1/3] ARM: dts: imx53-qsb: Use pinctrl for gpio-led Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201209270159.29809.marex@denx.de \
--to=marex@denx.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.