Add Atmel AT42QT1070 driver, version 2
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): 1299655137
Add driver for Atmel AT42QT1070 QTouch sensor chip.
The AT42QT1070 QTouch sensor support up to 7 keys.
The driver has been tested on Atmel AT91SAM9M10-G45-EK board, it should work fine on other platform.
[v1] Modify the driver according to the suggestion from Mohan
[v2] Modify the driver according to the suggestion from Dmitry
---
drivers/input/keyboard/Kconfig | 9 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/qt1070.c | 283 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 293 insertions(+), 0 deletions(-)
drivers/input/keyboard/Kconfig +9 -0
@@ -124,6 +124,15 @@ config KEYBOARD_ATKBD_RDI_KEYCODES right-hand column will be interpreted as the key shown in the left-hand column. +config KEYBOARD_QT1070 + tristate "Atmel AT42QT1070 Touch Sensor Chip" + depends on I2C + help + Say Y here if you want to use Atmel AT42QT1070 QTouch + Sensor chip as input device. + To compile this driver as a module, choose M here: + the module will be called qt1070 + config KEYBOARD_QT2160 tristate "Atmel AT42QT2160 Touch Sensor Chip" depends on I2C && EXPERIMENTAL
drivers/input/keyboard/Makefile +1 -0
@@ -32,6 +32,7 @@ obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o obj-$(CONFIG_KEYBOARD_OPENCORES) += opencores-kbd.o obj-$(CONFIG_KEYBOARD_PXA27x) += pxa27x_keypad.o obj-$(CONFIG_KEYBOARD_PXA930_ROTARY) += pxa930_rotary.o +obj-$(CONFIG_KEYBOARD_QT1070) += qt1070.o obj-$(CONFIG_KEYBOARD_QT2160) += qt2160.o obj-$(CONFIG_KEYBOARD_SAMSUNG) += samsung-keypad.o obj-$(CONFIG_KEYBOARD_SH_KEYSC) += sh_keysc.o
drivers/input/keyboard/qt1070.c new file +283 -0
283 lines not on this page · raw message
Dmitry Torokhov
maintainerQuoted 7 lines · voice
Add driver for Atmel AT42QT1070 QTouch sensor chip.
The AT42QT1070 QTouch sensor support up to 7 keys.
The driver has been tested on Atmel AT91SAM9M10-G45-EK board, it should work fine on other platform.[v1] Modify the driver according to the suggestion from Mohan
[v2] Modify the driver according to the suggestion from Dmitry
Excellent, thank you very much for maing the changes. I am ready to apply the patch, however I am missing your "Signed-off-by: ..." for this version.
Thanks.
Signature · 1 line
Dmitry