Re: [PATCH 1/3] ARM: dts: sun4i: The blue led on the Mele A1000 is a power led

2 messages, 2 authors, 2016-06-08 · open the first message on its own page

Re: [PATCH 1/3] ARM: dts: sun4i: The blue led on the Mele A1000 is a power led

From: Maxime Ripard <hidden>
Date: 2016-06-07 21:24:19

On Sun, Jun 05, 2016 at 02:23:11PM +0200, Hans de Goede wrote:
The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".

Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
I'm not sure I understand the relationship between usr vs pwr led and
the fact that it's disabled.
This renames the led from a1000:blue:usr to a1000:blue:pwr and marks
it as default on, fixing this.
however, the default on might. Is it just a confusing commit log, or
am I overlooking something?

thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160607/a71af183/attachment-0001.sig>

Re: [PATCH 1/3] ARM: dts: sun4i: The blue led on the Mele A1000 is a power led

From: Hans de Goede <hidden>
Date: 2016-06-08 13:23:31

Hi,

On 07-06-16 23:24, Maxime Ripard wrote:
On Sun, Jun 05, 2016 at 02:23:11PM +0200, Hans de Goede wrote:
quoted
The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".

Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
I'm not sure I understand the relationship between usr vs pwr led and
the fact that it's disabled.
There is no relation, other then that pwr leds typically have
default-state = "on"; set whereas usr leds do not.
quoted
This renames the led from a1000:blue:usr to a1000:blue:pwr and marks
it as default on, fixing this.
however, the default on might. Is it just a confusing commit log, or
am I overlooking something?
Just a slightly confusing commit log.

Regards,

Hans
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help