summaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorPaul Parsons <lost.distance@yahoo.com>2012-05-10 22:11:51 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-05-10 22:12:39 -0700
commitae99ea562be0a788ccb583aff21f3d2147de531f (patch)
treee11a2bdcba6e0fc2941c669b28617c128b63677a /include/linux/input
parent6ee3dbf93a895fce7c11d4d79e12beab1beb7860 (diff)
downloadlinux-stable-ae99ea562be0a788ccb583aff21f3d2147de531f.tar.gz
linux-stable-ae99ea562be0a788ccb583aff21f3d2147de531f.tar.bz2
linux-stable-ae99ea562be0a788ccb583aff21f3d2147de531f.zip
Input: Add Synaptics NavPoint (PXA27x SSP/SPI) driver
This driver adds support for the Synaptics NavPoint touchpad connected to a PXA27x SSP port in SPI slave mode. The device emulates a mouse; a tap or tap-and-a-half drag gesture emulates the left mouse button. For example, use the xf86-input-evdev driver for an X pointing device. Signed-off-by: Paul Parsons <lost.distance@yahoo.com> Tested-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/navpoint.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/input/navpoint.h b/include/linux/input/navpoint.h
new file mode 100644
index 000000000000..45050eb34de3
--- /dev/null
+++ b/include/linux/input/navpoint.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2012 Paul Parsons <lost.distance@yahoo.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+struct navpoint_platform_data {
+ int port; /* PXA SSP port for pxa_ssp_request() */
+ int gpio; /* GPIO for power on/off */
+};