Input: add Analog Devices AD714x captouch input driver
authorBryan Wu <cooloney@kernel.org>
Mon, 22 Mar 2010 06:23:24 +0000 (23:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Apr 2010 06:27:16 +0000 (23:27 -0700)
commit31a6296333b94964e9a073649840bb34d4603369
tree18c209d358420a889bc93e376d92e176cffb2326
parenta5b33e6a207d75120ad9dad0b5401b561991dcce
Input: add Analog Devices AD714x captouch input driver

AD7142 and AD7147 are integrated capacitance-to-digital converters
(CDCs) with on-chip environmental calibration for use in systems
requiring a novel user input method. The AD7142 and AD7147 can interface
to external capacitance sensors implementing functions such as buttons,
scrollwheels, sliders, touchpads and so on.

The chips don't restrict the specific usage. Depending on the hardware
connection, one special target board can include one or several these
components. The platform_data for the device's "struct device" holds
these information. The data-struct defined in head file descript the
hardware feature of button/scrollwheel/slider/touchpad components on
target boards, which need be filled in the arch/mach-/.

As the result, the driver is independent of boards. It gets the
components layout from the platform_data, registers related devices,
fullfills the algorithms and state machines for these components and
report related input events to up level.

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/ad714x-i2c.c [new file with mode: 0644]
drivers/input/misc/ad714x-spi.c [new file with mode: 0644]
drivers/input/misc/ad714x.c [new file with mode: 0644]
drivers/input/misc/ad714x.h [new file with mode: 0644]
include/linux/input.h
include/linux/input/ad714x.h [new file with mode: 0644]