aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-01-04 11:54:17 +0100
committerPavel <pavel@ucw.cz>2020-01-06 00:40:40 +0100
commitebf59a4558c2c1629dff276da6fc9b0e77800fa6 (patch)
tree96af3927c30e8677b398973528768d90d06179e5
parentleds: populate the device's of_node (diff)
downloadlinux-dev-ebf59a4558c2c1629dff276da6fc9b0e77800fa6.tar.xz
linux-dev-ebf59a4558c2c1629dff276da6fc9b0e77800fa6.zip
dt: bindings: lm3692x: Add ti,ovp-microvolt property
This allows to set the overvoltage protection to 17V, 21V, 25V or 29V. Signed-off-by: Guido Günther <agx@sigxcpu.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/leds/leds-lm3692x.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
index 4c2d923f8758..9b334695c410 100644
--- a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
+++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
@@ -18,6 +18,10 @@ Required properties:
Optional properties:
- enable-gpios : gpio pin to enable/disable the device.
- vled-supply : LED supply
+ - ti,ovp-microvolt: Overvoltage protection in
+ micro-volt, can be 17000000, 21000000, 25000000 or
+ 29000000. If ti,ovp-microvolt is not specified it
+ defaults to 29000000.
Required child properties:
- reg : 0 - Will enable all LED sync paths
@@ -44,6 +48,7 @@ led-controller@36 {
enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
vled-supply = <&vbatt>;
+ ti,ovp-microvolt = <29000000>;
led@0 {
reg = <0>;