diff options
author | Dan Murphy <dmurphy@ti.com> | 2017-12-18 23:23:05 +0300 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-01-08 23:28:12 +0300 |
commit | 3829a7e360edff8c19ddfcdd09ef3ab7275fc129 (patch) | |
tree | f216ae9cfcbddd4376be61a0fe1f7f1d087e04b0 /Documentation/devicetree/bindings/leds | |
parent | c6b218c9c0d686486dcc39a1d80aff90801ca6fc (diff) | |
download | linux-3829a7e360edff8c19ddfcdd09ef3ab7275fc129.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
-rw-r--r-- | Documentation/devicetree/bindings/leds/leds-lp8860.txt | 3 |
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: 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"; }; } |