Re: [PATCH v6 1/5] Input: add input driver for polled GPIO buttons

From: Kevin Hilman
Date: Fri Dec 10 2010 - 10:50:31 EST


Ben Gardiner <bengardiner@xxxxxxxxxxxxxx> writes:

> From: Gabor Juhos <juhosg@xxxxxxxxxxx>
>
> The existing gpio-keys driver can be usable only for GPIO lines with
> interrupt support. Several devices have buttons connected to a GPIO
> line which is not capable to generate interrupts. This patch adds a
> new input driver using the generic GPIO layer and the input-polldev
> to support such buttons.
>
> [Ben Gardiner <bengardiner@xxxxxxxxxxxxxx: fold code to use more
> of the original gpio_keys infrastructure; cleanups and other
> improvements.]
>
> Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
> Signed-off-by: Ben Gardiner <bengardiner@xxxxxxxxxxxxxx>
> Tested-by: Ben Gardiner <bengardiner@xxxxxxxxxxxxxx>
> Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
> (cherry picked from commit 0e7d0c860a0dee49dacb7bbb248d1eba637075ad)
>
> ---
>
> This a copy of the commit -- I included in the patch series since
> linux-davinci/master does not currently have it; but 2.6.37-rc5 does.

I'll be updating davinci master to .37-rc5 today, so will drop this
patch.

Kevin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/