From: Shawn Guo <shawn.guo@linaro.org>
To: "Vincent Stehlé" <vincent.stehle@freescale.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Russell King <linux@arm.linux.org.uk>,
Sascha Hauer <kernel@pengutronix.de>
Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd.dtsi: Add heartbeat led
Date: Wed, 5 Mar 2014 14:22:19 +0800 [thread overview]
Message-ID: <20140305062216.GI8784@S2101-09.ap.freescale.net> (raw)
In-Reply-To: <1393943685-32579-1-git-send-email-vincent.stehle@freescale.com>
On Tue, Mar 04, 2014 at 03:34:45PM +0100, Vincent Stehlé wrote:
> Use the red gpio led for heartbeat.
Some people think it's annoying to have a LED blinking all the time.
Since it's a user defined LED, let's leave it to users for their
particular use case.
Shawn
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Cc: Sascha Hauer <kernel@pengutronix.de>
> ---
>
> Hi,
>
> This has been tested on Sabre SD i.MX6 Quad board, with linux v3.14-rc5+ and
> imx_v6_v7_defconfig.
>
> As a side note, checkpatch.pl complains about gpio-leds being undocumented, but
> I am not sure what to do about that.
>
> Best regards,
>
> V.
>
> arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> index e75e11b..cf4d736 100644
> --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
> @@ -88,6 +88,16 @@
> default-brightness-level = <7>;
> status = "okay";
> };
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + heartbeat-led {
> + label = "Heartbeat";
> + gpios = <&gpio1 2 0>;
> + linux,default-trigger = "heartbeat";
> + };
> + };
> };
>
> &audmux {
> @@ -182,6 +192,7 @@
> MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000
> MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000
> MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x80000000
> + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x80000000
> >;
> };
> };
> --
> 1.9.0
>
>
next parent reply other threads:[~2014-03-05 6:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1393943685-32579-1-git-send-email-vincent.stehle@freescale.com>
2014-03-05 6:22 ` Shawn Guo [this message]
[not found] ` <1394007383-21874-1-git-send-email-vincent.stehle@freescale.com>
2014-03-05 11:42 ` [PATCH v2] ARM: dts: imx6qdl-sabresd.dtsi: Add red led Shawn Guo
2014-03-05 19:39 ` Russell King - ARM Linux
2014-03-06 2:05 ` Shawn Guo
2014-03-06 10:13 ` Sascha Hauer
[not found] ` <1394045919-1375-1-git-send-email-vincent.stehle@freescale.com>
2014-03-06 2:39 ` [PATCH v3] " 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=20140305062216.GI8784@S2101-09.ap.freescale.net \
--to=shawn.guo@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=vincent.stehle@freescale.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®