Re: Fwd: Re: [PATCH v2] input: misc: Add driver for Intel Bay Trail GPIO buttons

2014-04-20 Thread Dmitry Torokhov
On Wed, Apr 16, 2014 at 12:20:01AM +0200, Pavel Machek wrote: > Hi! > > > > Input: misc - Add driver for Intel Bay Trail GPIO buttons > > > > From: Lejun Zhu > > > > This patch adds support for the GPIO buttons on some Intel Bay Trail > > tablets originally running Windows 8. The ACPI descripti

Re: Fwd: Re: [PATCH v2] input: misc: Add driver for Intel Bay Trail GPIO buttons

2014-04-15 Thread Pavel Machek
Hi! > > Input: misc - Add driver for Intel Bay Trail GPIO buttons > > From: Lejun Zhu > > This patch adds support for the GPIO buttons on some Intel Bay Trail > tablets originally running Windows 8. The ACPI description of these > buttons follows "Windows ACPI Design Guide for SoC Platforms".

Fwd: Re: [PATCH v2] input: misc: Add driver for Intel Bay Trail GPIO buttons

2014-03-30 Thread Zhu, Lejun
Hi Dmitry, On 3/29/2014 4:47 AM, Dmitry Torokhov wrote: > Hi Lejun, > > On Fri, Mar 28, 2014 at 02:02:43AM +0800, Zhu, Lejun wrote: >> + >> +static struct soc_button_info soc_button_tbl[] = { >> +{"power", 0, KEY_POWER, 0, 1, -1}, >> +{"home", 1, KEY_HOME, 0, 1, -1}, >> +{"volume_up",

Re: [PATCH v2] input: misc: Add driver for Intel Bay Trail GPIO buttons

2014-03-28 Thread Dmitry Torokhov
Hi Lejun, On Fri, Mar 28, 2014 at 02:02:43AM +0800, Zhu, Lejun wrote: > + > +static struct soc_button_info soc_button_tbl[] = { > + {"power", 0, KEY_POWER, 0, 1, -1}, > + {"home", 1, KEY_HOME, 0, 1, -1}, > + {"volume_up", 2, KEY_VOLUMEUP, 1, 0, -1}, > + {"volume_down", 3, KEY_VOLUM

[PATCH v2] input: misc: Add driver for Intel Bay Trail GPIO buttons

2014-03-27 Thread Zhu, Lejun
This patch adds support for the GPIO buttons on some Intel Bay Trail tablets originally running Windows 8. The ACPI description of these buttons follows "Windows ACPI Design Guide for SoC Platforms". v2: - Change the driver name to "SoC button array". - Use platform_device_alloc() instead of static