]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf255a48ce4a415864d454d6941b8eb7f0bba0d14
treec405b8e5e266994fbf81d7610cf8498215e0baff
parent9fd940e5a6dcca4f65133035a145821d1d709337
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]