From: Dan Murphy Date: Mon, 18 Dec 2017 20:23:05 +0000 (-0600) Subject: dt: bindings: lp8860: Add trigger binding to the lp8860 X-Git-Tag: v4.16-rc1~136^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3829a7e360edff8c19ddfcdd09ef3ab7275fc129;p=thirdparty%2Fkernel%2Flinux.git dt: bindings: lp8860: Add trigger binding to the lp8860 Add a default trigger optional node to the child node. This will allow the driver to set the trigger for a backlight. Signed-off-by: Dan Murphy Reviewed-by: Rob Herring Signed-off-by: Jacek Anaszewski --- diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt index 77ddd22c20dcf..5f0e892ad7592 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -21,6 +21,8 @@ Required child properties: Optional child properties: - label : see Documentation/devicetree/bindings/leds/common.txt + - linux,default-trigger : + see Documentation/devicetree/bindings/leds/common.txt Example: @@ -35,6 +37,7 @@ led-controller@2d { led@0 { reg = <0>; label = "white:backlight"; + linux,default-trigger = "backlight"; }; }