Re: [RFC] adp1653: Add device tree bindings for LED controller

From: Pavel Machek
Date: Thu Nov 20 2014 - 07:13:55 EST


Hi!

> >> But regulators already have "regulator-max-microamp" property. So what
> >> about:
> >>
> >> max-microamp : maximum intensity in microamperes of the LED
> >> (torch LED for flash devices)
> >> max-flash-microamp : initial intensity in microamperes of the
> >> flash LED; it is required to enable support
> >> for the flash led
> >> flash-timeout-microseconds : timeout in microseconds after which flash
> >> led is turned off
> >>
> >> If you had indicator on the same led, I guess
> >>
> >> indicator-microamp : recommended intensity in microamperes of the LED
> >> for indication
>
> The value for the indicator is maximum as well, not just a
> recommendation.

Actually, no.

This is all for one LED, if you want to use it as a flash, torch and
indicator. You already know the maximum value with max-microamp.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/