leds: Add WM831x status LED driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 5 Sep 2009 13:09:21 +0000 (14:09 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 7 Sep 2009 13:33:33 +0000 (14:33 +0100)
commitc746b5519a88b8803d43946ad06326ece4829116
tree886c979ce67fb26f550700261b67ef70ff36c539
parente07cccf4046978df10f2e13fe2b99b2f9b3a65db
leds: Add WM831x status LED driver

The WM831x devices feature two software controlled status LEDs with
hardware assisted blinking.

The device can also autonomously control the LEDs based on a selection
of sources.  This can be configured at boot time using either platform
data or the chip OTP.  A sysfs file in the style of that for triggers
allowing the control source to be configured at run time.  Triggers
can't be used here since they can't depend on the implementation details
of a specific LED type.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-wm831x-status.c [new file with mode: 0644]
include/linux/mfd/wm831x/status.h [new file with mode: 0644]