From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH v6 1/5] Input: add input driver for polled GPIO buttons Date: Fri, 10 Dec 2010 07:50:18 -0800 Message-ID: <87hbeleif9.fsf@deeprootsystems.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-yx0-f174.google.com ([209.85.213.174]:52134 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755637Ab0LJPuY (ORCPT ); Fri, 10 Dec 2010 10:50:24 -0500 In-Reply-To: (Ben Gardiner's message of "Thu, 9 Dec 2010 16:51:03 -0500") Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Ben Gardiner Cc: davinci-linux-open-source@linux.davincidsp.com, linux-input@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, Chris Cordahi , Paul Mundt , Sekhar Nori , Gabor Juhos , Dmitry Torokhov Ben Gardiner writes: > From: Gabor Juhos > > 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 of the original gpio_keys infrastructure; cleanups and other > improvements.] > > Signed-off-by: Gabor Juhos > Signed-off-by: Ben Gardiner > Tested-by: Ben Gardiner > Signed-off-by: Dmitry Torokhov > (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