Skip to content

Commit

Permalink
dt: bindings: lp8860: Add trigger binding to the lp8860
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Murphy authored and Jacek Anaszewski committed Jan 8, 2018
1 parent c6b218c commit 3829a7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/leds/leds-lp8860.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -35,6 +37,7 @@ led-controller@2d {
led@0 {
reg = <0>;
label = "white:backlight";
linux,default-trigger = "backlight";
};
}

Expand Down

0 comments on commit 3829a7e

Please sign in to comment.