aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-gpio.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-07-16leds: Teach leds-gpio to handle timer-unsafe GPIOsDavid Brownell1-1/+26
Teach the new leds-gpio driver that some GPIOs can't be accessed from timer callbacks ... which is how all today's standard triggers use them. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2007-07-16leds: Add generic GPIO LED driverRaphael Assenat1-0/+174
This patch adds support for GPIO connected leds via the new GPIO framework. Information about leds (gpio, polarity, name, default trigger) is passed to the driver via platform_data. Signed-off-by: Raphael Assenat <raph@8d.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>