Browse Source

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>
Dan Murphy 7 years ago
parent
commit
3829a7e360
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Documentation/devicetree/bindings/leds/leds-lp8860.txt

+ 3 - 0
Documentation/devicetree/bindings/leds/leds-lp8860.txt

@@ -21,6 +21,8 @@ Required child properties:
 
 
 Optional child properties:
 Optional child properties:
 	- label : see Documentation/devicetree/bindings/leds/common.txt
 	- label : see Documentation/devicetree/bindings/leds/common.txt
+	- linux,default-trigger :
+	   see Documentation/devicetree/bindings/leds/common.txt
 
 
 Example:
 Example:
 
 
@@ -35,6 +37,7 @@ led-controller@2d {
 	led@0 {
 	led@0 {
 		reg = <0>;
 		reg = <0>;
 		label = "white:backlight";
 		label = "white:backlight";
+		linux,default-trigger = "backlight";
 	};
 	};
 }
 }