864fe73c31
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>
485 lines
13 KiB
Plaintext
485 lines
13 KiB
Plaintext
#
|
|
# Touchscreen driver configuration
|
|
#
|
|
menuconfig INPUT_TOUCHSCREEN
|
|
bool "Touchscreens"
|
|
help
|
|
Say Y here, and a list of supported touchscreens will be displayed.
|
|
This option doesn't affect the kernel.
|
|
|
|
If unsure, say Y.
|
|
|
|
if INPUT_TOUCHSCREEN
|
|
|
|
config TOUCHSCREEN_ADS7846
|
|
tristate "ADS7846/TSC2046 and ADS7843 based touchscreens"
|
|
depends on SPI_MASTER
|
|
depends on HWMON = n || HWMON
|
|
help
|
|
Say Y here if you have a touchscreen interface using the
|
|
ADS7846/TSC2046 or ADS7843 controller, and your board-specific
|
|
setup code includes that in its table of SPI devices.
|
|
|
|
If HWMON is selected, and the driver is told the reference voltage
|
|
on your board, you will also get hwmon interfaces for the voltage
|
|
(and on ads7846/tsc2046, temperature) sensors of this chip.
|
|
|
|
If unsure, say N (but it's safe to say "Y").
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ads7846.
|
|
|
|
config TOUCHSCREEN_AD7877
|
|
tristate "AD7877 based touchscreens"
|
|
depends on SPI_MASTER
|
|
help
|
|
Say Y here if you have a touchscreen interface using the
|
|
AD7877 controller, and your board-specific initialization
|
|
code includes that in its table of SPI devices.
|
|
|
|
If unsure, say N (but it's safe to say "Y").
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ad7877.
|
|
|
|
config TOUCHSCREEN_AD7879_I2C
|
|
tristate "AD7879 based touchscreens: AD7879-1 I2C Interface"
|
|
depends on I2C
|
|
select TOUCHSCREEN_AD7879
|
|
help
|
|
Say Y here if you have a touchscreen interface using the
|
|
AD7879-1 controller, and your board-specific initialization
|
|
code includes that in its table of I2C devices.
|
|
|
|
If unsure, say N (but it's safe to say "Y").
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ad7879.
|
|
|
|
config TOUCHSCREEN_AD7879_SPI
|
|
tristate "AD7879 based touchscreens: AD7879 SPI Interface"
|
|
depends on SPI_MASTER && TOUCHSCREEN_AD7879_I2C = n
|
|
select TOUCHSCREEN_AD7879
|
|
help
|
|
Say Y here if you have a touchscreen interface using the
|
|
AD7879 controller, and your board-specific initialization
|
|
code includes that in its table of SPI devices.
|
|
|
|
If unsure, say N (but it's safe to say "Y").
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ad7879.
|
|
|
|
config TOUCHSCREEN_AD7879
|
|
tristate
|
|
default n
|
|
|
|
config TOUCHSCREEN_BITSY
|
|
tristate "Compaq iPAQ H3600 (Bitsy) touchscreen"
|
|
depends on SA1100_BITSY
|
|
select SERIO
|
|
help
|
|
Say Y here if you have the h3600 (Bitsy) touchscreen.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called h3600_ts_input.
|
|
|
|
config TOUCHSCREEN_CORGI
|
|
tristate "SharpSL (Corgi and Spitz series) touchscreen driver (DEPRECATED)"
|
|
depends on PXA_SHARPSL
|
|
select CORGI_SSP_DEPRECATED
|
|
default y
|
|
help
|
|
Say Y here to enable the driver for the touchscreen on the
|
|
Sharp SL-C7xx and SL-Cxx00 series of PDAs.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called corgi_ts.
|
|
|
|
NOTE: this driver is deprecated, try enable SPI and generic
|
|
ADS7846-based touchscreen driver.
|
|
|
|
config TOUCHSCREEN_DA9034
|
|
tristate "Touchscreen support for Dialog Semiconductor DA9034"
|
|
depends on PMIC_DA903X
|
|
default y
|
|
help
|
|
Say Y here to enable the support for the touchscreen found
|
|
on Dialog Semiconductor DA9034 PMIC.
|
|
|
|
config TOUCHSCREEN_FUJITSU
|
|
tristate "Fujitsu serial touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have the Fujitsu touchscreen (such as one
|
|
installed in Lifebook P series laptop) connected to your
|
|
system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called fujitsu-ts.
|
|
|
|
config TOUCHSCREEN_GUNZE
|
|
tristate "Gunze AHL-51S touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have the Gunze AHL-51 touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called gunze.
|
|
|
|
config TOUCHSCREEN_ELO
|
|
tristate "Elo serial touchscreens"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have an Elo serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called elo.
|
|
|
|
config TOUCHSCREEN_WACOM_W8001
|
|
tristate "Wacom W8001 penabled serial touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have an Wacom W8001 penabled serial touchscreen
|
|
connected to your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called wacom_w8001.
|
|
|
|
|
|
config TOUCHSCREEN_MTOUCH
|
|
tristate "MicroTouch serial touchscreens"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a MicroTouch (3M) serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called mtouch.
|
|
|
|
config TOUCHSCREEN_INEXIO
|
|
tristate "iNexio serial touchscreens"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have an iNexio serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called inexio.
|
|
|
|
config TOUCHSCREEN_MK712
|
|
tristate "ICS MicroClock MK712 touchscreen"
|
|
help
|
|
Say Y here if you have the ICS MicroClock MK712 touchscreen
|
|
controller chip in your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called mk712.
|
|
|
|
config TOUCHSCREEN_HP600
|
|
tristate "HP Jornada 6xx touchscreen"
|
|
depends on SH_HP6XX && SH_ADC
|
|
help
|
|
Say Y here if you have a HP Jornada 620/660/680/690 and want to
|
|
support the built-in touchscreen.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called hp680_ts_input.
|
|
|
|
config TOUCHSCREEN_HP7XX
|
|
tristate "HP Jornada 7xx touchscreen"
|
|
depends on SA1100_JORNADA720_SSP
|
|
help
|
|
Say Y here if you have a HP Jornada 710/720/728 and want
|
|
to support the built-in touchscreen.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called jornada720_ts.
|
|
|
|
config TOUCHSCREEN_HTCPEN
|
|
tristate "HTC Shift X9500 touchscreen"
|
|
depends on ISA
|
|
help
|
|
Say Y here if you have an HTC Shift UMPC also known as HTC X9500
|
|
Clio / Shangrila and want to support the built-in touchscreen.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called htcpen.
|
|
|
|
config TOUCHSCREEN_PENMOUNT
|
|
tristate "Penmount serial touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a Penmount serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called penmount.
|
|
|
|
config TOUCHSCREEN_MIGOR
|
|
tristate "Renesas MIGO-R touchscreen"
|
|
depends on SH_MIGOR && I2C
|
|
help
|
|
Say Y here to enable MIGO-R touchscreen support.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called migor_ts.
|
|
|
|
config TOUCHSCREEN_TOUCHRIGHT
|
|
tristate "Touchright serial touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a Touchright serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called touchright.
|
|
|
|
config TOUCHSCREEN_TOUCHWIN
|
|
tristate "Touchwin serial touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a Touchwin serial touchscreen connected to
|
|
your system.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called touchwin.
|
|
|
|
config TOUCHSCREEN_ATMEL_TSADCC
|
|
tristate "Atmel Touchscreen Interface"
|
|
depends on ARCH_AT91SAM9RL
|
|
help
|
|
Say Y here if you have a 4-wire touchscreen connected to the
|
|
ADC Controller on your Atmel SoC (such as the AT91SAM9RL).
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called atmel_tsadcc.
|
|
|
|
config TOUCHSCREEN_UCB1400
|
|
tristate "Philips UCB1400 touchscreen"
|
|
depends on AC97_BUS
|
|
depends on UCB1400_CORE
|
|
help
|
|
This enables support for the Philips UCB1400 touchscreen interface.
|
|
The UCB1400 is an AC97 audio codec. The touchscreen interface
|
|
will be initialized only after the ALSA subsystem has been
|
|
brought up and the UCB1400 detected. You therefore have to
|
|
configure ALSA support as well (either built-in or modular,
|
|
independently of whether this driver is itself built-in or
|
|
modular) for this driver to work.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called ucb1400_ts.
|
|
|
|
config TOUCHSCREEN_WM97XX
|
|
tristate "Support for WM97xx AC97 touchscreen controllers"
|
|
depends on AC97_BUS
|
|
help
|
|
Say Y here if you have a Wolfson Microelectronics WM97xx
|
|
touchscreen connected to your system. Note that this option
|
|
only enables core driver, you will also need to select
|
|
support for appropriate chip below.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called wm97xx-ts.
|
|
|
|
config TOUCHSCREEN_WM9705
|
|
bool "WM9705 Touchscreen interface support"
|
|
depends on TOUCHSCREEN_WM97XX
|
|
default y
|
|
help
|
|
Say Y here to enable support for the Wolfson Microelectronics
|
|
WM9705 touchscreen controller.
|
|
|
|
config TOUCHSCREEN_WM9712
|
|
bool "WM9712 Touchscreen interface support"
|
|
depends on TOUCHSCREEN_WM97XX
|
|
default y
|
|
help
|
|
Say Y here to enable support for the Wolfson Microelectronics
|
|
WM9712 touchscreen controller.
|
|
|
|
config TOUCHSCREEN_WM9713
|
|
bool "WM9713 Touchscreen interface support"
|
|
depends on TOUCHSCREEN_WM97XX
|
|
default y
|
|
help
|
|
Say Y here to enable support for the Wolfson Microelectronics
|
|
WM9713 touchscreen controller.
|
|
|
|
config TOUCHSCREEN_WM97XX_ATMEL
|
|
tristate "WM97xx Atmel accelerated touch"
|
|
depends on TOUCHSCREEN_WM97XX && (AVR32 || ARCH_AT91)
|
|
help
|
|
Say Y here for support for streaming mode with WM97xx touchscreens
|
|
on Atmel AT91 or AVR32 systems with an AC97C module.
|
|
|
|
Be aware that this will use channel B in the controller for
|
|
streaming data, this must not conflict with other AC97C drivers.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called atmel-wm97xx.
|
|
|
|
config TOUCHSCREEN_WM97XX_MAINSTONE
|
|
tristate "WM97xx Mainstone accelerated touch"
|
|
depends on TOUCHSCREEN_WM97XX && ARCH_PXA
|
|
help
|
|
Say Y here for support for streaming mode with WM97xx touchscreens
|
|
on Mainstone systems.
|
|
|
|
If unsure, say N.
|
|
|
|
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
|
|
select USB
|
|
help
|
|
USB Touchscreen driver for:
|
|
- eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)
|
|
- PanJit TouchSet USB
|
|
- 3M MicroTouch USB (EX II series)
|
|
- ITM
|
|
- some other eTurboTouch
|
|
- Gunze AHL61
|
|
- DMC TSC-10/25
|
|
- IRTOUCHSYSTEMS/UNITOP
|
|
- IdealTEK URTC1000
|
|
- GoTop Super_Q2/GogoPen/PenPower tablets
|
|
|
|
Have a look at <http://linux.chapter7.ch/touchkit/> for
|
|
a usage description and the required user-space stuff.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called usbtouchscreen.
|
|
|
|
config TOUCHSCREEN_USB_EGALAX
|
|
default y
|
|
bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_PANJIT
|
|
default y
|
|
bool "PanJit device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_3M
|
|
default y
|
|
bool "3M/Microtouch EX II series device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_ITM
|
|
default y
|
|
bool "ITM device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_ETURBO
|
|
default y
|
|
bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_GUNZE
|
|
default y
|
|
bool "Gunze AHL61 device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_DMC_TSC10
|
|
default y
|
|
bool "DMC TSC-10/25 device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_IRTOUCH
|
|
default y
|
|
bool "IRTOUCHSYSTEMS/UNITOP device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_IDEALTEK
|
|
default y
|
|
bool "IdealTEK URTC1000 device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_GENERAL_TOUCH
|
|
default y
|
|
bool "GeneralTouch Touchscreen device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_USB_GOTOP
|
|
default y
|
|
bool "GoTop Super_Q2/GogoPen/PenPower tablet device support" if EMBEDDED
|
|
depends on TOUCHSCREEN_USB_COMPOSITE
|
|
|
|
config TOUCHSCREEN_TOUCHIT213
|
|
tristate "Sahara TouchIT-213 touchscreen"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a Sahara TouchIT-213 Tablet PC.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called touchit213.
|
|
|
|
config TOUCHSCREEN_TSC2007
|
|
tristate "TSC2007 based touchscreens"
|
|
depends on I2C
|
|
help
|
|
Say Y here if you have a TSC2007 based touchscreen.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called tsc2007.
|
|
|
|
endif
|