leds: simple driver for pwm driven LEDs
authorLuotao Fu <l.fu@pengutronix.de>
Wed, 11 Feb 2009 21:24:40 +0000 (13:24 -0800)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 29 Nov 2009 21:41:18 +0000 (23:41 +0200)
commit6303dab4865f53620bbc7cfc58b45bb3e91d849c
treeb7dd6a82437687638d9a0ed599b124522bd01f1b
parent0887623ea5736f6d438f5ac0c1ca8f33cdcd6988
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]