From: dinguyen@opensource.altera.com (Dinh Nguyen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: socfpga: socrates: add gpio-leds
Date: Tue, 2 Jun 2015 14:31:24 -0500 [thread overview]
Message-ID: <556E048C.3040903@opensource.altera.com> (raw)
In-Reply-To: <5568BBCB.8040605@opensource.altera.com>
On 05/29/2015 02:19 PM, Dinh Nguyen wrote:
> On 05/29/2015 09:33 AM, Steffen Trumtrar wrote:
>> The SOCrates has three HPS LEDs that can be turned on/off via gpio.
>> Use the first one has heartbeat and add the other two as free LEDs.
>>
>> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
>> ---
>> arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 23 +++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
>> index a81f33deaa3a..019dd2fea208 100644
>> --- a/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
>> +++ b/arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
>> @@ -30,6 +30,9 @@
>> device_type = "memory";
>> reg = <0x0 0x40000000>; /* 1GB */
>> };
>> +
>> + leds: gpio-leds {
>
> Wonder if you should just place all the led nodes under here instead of
> under the "&leds"?
>
patch applied as is.
Thanks,
Dinh
next prev parent reply other threads:[~2015-06-02 19:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 14:33 [PATCH 1/2] ARM: socfpga: socrates: enable gpio0/1 Steffen Trumtrar
2015-05-29 14:33 ` [PATCH 2/2] ARM: socfpga: socrates: add gpio-leds Steffen Trumtrar
2015-05-29 19:19 ` Dinh Nguyen
2015-06-02 19:31 ` Dinh Nguyen [this message]
2015-05-29 19:24 ` [PATCH 1/2] ARM: socfpga: socrates: enable gpio0/1 Dinh Nguyen
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=556E048C.3040903@opensource.altera.com \
--to=dinguyen@opensource.altera.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).