diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2024-06-26 18:00:23 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-26 17:08:31 +0100 |
commit | b9d55087dfa950aecece1cf864d3918a12694c25 (patch) | |
tree | 713d229d33b4b1010cea660a7a64ef97b85f2525 /drivers/leds/leds-tlc591xx.c | |
parent | 5a15b2ab57095a7c8597d42efbfe452844578785 (diff) |
leds: leds-lp55xx: Support ENGINE program up to 128 bytes
Some LED chip supports up to 16 pages and with some magic they can be
divided in 4 page for each ENGINE + 1 for each MUX. Following this we
can support bigger programs up to 128 bytes.
Rework the update_program_memory function to support program of multiple
pages instead of hardcoding it to one page per programs.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240626160027.19703-19-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-tlc591xx.c')
0 files changed, 0 insertions, 0 deletions