Re: device-tree vs gpio-leds gpio_blink_set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Mon, Apr 23, 2012 at 11:22:43AM +0000, Arnd Bergmann wrote:
> On Monday 23 April 2012, Arnaud Patard wrote:

> > Does anyone know how to solve that ?

> One way to solve it would be to add a blink function to gpiolib so
> that the gpio-led driver can access it through a common wrapper
> and we can make the orion_gpio_set_blink() function a pointer in
> the gpio_chip structure rather than an export from
> arch/arm/plat-orion/gpio.c. I've put a few people on Cc that might
> have an opion on this.

Another idea would be to use pinctrl and represent the blink as a
special function.  Not sure that's sensible though.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter