dt: bindings: lp8860: Add trigger binding to the lp8860
authorDan Murphy <dmurphy@ti.com>
Mon, 18 Dec 2017 20:23:05 +0000 (14:23 -0600)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 8 Jan 2018 20:28:12 +0000 (21:28 +0100)
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>
Documentation/devicetree/bindings/leds/leds-lp8860.txt

index 77ddd22..5f0e892 100644 (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";
        };
 }