diff options
author | Hans-Christian Egtvedt <hcegtvedt@norway.atmel.com> | 2007-06-14 23:32:35 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:35:17 -0400 |
commit | 5f5655023f2814969b744c1e07494666587243aa (patch) | |
tree | dd4d387a5c4505df663a38299901d0cb81f4effa /drivers/input/mouse/Kconfig | |
parent | 9657d75c5f0f7d0a9cb507521d3ad1436aea28c9 (diff) |
Input: add gpio-mouse driver
Adds support for simulating a mouse using GPIO lines. The driver
needs an appropriate platform device to be created by architecture
code.
The driver has been tested on AT32AP7000 microprocessor using the
ATSTK1000 development board.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/Kconfig')
-rw-r--r-- | drivers/input/mouse/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index 50e06e8dd05d..7bbea097cda2 100644 --- a/drivers/input/mouse/Kconfig +++ b/drivers/input/mouse/Kconfig | |||
@@ -216,4 +216,20 @@ config MOUSE_HIL | |||
216 | help | 216 | help |
217 | Say Y here to support HIL pointers. | 217 | Say Y here to support HIL pointers. |
218 | 218 | ||
219 | config MOUSE_GPIO | ||
220 | tristate "GPIO mouse" | ||
221 | depends on GENERIC_GPIO | ||
222 | select INPUT_POLLDEV | ||
223 | help | ||
224 | This driver simulates a mouse on GPIO lines of various CPUs (and some | ||
225 | other chips). | ||
226 | |||
227 | Say Y here if your device has buttons or a simple joystick connected | ||
228 | directly to GPIO lines. Your board-specific setup logic must also | ||
229 | provide a platform device and platform data saying which GPIOs are | ||
230 | used. | ||
231 | |||
232 | To compile this driver as a module, choose M here: the | ||
233 | module will be called gpio_mouse. | ||
234 | |||
219 | endif | 235 | endif |