diff mbox series

[v2,5/6] dt: bindings: lm3692x: Add led-max-microamp property

Message ID db76306346364e93a03df25a49ad4a16eb6036b2.1577271823.git.agx@sigxcpu.org
State Superseded, archived
Headers show
Series leds: lm3692x: Allow to set ovp and brigthness mode | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Guido Günther Dec. 25, 2019, 11:07 a.m. UTC
This can be used to limit the current per led strip

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 Documentation/devicetree/bindings/leds/leds-lm3692x.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Pavel Machek Dec. 26, 2019, 10:08 a.m. UTC | #1
On Wed 2019-12-25 12:07:18, Guido Günther wrote:
> This can be used to limit the current per led strip

"per LED strip."

Acked-by: Pavel	Machek <pavel@ucw.cz>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
index 73f41249ecd3..e0d7b3030c01 100644
--- a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
+++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
@@ -37,6 +37,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:
 
@@ -58,6 +60,7 @@  led-controller@36 {
 		function = LED_FUNCTION_BACKLIGHT;
 		color = <LED_COLOR_ID_WHITE>;
 		linux,default-trigger = "backlight";
+		led-max-microamp = <20000>;
 	};
 }