backlight: Add WM831x backlight driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 5 Sep 2009 13:09:20 +0000 (14:09 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 7 Sep 2009 13:05:07 +0000 (14:05 +0100)
commita4f3d55cb0b8e1199e352c30ea9a264cef9c1ae1
tree8b9fb9b49dde8139f31adf4e81037678c428aa59
parente07cccf4046978df10f2e13fe2b99b2f9b3a65db
backlight: Add WM831x backlight driver

The WM831x series of PMICs provide DC-DC boost convertors and current
sinks which can be used together to drive LEDs for use as backlights.
Expose this functionality via the backlight API.

Since when used in this configuration the current sink and boost
convertor are very tightly coupled with a multi-stage startup for
the current sink which overlaps with the boost convertor startup
this driver bypasses the regulator API. Machine inititialisation
is responsible for ensuring that the regulators are not accessed
via both APIs.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/Kconfig
drivers/video/backlight/Makefile
drivers/video/backlight/wm831x_bl.c [new file with mode: 0644]