On Tuesday 16 October 2012, Simon Guinot wrote: > On Tue, Oct 16, 2012 at 01:02:39PM +0000, Arnd Bergmann wrote: > > > > I'm not overly familiar with the LED subsystem, but isn't this something > > that could be done with the generic gpio-led driver? > > Basically, the leds-gpio driver allows to associate one pin to one LED. > It is simple and efficient. The LED can be turned on or off. And using a > platform callback (gpio_blink_set), some hardware timer blink can be > enabled. A very few platforms are using this last callback. > > On the ns2 (and other lacie machines), there is three different modes > for the front blue LED: on, off and SATA activity blink. Three different > pins are used to configure the LED. Definitively it is not compatible > with the leds-gpio driver. Ok, thanks for the explantion. I think your approach is fine then. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-leds" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html