aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/leds/leds-lp8860.txt
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2017-12-18 14:23:05 -0600
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-01-08 21:28:12 +0100
commit3829a7e360edff8c19ddfcdd09ef3ab7275fc129 (patch)
treef216ae9cfcbddd4376be61a0fe1f7f1d087e04b0 /Documentation/devicetree/bindings/leds/leds-lp8860.txt
parentleds: lp8860: Update the dt parsing for LED labeling (diff)
downloadwireguard-linux-3829a7e360edff8c19ddfcdd09ef3ab7275fc129.tar.xz
wireguard-linux-3829a7e360edff8c19ddfcdd09ef3ab7275fc129.zip
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/leds-lp8860.txt')
-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:
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";
};
}