提交 3829a7e3 编写于 作者: D Dan Murphy 提交者: Jacek Anaszewski

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: NDan Murphy <dmurphy@ti.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NJacek Anaszewski <jacek.anaszewski@gmail.com>
上级 c6b218c9
...@@ -21,6 +21,8 @@ Required child properties: ...@@ -21,6 +21,8 @@ Required child properties:
Optional child properties: Optional child properties:
- label : see Documentation/devicetree/bindings/leds/common.txt - label : see Documentation/devicetree/bindings/leds/common.txt
- linux,default-trigger :
see Documentation/devicetree/bindings/leds/common.txt
Example: Example:
...@@ -35,6 +37,7 @@ led-controller@2d { ...@@ -35,6 +37,7 @@ led-controller@2d {
led@0 { led@0 {
reg = <0>; reg = <0>;
label = "white:backlight"; label = "white:backlight";
linux,default-trigger = "backlight";
}; };
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册