leds: gpio: Support the "panic-indicator" firmware property
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Thu, 28 Apr 2016 22:03:40 +0000 (19:03 -0300)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 6 May 2016 08:26:07 +0000 (10:26 +0200)
commit80d6737b27bbdf645a815c136606836b435f0268
tree5a4564508a9380adf07ff33a9a91b8ef51e554a1
parente4f4f7091ee6d085c4a84b4023a61483d71bc777
leds: gpio: Support the "panic-indicator" firmware property

Calling a GPIO LEDs is quite likely to work even if the kernel
has paniced, so they are ideal to blink in this situation.
This commit adds support for the new "panic-indicator"
firmware property, allowing to mark a given LED to blink on
a kernel panic.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Documentation/devicetree/bindings/leds/leds-gpio.txt
drivers/leds/leds-gpio.c
include/linux/leds.h