Re: [PATCH] gpio: export 'debounce' attribute if supported by thegpio chip
From: Guenter Roeck
Date: Thu Dec 13 2012 - 12:08:37 EST
On Mon, Dec 10, 2012 at 11:37:35AM -0800, anish singh wrote:
> On Mon, Dec 10, 2012 at 10:48 AM, Guenter Roeck
> <groeck-dsl@xxxxxxxxxxxxx> wrote:
> > On Mon, Dec 10, 2012 at 11:04:09AM +0100, Linus Walleij wrote:
> >> On Fri, Dec 7, 2012 at 5:49 PM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> >>
> >> >> I could imagine declaring the activity request buttons to be "input", but for
> >> >> presence detects it is a bit far fetched and would add too much complexity.
> >> >
> >> > Android tries to address this with its switch class driver, but I'm not
> >> > sure its actually got anything over making them input devices.
> >>
> >> This has actually been merged into the kernel proper as drivers/extcon.
> >>
> >> So another poke on Günther if this fulfills the needs?
> >>
> > I'll look into it. Currently I am hampered by a cold which seems to mug my
> > brain, and technically by the need to backport extcon to 3.0 (if that is even
> > possible) since our chip vendor does not yet support a more recent kernel.
> It is very much possible.I have already tried that and it works.
Confirmed.
Looks like this is going to work for me, so I won't need the gpio patch. Please
ignore it.
Thanks,
Guenter
--
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/