aboutsummaryrefslogtreecommitdiff
path: root/include/linux/leds_pwm.h
AgeCommit message (Collapse)Author
2010-05-17LEDS: leds-pwm: Add init, notfiy and exit callbacksLars-Peter Clausen
This patch adds init, notify and exit callbacks to the leds-pwm driver. One usecase for these callbacks is that on certain platforms it is neccessary to configure a gpio pin as pwm pin. On these platforms it is usefull to have the added callbacks, so that the gpio pin can be configured at the same time as the pwm device. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2009-04-06leds: simple driver for pwm driven LEDsLuotao Fu
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>