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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

On 06-06-16 09:05, Chen-Yu Tsai wrote:
On Mon, Jun 6, 2016 at 3:01 PM, Chen-Yu Tsai <wens@xxxxxxxx> wrote:
On Sun, Jun 5, 2016 at 8:23 PM, Hans de Goede <hdegoede@xxxxxxxxxx> 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.

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 <hdegoede@xxxxxxxxxx>

Acked-by: Chen-Yu Tsai <wens@xxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux