Commit 3e0801b6 authored by Guido Günther's avatar Guido Günther Committed by Pavel

dt: bindings: lm3692x: Add led-max-microamp property

This can be used to limit the current per LED strip.
Signed-off-by: default avatarGuido Günther <agx@sigxcpu.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent cffd61a5
...@@ -35,6 +35,8 @@ Optional child properties: ...@@ -35,6 +35,8 @@ Optional child properties:
- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
- linux,default-trigger : - linux,default-trigger :
see Documentation/devicetree/bindings/leds/common.txt see Documentation/devicetree/bindings/leds/common.txt
- led-max-microamp :
see Documentation/devicetree/bindings/leds/common.txt
Example: Example:
...@@ -55,6 +57,7 @@ led-controller@36 { ...@@ -55,6 +57,7 @@ led-controller@36 {
function = LED_FUNCTION_BACKLIGHT; function = LED_FUNCTION_BACKLIGHT;
color = <LED_COLOR_ID_WHITE>; color = <LED_COLOR_ID_WHITE>;
linux,default-trigger = "backlight"; linux,default-trigger = "backlight";
led-max-microamp = <20000>;
}; };
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment