summaryrefslogtreecommitdiff
path: root/include/linux/leds_pwm.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-01leds: leds-pwm: Convert to use devm_get_pwmPeter Ujfalusi1-1/+1
Update the driver to use the new API for requesting pwm so we can take advantage of the pwm_lookup table to find the correct pwm to be used for the LED functionality. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
2009-04-06leds: simple driver for pwm driven LEDsLuotao Fu1-0/+21
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>