dt: bindings: lm3692x: Add ti,ovp-microvolt property
authorGuido Günther <agx@sigxcpu.org>
Sat, 4 Jan 2020 10:54:17 +0000 (11:54 +0100)
committerPavel <pavel@ucw.cz>
Sun, 5 Jan 2020 23:40:40 +0000 (00:40 +0100)
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>
Documentation/devicetree/bindings/leds/leds-lm3692x.txt

index 4c2d923..9b33469 100644 (file)
@@ -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>;