leds: simple driver for pwm driven LEDs
authorLuotao Fu <l.fu@pengutronix.de>
Wed, 11 Feb 2009 21:24:40 +0000 (13:24 -0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Apr 2009 15:06:26 +0000 (16:06 +0100)
commit41c42ff5dbe29b7b826e6736f960959c76e7acf0
treec405b8e5e266994fbf81d7610cf8498215e0baff
parentb2bdc3e7130001804f27e7c1254930143119f435
leds: simple driver for pwm driven LEDs

Add a simple driver for pwm driver LEDs.  pwm_id and period can be defined
in board file.  It is developed for pxa, however it is probably generic
enough to be used on other platforms with pwm.

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-pwm.c [new file with mode: 0644]
include/linux/leds_pwm.h [new file with mode: 0644]