diff options
author | Guido Günther <[email protected]> | 2020-01-06 16:48:50 +0100 |
---|---|---|
committer | Pavel <[email protected]> | 2020-01-07 14:08:38 +0100 |
commit | df7083b57331da0222380392d8d0d8b39972bef9 (patch) | |
tree | a3bcd00e666d143379ea065ea73000f9f68d1f46 /scripts/bpf_helpers_doc.py | |
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 <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions