[RFC] adp1653: Add device tree bindings for LED controller
Pavel Machek
pavel at ucw.cz
Thu Nov 20 04:13:48 PST 2014
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
More information about the linux-arm-kernel
mailing list