From: Kim, Milo Date: Tue, 7 May 2013 07:14:48 +0000 (-0700) Subject: leds: lp55xx: support dynamic channel settings in the device tree structure X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~14^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dac912809490ea3a6e5c16b83b54a08f36fc3d9;p=pandora-kernel.git 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 Signed-off-by: Milo(Woogyom) Kim Reviewed-by: Linus Walleij Signed-off-by: Bryan Wu --- Reading git-diff-tree failed