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

Chen-Yu Tsai wens at csie.org
Mon Jun 6 00:05:51 PDT 2016


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?

ChenYu



More information about the linux-arm-kernel mailing list