backlight: add Backlight driver for lm3630 chip
authorG.Shark Jeong <gshark.jeong@gmail.com>
Fri, 5 Oct 2012 00:12:52 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:53 +0000 (03:04 +0900)
commit0c2a665a648ea74879ce6333d3a31a96a7c361ce
treea673285b4c991b97a19365b203a84721d43a209d
parent6275ce9f7ffdccd414a92f6ec8fe0d7584037ee5
backlight: add Backlight driver for lm3630 chip

This driver is a general version for LM3630 backlgiht driver chip of TI.

LM3630 :
The LM3630 is a current mode boost converter which supplies the power
and controls the current in two strings of up to 10 LEDs per string.
Programming is done over an I2C compatible interface.
www.ti.com

[akpm@linux-foundation.org: make bled_name[] static, a few coding style tuneups, create new set_intensity(), partly to avoid awkward layout gymnastics]
Signed-off-by: G.Shark Jeong <gshark.jeong@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Daniel Jeong <daniel.jeong@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/Kconfig
drivers/video/backlight/Makefile
drivers/video/backlight/lm3630_bl.c [new file with mode: 0644]
include/linux/platform_data/lm3630_bl.h [new file with mode: 0644]