diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-05-07 11:14:48 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-06-21 03:21:32 +0400 |
commit | 2dac912809490ea3a6e5c16b83b54a08f36fc3d9 (patch) | |
tree | 68d8add3b89ab7434d3fca6899eecaa5308fe95b /drivers/leds/leds-lm3533.c | |
parent | a036e4cde5f29da010ead845569ff1e1ecc32d2a (diff) | |
download | linux-2dac912809490ea3a6e5c16b83b54a08f36fc3d9.tar.xz |
leds: lp55xx: support dynamic channel settings in the device tree structure
Currently, the LP55xx DT structure supports max 3 channels.
However, LP5523 has max 9 channels and LP5562 has 4 channels.
To enhance this constraint, the DT structure has been changed.
(a) Use the child node for various channel settings instead of fixed array
(b) Remove 'num_channel' property.
This value can be retrieved by counting the children node.
(c) 'chan-name' property supported
(d) Documentation updates for LP5521 and LP5523
(cooloney@gmail.com: fix a coding style issue in leds-lp55xx.txt)
Cc: Gabriel Fernandez <gabriel.fernandez@stericsson.com>
Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-lm3533.c')
0 files changed, 0 insertions, 0 deletions