aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hsi
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2020-01-06 16:48:50 +0100
committerPavel <pavel@ucw.cz>2020-01-07 14:08:38 +0100
commitdf7083b57331da0222380392d8d0d8b39972bef9 (patch)
treea3bcd00e666d143379ea065ea73000f9f68d1f46 /drivers/hsi
parentdt: bindings: lm3692x: Add led-max-microamp property (diff)
downloadlinux-dev-df7083b57331da0222380392d8d0d8b39972bef9.tar.xz
linux-dev-df7083b57331da0222380392d8d0d8b39972bef9.zip
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/hsi')
0 files changed, 0 insertions, 0 deletions