From: Guido Günther Date: Sat, 4 Jan 2020 10:54:21 +0000 (+0100) Subject: dt: bindings: lm3692x: Add led-max-microamp property X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e0801b62a30f5c83df0b7c75afce50061401e30;p=openwrt%2Fstaging%2Fblogic.git dt: bindings: lm3692x: Add led-max-microamp property This can be used to limit the current per LED strip. Signed-off-by: Guido Günther Acked-by: Pavel Machek Reviewed-by: Rob Herring Signed-off-by: Pavel Machek --- diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt index 9b334695c410..501468aa4d38 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -35,6 +35,8 @@ Optional child properties: - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) - linux,default-trigger : see Documentation/devicetree/bindings/leds/common.txt + - led-max-microamp : + see Documentation/devicetree/bindings/leds/common.txt Example: @@ -55,6 +57,7 @@ led-controller@36 { function = LED_FUNCTION_BACKLIGHT; color = ; linux,default-trigger = "backlight"; + led-max-microamp = <20000>; }; }