diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-04-18 21:45:06 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-18 22:13:34 -0400 |
commit | 864fe73c312ca8e177da01207ce86fb1b80b3e54 (patch) | |
tree | f55e566d457124095a7235bce56159dfda8582bd /drivers/input/touchscreen/Kconfig | |
parent | 64e8563ca86167b4a991724b416d61c129138359 (diff) |
Input: add wm97xx accelerated driver for Atmel microprocessors
This patch adds an accelerated driver for Atmel AVR32 AT32AP700X
microprocessors. It uses interrupts on the channel B in the AC97
controller. Thus, offloading the work queue in the wm97xx-ts driver.
The driver has been tested with Atmel AVR32 AT32AP7000 and Wolfson
WM9712 codec.
The driver can also be easily modified to support Atmel AT91 devices, as
AT91 and AVR32 share the same AC97C module.
[Fixed leak of atmel_wm97xx when probe fails. -- broonie]
[dtor@mail.ru: do not report ABS_PRESSURE events when not measuring pressure]
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index b01fd61dadcc..82c388e0fe3e 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig | |||
@@ -341,6 +341,21 @@ config TOUCHSCREEN_WM9713 | |||
341 | Say Y here to enable support for the Wolfson Microelectronics | 341 | Say Y here to enable support for the Wolfson Microelectronics |
342 | WM9713 touchscreen controller. | 342 | WM9713 touchscreen controller. |
343 | 343 | ||
344 | config TOUCHSCREEN_WM97XX_ATMEL | ||
345 | tristate "WM97xx Atmel accelerated touch" | ||
346 | depends on TOUCHSCREEN_WM97XX && (AVR32 || ARCH_AT91) | ||
347 | help | ||
348 | Say Y here for support for streaming mode with WM97xx touchscreens | ||
349 | on Atmel AT91 or AVR32 systems with an AC97C module. | ||
350 | |||
351 | Be aware that this will use channel B in the controller for | ||
352 | streaming data, this must not conflict with other AC97C drivers. | ||
353 | |||
354 | If unsure, say N. | ||
355 | |||
356 | To compile this driver as a module, choose M here: the module will | ||
357 | be called atmel-wm97xx. | ||
358 | |||
344 | config TOUCHSCREEN_WM97XX_MAINSTONE | 359 | config TOUCHSCREEN_WM97XX_MAINSTONE |
345 | tristate "WM97xx Mainstone accelerated touch" | 360 | tristate "WM97xx Mainstone accelerated touch" |
346 | depends on TOUCHSCREEN_WM97XX && ARCH_PXA | 361 | depends on TOUCHSCREEN_WM97XX && ARCH_PXA |