dt: bindings: lm3692x: Add led-max-microamp property
authorGuido Günther <agx@sigxcpu.org>
Sat, 4 Jan 2020 10:54:21 +0000 (11:54 +0100)
committerPavel <pavel@ucw.cz>
Sun, 5 Jan 2020 23:41:17 +0000 (00:41 +0100)
This can be used to limit the current per LED strip.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Documentation/devicetree/bindings/leds/leds-lm3692x.txt

index 9b33469..501468a 100644 (file)
@@ -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 = <LED_COLOR_ID_WHITE>;
                linux,default-trigger = "backlight";
+               led-max-microamp = <20000>;
        };
 }