[PATCH 1/2] [PPC] Motion-PRO: Added LED support for the Promess Motion-Pro board. The driver is based on the original version(http://www.mail-archive.com/linuxppc-dev at lists.ozlabs.org/msg06694.html), adapted for the current kernel structures.
sposelenov at emcraft.com
Thu Sep 2 23:34:56 EST 2010
On Thu, 2 Sep 2010 16:46:17 +0400
Anton Vorontsov <cbouatmailru at gmail.com> wrote:
> On Thu, Sep 02, 2010 at 12:20:31PM +0200, sposelenov at emcraft.com
> wrote: [...]
> > +config LEDS_MOTIONPRO
> > + tristate "Motionpro LEDs Support"
> > + depends on LEDS_CLASS
> > + help
> > + This option enables support for status and ready LEDs
> > connected
> > + to GPIO lines on Motionpro board.
> Why not expose these GPIOs via GPIOLIB and use generic GPIO
> LEDs driver, along with the timer LED trigger for blinking?
>  Documentation/gpio.txt
>  drivers/leds/leds-gpio.c
>  drivers/leds/ledtrig-timer.c
Yes, this seem possible to implement (and thanks for pointing into
this), however, the driver is already exists (actually, since 2007),
so why to not add it to save efforts?
More information about the Linuxppc-dev