Thread (1 message) 1 message, 1 author, 2016-06-06

[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-06 07:24:05
Also in: linux-devicetree

Hi,

On 06-06-16 09:05, Chen-Yu Tsai wrote:
On Mon, Jun 6, 2016 at 3:01 PM, Chen-Yu Tsai [off-list ref] wrote:
quoted
On Sun, Jun 5, 2016 at 8:23 PM, Hans de Goede [off-list ref] 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.

This renames the led from a1000:blue:usr to a1000:blue:pwr and marks
it as default on, fixing this.

Signed-off-by: Hans de Goede <redacted>
Acked-by: Chen-Yu Tsai <redacted>
BTW, the kernel now supports using an LED as a panic indicator.
Would it be useful to use the power LED for this?
Maybe I'm not 100% sure either way.

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