S3C: Backported openmoko's touchscreen filters
[linux-2.6/mini2440.git] / drivers / input / touchscreen / Kconfig
blob18ef64b744228e02c4bf23a4030c1c931e2159fb
2 # Touchscreen driver configuration
4 menuconfig INPUT_TOUCHSCREEN
5         bool "Touchscreens"
6         help
7           Say Y here, and a list of supported touchscreens will be displayed.
8           This option doesn't affect the kernel.
10           If unsure, say Y.
12 if INPUT_TOUCHSCREEN
14 menuconfig TOUCHSCREEN_FILTER
15         boolean "Touchscreen Filtering"
16         depends on INPUT_TOUCHSCREEN
17         select TOUCHSCREEN_FILTER_GROUP
18         select TOUCHSCREEN_FILTER_MEDIAN
19         select TOUCHSCREEN_FILTER_MEAN
20         select TOUCHSCREEN_FILTER_LINEAR
21         help
22           Select this to include kernel touchscreen filter support.  The filters
23           can be combined in any order in your machine init and the parameters
24           for them can also be set there.
26 if TOUCHSCREEN_FILTER
28 config TOUCHSCREEN_FILTER_GROUP
29         bool "Group Touchscreen Filter"
30         depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER
31         default Y
32         help
33           Say Y here if you want to use the Group touchscreen filter, it
34           avoids using atypical samples.
36 config TOUCHSCREEN_FILTER_MEDIAN
37         bool "Median Average Touchscreen Filter"
38         depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER
39         default Y
40         help
41           Say Y here if you want to use the Median touchscreen filter, it's
42           highly effective if you data is noisy with occasional excursions.
44 config TOUCHSCREEN_FILTER_MEAN
45         bool "Mean Average Touchscreen Filter"
46         depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER
47         default Y
48         help
49           Say Y here if you want to use the Mean touchscreen filter, it
50           can further improve decent quality data by removing jitter
52 config TOUCHSCREEN_FILTER_LINEAR
53         bool "Linear Touchscreen Filter"
54         depends on INPUT_TOUCHSCREEN && TOUCHSCREEN_FILTER
55         default Y
56         help
57           Say Y here if you want to use the Linear touchscreen filter, it
58           enables the use of calibration data for the touchscreen.
60 endif
62 config TOUCHSCREEN_ADS7846
63         tristate "ADS7846/TSC2046 and ADS7843 based touchscreens"
64         depends on SPI_MASTER
65         depends on HWMON = n || HWMON
66         help
67           Say Y here if you have a touchscreen interface using the
68           ADS7846/TSC2046 or ADS7843 controller, and your board-specific
69           setup code includes that in its table of SPI devices.
71           If HWMON is selected, and the driver is told the reference voltage
72           on your board, you will also get hwmon interfaces for the voltage
73           (and on ads7846/tsc2046, temperature) sensors of this chip.
75           If unsure, say N (but it's safe to say "Y").
77           To compile this driver as a module, choose M here: the
78           module will be called ads7846.
80 config TOUCHSCREEN_AD7877
81         tristate "AD7877 based touchscreens"
82         depends on SPI_MASTER
83         help
84           Say Y here if you have a touchscreen interface using the
85           AD7877 controller, and your board-specific initialization
86           code includes that in its table of SPI devices.
88           If unsure, say N (but it's safe to say "Y").
90           To compile this driver as a module, choose M here: the
91           module will be called ad7877.
93 config TOUCHSCREEN_AD7879_I2C
94         tristate "AD7879 based touchscreens: AD7879-1 I2C Interface"
95         depends on I2C
96         select TOUCHSCREEN_AD7879
97         help
98           Say Y here if you have a touchscreen interface using the
99           AD7879-1 controller, and your board-specific initialization
100           code includes that in its table of I2C devices.
102           If unsure, say N (but it's safe to say "Y").
104           To compile this driver as a module, choose M here: the
105           module will be called ad7879.
107 config TOUCHSCREEN_AD7879_SPI
108         tristate "AD7879 based touchscreens: AD7879 SPI Interface"
109         depends on SPI_MASTER && TOUCHSCREEN_AD7879_I2C = n
110         select TOUCHSCREEN_AD7879
111         help
112           Say Y here if you have a touchscreen interface using the
113           AD7879 controller, and your board-specific initialization
114           code includes that in its table of SPI devices.
116           If unsure, say N (but it's safe to say "Y").
118           To compile this driver as a module, choose M here: the
119           module will be called ad7879.
121 config TOUCHSCREEN_AD7879
122         tristate
123         default n
125 config TOUCHSCREEN_BITSY
126         tristate "Compaq iPAQ H3600 (Bitsy) touchscreen"
127         depends on SA1100_BITSY
128         select SERIO
129         help
130           Say Y here if you have the h3600 (Bitsy) touchscreen.
132           If unsure, say N.
134           To compile this driver as a module, choose M here: the
135           module will be called h3600_ts_input.
137 config TOUCHSCREEN_CORGI
138         tristate "SharpSL (Corgi and Spitz series) touchscreen driver (DEPRECATED)"
139         depends on PXA_SHARPSL
140         select CORGI_SSP_DEPRECATED
141         default y
142         help
143           Say Y here to enable the driver for the touchscreen on the
144           Sharp SL-C7xx and SL-Cxx00 series of PDAs.
146           If unsure, say N.
148           To compile this driver as a module, choose M here: the
149           module will be called corgi_ts.
151           NOTE: this driver is deprecated, try enable SPI and generic
152           ADS7846-based touchscreen driver.
154 config TOUCHSCREEN_DA9034
155         tristate "Touchscreen support for Dialog Semiconductor DA9034"
156         depends on PMIC_DA903X
157         default y
158         help
159           Say Y here to enable the support for the touchscreen found
160           on Dialog Semiconductor DA9034 PMIC.
162 config TOUCHSCREEN_FUJITSU
163         tristate "Fujitsu serial touchscreen"
164         select SERIO
165         help
166           Say Y here if you have the Fujitsu touchscreen (such as one
167           installed in Lifebook P series laptop) connected to your
168           system.
170           If unsure, say N.
172           To compile this driver as a module, choose M here: the
173           module will be called fujitsu-ts.
175 config TOUCHSCREEN_S3C2410
176         tristate "Samsung S3C2410 touchscreen input driver"
177         depends on ARCH_S3C2410 && INPUT && INPUT_TOUCHSCREEN
178         select SERIO
179         help
180           Say Y here if you have the s3c2410 touchscreen.
182           If unsure, say N.
184           To compile this driver as a module, choose M here: the
185           module will be called s3c2410_ts.
187 config TOUCHSCREEN_S3C2410_DEBUG
188         boolean "Samsung S3C2410 touchscreen debug messages"
189         depends on TOUCHSCREEN_S3C2410
190         help
191           Select this if you want debug messages
193 config TOUCHSCREEN_GUNZE
194         tristate "Gunze AHL-51S touchscreen"
195         select SERIO
196         help
197           Say Y here if you have the Gunze AHL-51 touchscreen connected to
198           your system.
200           If unsure, say N.
202           To compile this driver as a module, choose M here: the
203           module will be called gunze.
205 config TOUCHSCREEN_ELO
206         tristate "Elo serial touchscreens"
207         select SERIO
208         help
209           Say Y here if you have an Elo serial touchscreen connected to
210           your system.
212           If unsure, say N.
214           To compile this driver as a module, choose M here: the
215           module will be called elo.
217 config TOUCHSCREEN_WACOM_W8001
218         tristate "Wacom W8001 penabled serial touchscreen"
219         select SERIO
220         help
221           Say Y here if you have an Wacom W8001 penabled serial touchscreen
222           connected to your system.
224           If unsure, say N.
226           To compile this driver as a module, choose M here: the
227           module will be called wacom_w8001.
230 config TOUCHSCREEN_MTOUCH
231         tristate "MicroTouch serial touchscreens"
232         select SERIO
233         help
234           Say Y here if you have a MicroTouch (3M) serial touchscreen connected to
235           your system.
237           If unsure, say N.
239           To compile this driver as a module, choose M here: the
240           module will be called mtouch.
242 config TOUCHSCREEN_INEXIO
243         tristate "iNexio serial touchscreens"
244         select SERIO
245         help
246           Say Y here if you have an iNexio serial touchscreen connected to
247           your system.
249           If unsure, say N.
251           To compile this driver as a module, choose M here: the
252           module will be called inexio.
254 config TOUCHSCREEN_MK712
255         tristate "ICS MicroClock MK712 touchscreen"
256         help
257           Say Y here if you have the ICS MicroClock MK712 touchscreen
258           controller chip in your system.
260           If unsure, say N.
262           To compile this driver as a module, choose M here: the
263           module will be called mk712.
265 config TOUCHSCREEN_HP600
266         tristate "HP Jornada 6xx touchscreen"
267         depends on SH_HP6XX && SH_ADC
268         help
269           Say Y here if you have a HP Jornada 620/660/680/690 and want to
270           support the built-in touchscreen.
272           To compile this driver as a module, choose M here: the
273           module will be called hp680_ts_input.
275 config TOUCHSCREEN_HP7XX
276         tristate "HP Jornada 7xx touchscreen"
277         depends on SA1100_JORNADA720_SSP
278         help
279           Say Y here if you have a HP Jornada 710/720/728 and want
280           to support the built-in touchscreen.
282           To compile this driver as a module, choose M here: the
283           module will be called jornada720_ts.
285 config TOUCHSCREEN_HTCPEN
286         tristate "HTC Shift X9500 touchscreen"
287         depends on ISA
288         help
289           Say Y here if you have an HTC Shift UMPC also known as HTC X9500
290           Clio / Shangrila and want to support the built-in touchscreen.
292           If unsure, say N.
294           To compile this driver as a module, choose M here: the
295           module will be called htcpen.
297 config TOUCHSCREEN_PENMOUNT
298         tristate "Penmount serial touchscreen"
299         select SERIO
300         help
301           Say Y here if you have a Penmount serial touchscreen connected to
302           your system.
304           If unsure, say N.
306           To compile this driver as a module, choose M here: the
307           module will be called penmount.
309 config TOUCHSCREEN_MIGOR
310         tristate "Renesas MIGO-R touchscreen"
311         depends on SH_MIGOR && I2C
312         help
313           Say Y here to enable MIGO-R touchscreen support.
315           If unsure, say N.
317           To compile this driver as a module, choose M here: the
318           module will be called migor_ts.
320 config TOUCHSCREEN_TOUCHRIGHT
321         tristate "Touchright serial touchscreen"
322         select SERIO
323         help
324           Say Y here if you have a Touchright serial touchscreen connected to
325           your system.
327           If unsure, say N.
329           To compile this driver as a module, choose M here: the
330           module will be called touchright.
332 config TOUCHSCREEN_TOUCHWIN
333         tristate "Touchwin serial touchscreen"
334         select SERIO
335         help
336           Say Y here if you have a Touchwin serial touchscreen connected to
337           your system.
339           If unsure, say N.
341           To compile this driver as a module, choose M here: the
342           module will be called touchwin.
344 config TOUCHSCREEN_ATMEL_TSADCC
345         tristate "Atmel Touchscreen Interface"
346         depends on ARCH_AT91SAM9RL
347         help
348           Say Y here if you have a 4-wire touchscreen connected to the
349           ADC Controller on your Atmel SoC (such as the AT91SAM9RL).
351           If unsure, say N.
353           To compile this driver as a module, choose M here: the
354           module will be called atmel_tsadcc.
356 config TOUCHSCREEN_UCB1400
357         tristate "Philips UCB1400 touchscreen"
358         depends on AC97_BUS
359         depends on UCB1400_CORE
360         help
361           This enables support for the Philips UCB1400 touchscreen interface.
362           The UCB1400 is an AC97 audio codec.  The touchscreen interface
363           will be initialized only after the ALSA subsystem has been
364           brought up and the UCB1400 detected.  You therefore have to
365           configure ALSA support as well (either built-in or modular,
366           independently of whether this driver is itself built-in or
367           modular) for this driver to work.
369           To compile this driver as a module, choose M here: the
370           module will be called ucb1400_ts.
372 config TOUCHSCREEN_WM97XX
373         tristate "Support for WM97xx AC97 touchscreen controllers"
374         depends on AC97_BUS
375         help
376           Say Y here if you have a Wolfson Microelectronics WM97xx
377           touchscreen connected to your system. Note that this option
378           only enables core driver, you will also need to select
379           support for appropriate chip below.
381           If unsure, say N.
383           To compile this driver as a module, choose M here: the
384           module will be called wm97xx-ts.
386 config TOUCHSCREEN_WM9705
387         bool "WM9705 Touchscreen interface support"
388         depends on TOUCHSCREEN_WM97XX
389         default y
390         help
391           Say Y here to enable support for the Wolfson Microelectronics
392           WM9705 touchscreen controller.
394 config TOUCHSCREEN_WM9712
395         bool "WM9712 Touchscreen interface support"
396         depends on TOUCHSCREEN_WM97XX
397         default y
398         help
399           Say Y here to enable support for the Wolfson Microelectronics
400           WM9712 touchscreen controller.
402 config TOUCHSCREEN_WM9713
403         bool "WM9713 Touchscreen interface support"
404         depends on TOUCHSCREEN_WM97XX
405         default y
406         help
407           Say Y here to enable support for the Wolfson Microelectronics
408           WM9713 touchscreen controller.
410 config TOUCHSCREEN_WM97XX_MAINSTONE
411         tristate "WM97xx Mainstone accelerated touch"
412         depends on TOUCHSCREEN_WM97XX && ARCH_PXA
413         help
414           Say Y here for support for streaming mode with WM97xx touchscreens
415           on Mainstone systems.
417           If unsure, say N.
419           To compile this driver as a module, choose M here: the
420           module will be called mainstone-wm97xx.
422 config TOUCHSCREEN_WM97XX_ZYLONITE
423         tristate "Zylonite accelerated touch"
424         depends on TOUCHSCREEN_WM97XX && MACH_ZYLONITE
425         select TOUCHSCREEN_WM9713
426         help
427           Say Y here for support for streaming mode with the touchscreen
428           on Zylonite systems.
430           If unsure, say N.
432           To compile this driver as a module, choose M here: the
433           module will be called zylonite-wm97xx.
435 config TOUCHSCREEN_USB_COMPOSITE
436         tristate "USB Touchscreen Driver"
437         depends on USB_ARCH_HAS_HCD
438         select USB
439         help
440           USB Touchscreen driver for:
441           - eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)
442           - PanJit TouchSet USB
443           - 3M MicroTouch USB (EX II series)
444           - ITM
445           - some other eTurboTouch
446           - Gunze AHL61
447           - DMC TSC-10/25
448           - IRTOUCHSYSTEMS/UNITOP
449           - IdealTEK URTC1000
450           - GoTop Super_Q2/GogoPen/PenPower tablets
452           Have a look at <http://linux.chapter7.ch/touchkit/> for
453           a usage description and the required user-space stuff.
455           To compile this driver as a module, choose M here: the
456           module will be called usbtouchscreen.
458 config TOUCHSCREEN_USB_EGALAX
459         default y
460         bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
461         depends on TOUCHSCREEN_USB_COMPOSITE
463 config TOUCHSCREEN_USB_PANJIT
464         default y
465         bool "PanJit device support" if EMBEDDED
466         depends on TOUCHSCREEN_USB_COMPOSITE
468 config TOUCHSCREEN_USB_3M
469         default y
470         bool "3M/Microtouch EX II series device support" if EMBEDDED
471         depends on TOUCHSCREEN_USB_COMPOSITE
473 config TOUCHSCREEN_USB_ITM
474         default y
475         bool "ITM device support" if EMBEDDED
476         depends on TOUCHSCREEN_USB_COMPOSITE
478 config TOUCHSCREEN_USB_ETURBO
479         default y
480         bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
481         depends on TOUCHSCREEN_USB_COMPOSITE
483 config TOUCHSCREEN_USB_GUNZE
484         default y
485         bool "Gunze AHL61 device support" if EMBEDDED
486         depends on TOUCHSCREEN_USB_COMPOSITE
488 config TOUCHSCREEN_USB_DMC_TSC10
489         default y
490         bool "DMC TSC-10/25 device support" if EMBEDDED
491         depends on TOUCHSCREEN_USB_COMPOSITE
493 config TOUCHSCREEN_USB_IRTOUCH
494         default y
495         bool "IRTOUCHSYSTEMS/UNITOP device support" if EMBEDDED
496         depends on TOUCHSCREEN_USB_COMPOSITE
498 config TOUCHSCREEN_USB_IDEALTEK
499         default y
500         bool "IdealTEK URTC1000 device support" if EMBEDDED
501         depends on TOUCHSCREEN_USB_COMPOSITE
503 config TOUCHSCREEN_USB_GENERAL_TOUCH
504         default y
505         bool "GeneralTouch Touchscreen device support" if EMBEDDED
506         depends on TOUCHSCREEN_USB_COMPOSITE
508 config TOUCHSCREEN_USB_GOTOP
509         default y
510         bool "GoTop Super_Q2/GogoPen/PenPower tablet device support" if EMBEDDED
511         depends on TOUCHSCREEN_USB_COMPOSITE
513 config TOUCHSCREEN_TOUCHIT213
514         tristate "Sahara TouchIT-213 touchscreen"
515         select SERIO
516         help
517           Say Y here if you have a Sahara TouchIT-213 Tablet PC.
519           If unsure, say N.
521           To compile this driver as a module, choose M here: the
522           module will be called touchit213.
524 config TOUCHSCREEN_TSC2007
525         tristate "TSC2007 based touchscreens"
526         depends on I2C
527         help
528           Say Y here if you have a TSC2007 based touchscreen.
530           If unsure, say N.
532           To compile this driver as a module, choose M here: the
533           module will be called tsc2007.
535 endif