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

Hans de Goede hdegoede at redhat.com
Mon Jun 6 00:24:05 PDT 2016


Hi,

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



More information about the linux-arm-kernel mailing list