summaryrefslogtreecommitdiffstats
path: root/include/linux/leds_pwm.h
Commit message (Collapse)AuthorAgeFilesLines
* leds: leds-pwm: Convert to use devm_get_pwmPeter Ujfalusi2013-02-011-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>
* leds: simple driver for pwm driven LEDsLuotao Fu2009-04-061-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>