Re: [PATCH v2] input: mouse: add qci touchpad driver

From: Stepan Moskovchenko
Date: Thu Aug 12 2010 - 13:25:12 EST


On 8/12/2010 9:49 AM, Neil Leeder wrote:
This driver is for the QCI trackpad used on Quanta smartbooks

Signed-off-by: Horace Fu<horace.fu@xxxxxxxxxxxx>
Signed-off-by: Mandeep Singh Baines<msb@xxxxxxxxxxxx>
[nleeder@xxxxxxxxxxxxxx: cleanup i2c calls, address review comments etc]
Signed-off-by: Neil Leeder<nleeder@xxxxxxxxxxxxxx>
---
drivers/input/mouse/Kconfig | 12 ++
drivers/input/mouse/Makefile | 1 +
drivers/input/mouse/qci_touchpad.c | 270 ++++++++++++++++++++++++++++++++++++
include/linux/input/qci_touchpad.h | 25 ++++
4 files changed, 308 insertions(+), 0 deletions(-)
create mode 100644 drivers/input/mouse/qci_touchpad.c
create mode 100644 include/linux/input/qci_touchpad.h

diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index c714ca2..32a88b4 100644
--- a/drivers/input/mouse/Kconfig
+++ b/drivers/input/mouse/Kconfig
@@ -303,6 +303,18 @@ config MOUSE_MAPLE
To compile this driver as a module choose M here: the module will be
called maplemouse.

+config MOUSE_QCITP
+ tristate "Quanta Computer Inc. Touchpad"
+ depends on I2C
+ help
+ This driver supports the touchpad on Quanta smartbook devices.
+
+ Say Y here if you have a Quanta-based smartboot or notepad
Sorry, very minor point - do you mean "smartbook" here?

A lot of machines are made by Quanta. Should this be given a description / option name that is more specific, ie, "Quanta [chip name] Touchpad" or even "Quanta I2C Touchpad" ? What you have might be fine, however...

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/