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 <dmurphy@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
This commit is contained in:
Dan Murphy 2017-12-18 14:23:05 -06:00 committed by Jacek Anaszewski
parent c6b218c9c0
commit 3829a7e360

View File

@ -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";
};
}