[RFC] GPIO interrupt support

Sean Bruno sbruno at ignoranthack.me
Thu May 15 15:46:15 UTC 2014


On Thu, 2014-05-15 at 09:59 -0300, Luiz Otavio O Souza wrote:
> And looks like i forgot to attach the gpio-intr-kqueue.c...
> 
> On Wed, May 14, 2014 at 4:30 PM, Luiz Otavio O Souza wrote:
> > Hi,
> >
> > I've been working on the attached patches which adds the GPIO interrupt support.
> >
> > gpio-intr.diff has the bus changes for FDT and non-FDT systems.
> >
> > ar71xx_gpio-intr.diff has the changes to AR71xx GPIO driver.
> >
> > bcm2835_gpio-intr.diff has the changes to BCM2835 (RPi) GPIO driver.
> >
> > ti_gpio-intr.diff has the changes for AM335x (Beaglebone), OMAP3 and
> > OMAP4 (panda board).
> >
> > The other attached file (gpio-intr-kqueue.c) is an example program
> > i've been using to check for interrupts from userland.
> >
> > Userland is notified about GPIO interrupts by a kqueue event.
> >
> > The changes have been tested on BBB, RPi and RSPRO.
> >
> > The manual page changes are still to be done (but it will surely be done).
> >
> > Comments ?
> >
> > Regards,
> > Luiz
> _______________________________________________
> freebsd-embedded at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe at freebsd.org"


Luiz:

I have a bunch of 24k/74k atheros mips gear with me this week, what
should I test?

sean



More information about the freebsd-embedded mailing list