From: Ezequiel Garcia Date: Thu, 28 Apr 2016 22:03:39 +0000 (-0300) Subject: devicetree: leds: Introduce "panic-indicator" optional property X-Git-Tag: v4.7-rc1~178^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4f4f7091ee6d085c4a84b4023a61483d71bc777;p=thirdparty%2Flinux.git devicetree: leds: Introduce "panic-indicator" optional property It's desirable to specify which LEDs are to be blinked on a kernel panic. Therefore, introduce a devicetree boolean property to mark which LEDs should be treated this way, if possible. Signed-off-by: Ezequiel Garcia Reviewed-by: Matthias Brugger Acked-by: Rob Herring Acked-by: Pavel Machek Signed-off-by: Jacek Anaszewski --- diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt index 68419843e32fc..af10678ea2f65 100644 --- a/Documentation/devicetree/bindings/leds/common.txt +++ b/Documentation/devicetree/bindings/leds/common.txt @@ -37,6 +37,9 @@ Optional properties for child nodes: property is mandatory for the LEDs in the non-flash modes (e.g. torch or indicator). +- panic-indicator : This property specifies that the LED should be used, + if at all possible, as a panic indicator. + Required properties for flash LED child nodes: - flash-max-microamp : Maximum flash LED supply current in microamperes. - flash-max-timeout-us : Maximum timeout in microseconds after which the flash