aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-01-04 11:54:21 +0100
committerPavel <pavel@ucw.cz>2020-01-06 00:41:17 +0100
commit3e0801b62a30f5c83df0b7c75afce50061401e30 (patch)
tree3cc94ef72c573830e71e00a30db4a19def49a21c /Documentation/devicetree/bindings/leds/leds-lm3692x.txt
parentleds: lm3692x: Allow to configure over voltage protection (diff)
downloadlinux-dev-3e0801b62a30f5c83df0b7c75afce50061401e30.tar.xz
linux-dev-3e0801b62a30f5c83df0b7c75afce50061401e30.zip
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 <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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-lm3692x.txt')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-lm3692x.txt3
1 files changed, 3 insertions, 0 deletions
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 = <LED_COLOR_ID_WHITE>;
linux,default-trigger = "backlight";
+ led-max-microamp = <20000>;
};
}