diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-01-06 16:48:50 +0100 |
---|---|---|
committer | Pavel <pavel@ucw.cz> | 2020-01-07 14:08:38 +0100 |
commit | df7083b57331da0222380392d8d0d8b39972bef9 (patch) | |
tree | a3bcd00e666d143379ea065ea73000f9f68d1f46 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 3e0801b62a30f5c83df0b7c75afce50061401e30 (diff) |
leds: lm3692x: Make sure we don't exceed the maximum LED current
The current is given by the formular from page 12 of
https://www.ti.com/lit/ds/symlink/lm36922.pdf. We use this to limit the
led's max_brightness using the led-max-microamp DT property.
The formula for the lm36923 is identical according to the data sheet.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions