Re: [PATCH 1/2] dt: bindings: lm3692x: Document new properties

From: Dan Murphy
Date: Tue Dec 17 2019 - 07:44:04 EST


Guido

Thanks for the patch

On 12/16/19 6:28 AM, Guido GÃnther wrote:
We allow configuration of brightness mode and over voltage
protection.

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

diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt
index 4c2d923f8758..f195e8b45d85 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,brightness-mapping-exponential: Whether to use exponential
+ brightness mapping
+ - ti,overvoltage-volts: Overvoltage protection in Volts, can
+ be 0 (unprotected), 21, 25 or 29V

Can you show examples of these in the DT binding?

Dan