zylonite-wm97xx: Accelerated touchscreen support for Zylonite
Subsystems (2)
PATCH 1/2 zylonite-wm97xx: Accelerated touchscreen support for Zylonite
This patch implements accelerated touchscreen support for the Marvell Zylonite development platform, supporting pen down interrupts and continuous mode data transfers.
--- drivers/input/touchscreen/Kconfig | 13 ++ drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/zylonite-wm97xx.c | 239 +++++++++++++++++++++++++++ 3 files changed, 253 insertions(+), 0 deletions(-) create mode 100644 drivers/input/touchscreen/zylonite-wm97xx.c
drivers/input/touchscreen/Kconfig +13 -0
@@ -308,6 +308,19 @@ config TOUCHSCREEN_WM97XX_MAINSTONE To compile this driver as a module, choose M here: the module will be called mainstone-wm97xx. +config TOUCHSCREEN_WM97XX_ZYLONITE + tristate "Zylonite accelerated touch" + depends on TOUCHSCREEN_WM97XX && MACH_ZYLONITE + select TOUCHSCREEN_WM9713 + help + Say Y here for support for streaming mode with the touchscreen + on Zylonite systems. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called zylonite-wm97xx. + config TOUCHSCREEN_USB_COMPOSITE tristate "USB Touchscreen Driver" depends on USB_ARCH_HAS_HCD
drivers/input/touchscreen/Makefile +1 -0
@@ -34,3 +34,4 @@ wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o +obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o
drivers/input/touchscreen/zylonite-wm97xx.c new file +239 -0
239 lines not on this page · raw message
Signature · 1 line
1.5.6.5
PATCH 2/2 wm97xx: add accelerated driver for AVR32 AT32AP700X microprocessors
From: Hans-Christian Egtvedt <[email protected]>
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.
--- drivers/input/touchscreen/Kconfig | 15 ++ drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/at32-wm97xx.c | 410 +++++++++++++++++++++++++++++++ drivers/input/touchscreen/at32-wm97xx.h | 48 ++++ 4 files changed, 474 insertions(+), 0 deletions(-) create mode 100644 drivers/input/touchscreen/at32-wm97xx.c create mode 100644 drivers/input/touchscreen/at32-wm97xx.h
drivers/input/touchscreen/Kconfig +15 -0
@@ -296,6 +296,21 @@ config TOUCHSCREEN_WM9713 Say Y here to enable support for the Wolfson Microelectronics WM9713 touchscreen controller. +config TOUCHSCREEN_WM97XX_AT32 + tristate "WM97xx Atmel AVR32 accelerated touch" + depends on TOUCHSCREEN_WM97XX && AVR32 + help + Say Y here for support for streaming mode with WM97xx touchscreens on + Atmel AVR32 systems with an AC97 controller. + + Be aware that this will use channel B in the controller for streaming + data, this must not conflict with other AC97 drivers. + + If unsure, say N. + + To compile this driver as a module, choose M here: the module will be + called at32-wm97xx. + config TOUCHSCREEN_WM97XX_MAINSTONE tristate "WM97xx Mainstone accelerated touch" depends on TOUCHSCREEN_WM97XX && ARCH_PXA
drivers/input/touchscreen/Makefile +1 -0
@@ -33,5 +33,6 @@ obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9705) += wm9705.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712) += wm9712.o wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713) += wm9713.o +obj-$(CONFIG_TOUCHSCREEN_WM97XX_AT32) += at32-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o
drivers/input/touchscreen/at32-wm97xx.c new file +410 -0
410 lines not on this page · raw message
drivers/input/touchscreen/at32-wm97xx.h new file +48 -0
48 lines not on this page · raw message
Signature · 1 line
1.5.6.5