Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 09:59:39 -0300
From:      Luiz Otavio O Souza <loos.br@gmail.com>
To:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Re: [RFC] GPIO interrupt support
Message-ID:  <CAJ8CS7pDoxS-a0aFFAgX_u8ufG9UE73QFLB%2BQsm2=C9K4Wb5Pw@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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ8CS7pDoxS-a0aFFAgX_u8ufG9UE73QFLB%2BQsm2=C9K4Wb5Pw>