Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Murphy and committed by
Jacek Anaszewski
3829a7e3 c6b218c9

+3
+3
Documentation/devicetree/bindings/leds/leds-lp8860.txt
··· 21 21 22 22 Optional child properties: 23 23 - label : see Documentation/devicetree/bindings/leds/common.txt 24 + - linux,default-trigger : 25 + see Documentation/devicetree/bindings/leds/common.txt 24 26 25 27 Example: 26 28 ··· 37 35 led@0 { 38 36 reg = <0>; 39 37 label = "white:backlight"; 38 + linux,default-trigger = "backlight"; 40 39 }; 41 40 } 42 41