[RFC] GPIO interrupt support

Adrian Chadd adrian at freebsd.org
Wed May 14 21:42:59 UTC 2014


Hi!

Cool! Which ATheros chips did you test this on?


-a


On 14 May 2014 12:30, Luiz Otavio O Souza <loos.br at gmail.com> 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"


More information about the freebsd-embedded mailing list