]> git.baikalelectronics.ru Git - kernel.git/commit
Input: add driver for Microchip's CAP1106
authorDaniel Mack <zonque@gmail.com>
Tue, 15 Jul 2014 16:47:52 +0000 (09:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 18 Jul 2014 17:53:29 +0000 (10:53 -0700)
commit9689031bdab28e4e0aa0b5ddd3b54285122c388b
tree26ff8e6e616a102dfd2dfd3a9c946f02d7346a82
parentc1a5c93cef0a85ecb446c4486991f1d3504c0cf1
Input: add driver for Microchip's CAP1106

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 fine out of
the box, so I'll leave configurable parameters for someone who's in need
of them and who can actually measure the impact. All registers are
prepared, however. Many of them are just not used for now.

The implementation does not make any attempt to be compatible to platform
data driven boards, but fully depends on CONFIG_OF.

Power management functions are also left for volounteers with the ability
to actually test them.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/cap1106.txt [new file with mode: 0644]
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/cap1106.c [new file with mode: 0644]