Hi Anton,

On Thu, 2 Sep 2010 16:46:17 +0400
Anton Vorontsov <[email protected]> wrote:

> On Thu, Sep 02, 2010 at 12:20:31PM +0200, [email protected]
> 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[1] and use generic GPIO
> LEDs[2] driver, along with the timer LED trigger[3] for blinking?
> 
> Thanks,
> 
> [1] Documentation/gpio.txt
>     Documentation/powerpc/dts-bindings/gpio/gpio.txt
> [2] drivers/leds/leds-gpio.c
>     Documentation/powerpc/dts-bindings/gpio/led.txt
> [3] 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?

Regards,
Sergei
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to