mirror of
https://github.com/torvalds/linux
synced 2024-09-29 07:50:45 +00:00
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>
This commit is contained in:
parent
c6b218c9c0
commit
3829a7e360
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue