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

Pavel Machek
2019-12-21T19:15:19Z

[-- Attachment #1: Type: text/plain, Size: 985 bytes --]

On Mon 2019-12-16 13:28:05, Guido Günther wrote:
> We allow configuration of brightness mode and over voltage
> protection.
>
> Signed-off-by: Guido Günther <agx@sigxcpu.org>
> +++ 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
>

We usually use microvolts in various device tree properties...

Exponential mapping s not really property of the hardware, is it? Does
it belong here or somewhere in the backlight binding?

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]