[PATCH] Input: Add driver for Microchip's CAP1106

2014-07-11 Thread Daniel Mack
This patch adds a driver for Microchips CAP1106, an I2C driven, 6-channel capacitive touch sensor. For now, only the capacitive buttons are supported, and no specific settings that can be tweaked for individual channels, except for the device-wide sensitivity gain. The defaults seem to work just

Re: [PATCH] Input: Add driver for Microchip's CAP1106

2014-07-11 Thread David Herrmann
Hi On Fri, Jul 11, 2014 at 9:42 AM, Daniel Mack zon...@gmail.com wrote: This patch adds a driver for Microchips CAP1106, an I2C driven, 6-channel capacitive touch sensor. For now, only the capacitive buttons are supported, and no specific settings that can be tweaked for individual channels,

Re: [PATCH] Input: Add driver for Microchip's CAP1106

2014-07-11 Thread David Herrmann
Hi On Fri, Jul 11, 2014 at 9:42 AM, Daniel Mack zon...@gmail.com wrote: This patch adds a driver for Microchips CAP1106, an I2C driven, 6-channel capacitive touch sensor. For now, only the capacitive buttons are supported, and no specific settings that can be tweaked for individual channels,

Re: [PATCH] Input: Add driver for Microchip's CAP1106

2014-07-11 Thread Daniel Mack
On 07/11/2014 07:33 PM, Dmitry Torokhov wrote: On Fri, Jul 11, 2014 at 11:48:48AM +0200, Daniel Mack wrote: On 07/11/2014 11:43 AM, David Herrmann wrote: +static void cap1106_work(struct work_struct *w) +{ + struct cap1106_priv *priv = container_of(w, struct cap1106_priv, work); +