[PATCH v2 1/6] dt: bindings: lm3692x: Add ti,ovp-microvolt property

From: Guido GÃnther
Date: Wed Dec 25 2019 - 06:07:32 EST


This allows to set the overvoltage protection to 17V, 21V, 25V or 29V.

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

diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
index 4c2d923f8758..95f6d8c19f20 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 = <25000000>;

led@0 {
reg = <0>;
--
2.23.0