aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2017-12-18 15:23:05 -0500
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-01-08 15:28:12 -0500
commit3829a7e360edff8c19ddfcdd09ef3ab7275fc129 (patch)
treef216ae9cfcbddd4376be61a0fe1f7f1d087e04b0
parentc6b218c9c0d686486dcc39a1d80aff90801ca6fc (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/leds/leds-lp8860.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt
index 77ddd22c20dc..5f0e892ad759 100644
--- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt
+++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt
@@ -21,6 +21,8 @@ Required child properties:
21 21
22Optional child properties: 22Optional child properties:
23 - label : see Documentation/devicetree/bindings/leds/common.txt 23 - label : see Documentation/devicetree/bindings/leds/common.txt
24 - linux,default-trigger :
25 see Documentation/devicetree/bindings/leds/common.txt
24 26
25Example: 27Example:
26 28
@@ -35,6 +37,7 @@ led-controller@2d {
35 led@0 { 37 led@0 {
36 reg = <0>; 38 reg = <0>;
37 label = "white:backlight"; 39 label = "white:backlight";
40 linux,default-trigger = "backlight";
38 }; 41 };
39} 42}
40 43