Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 14:42:56 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Luiz Otavio O Souza <loos.br@gmail.com>
Cc:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: [RFC] GPIO interrupt support
Message-ID:  <CAJ-Vmom_hMfjXrB6xA-4JKjWtwLouus69kAwTbU5yvKsKeiKgQ@mail.gmail.com>
In-Reply-To: <CAJ8CS7pqo-ONpVfo-3mTEpREw5OUKo0GDxWD9%2BfN7FPRkJ6LdA@mail.gmail.com>
References:  <CAJ8CS7pqo-ONpVfo-3mTEpREw5OUKo0GDxWD9%2BfN7FPRkJ6LdA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

Cool! Which ATheros chips did you test this on?


-a


On 14 May 2014 12:30, Luiz Otavio O Souza <loos.br@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmom_hMfjXrB6xA-4JKjWtwLouus69kAwTbU5yvKsKeiKgQ>