]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit128bb95debc8302a999a495dd21726ca422da12a
tree26ff8e6e616a102dfd2dfd3a9c946f02d7346a82
parentf69c6ec2837cf73bb8068b74edd17bfcfd7640b1
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]