Merge remote branch 'linux-2.6.32.y/master' into develop
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / Kconfig
1 #
2 # Touchscreen driver configuration
3 #
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.
9
10           If unsure, say Y.
11
12 if INPUT_TOUCHSCREEN
13
14 choice 
15   prompt "XPT2046 based touchscreens: SPI Interface"
16   default TOUCHSCREEN_XPT2046_CBN_SPI
17           
18         config TOUCHSCREEN_XPT2046_SPI_NOCHOOSE
19   bool "DO NOT CHOOSE TOUCHSCREEN_XPT2046"
20   
21   config TOUCHSCREEN_XPT2046_SPI
22   bool "800X480 TOUCHSCREEN"
23         depends on SPIM_RK2818 || SPIM_RK29
24
25   config TOUCHSCREEN_XPT2046_CBN_SPI
26   bool "800X480 CALIBRATION TOUCHSCREEN"
27   depends on SPIM_RK2818 || SPIM_RK29
28   
29   config TOUCHSCREEN_XPT2046_320X480_SPI
30   bool "320X480 TOUCHSCREEN"
31   depends on SPIM_RK2818 || SPIM_RK29
32   
33   config TOUCHSCREEN_XPT2046_320X480_CBN_SPI
34         bool "320X480 CALIBRATION TOUCHSCREEN"
35         depends on SPIM_RK2818 || SPIM_RK29
36         
37 endchoice
38 config TOUCHSCREEN_ADS7846
39         tristate "ADS7846/TSC2046 and ADS7843 based touchscreens"
40         depends on SPI_MASTER
41         depends on HWMON = n || HWMON
42         help
43           Say Y here if you have a touchscreen interface using the
44           ADS7846/TSC2046 or ADS7843 controller, and your board-specific
45           setup code includes that in its table of SPI devices.
46
47           If HWMON is selected, and the driver is told the reference voltage
48           on your board, you will also get hwmon interfaces for the voltage
49           (and on ads7846/tsc2046, temperature) sensors of this chip.
50
51           If unsure, say N (but it's safe to say "Y").
52
53           To compile this driver as a module, choose M here: the
54           module will be called ads7846.
55
56 config TOUCHSCREEN_AD7877
57         tristate "AD7877 based touchscreens"
58         depends on SPI_MASTER
59         help
60           Say Y here if you have a touchscreen interface using the
61           AD7877 controller, and your board-specific initialization
62           code includes that in its table of SPI devices.
63
64           If unsure, say N (but it's safe to say "Y").
65
66           To compile this driver as a module, choose M here: the
67           module will be called ad7877.
68           
69
70
71 config RK28_I2C_TS_NTP070
72         tristate "NTP070 based touchscreens: NTP070 Interface"
73         depends on I2C_RK2818
74       
75 config TOUCHSCREEN_IT7250
76         tristate "IT7250 based touchscreens: IT7250 Interface"
77         help
78           Say Y here if you have a touchscreen interface using the
79           xpt2046 controller, and your board-specific initialization
80           code includes that in its table of SPI devices.
81
82           If unsure, say N (but it's safe to say "Y").
83
84 config TOUCHSCREEN_AD7879_I2C
85         tristate "AD7879 based touchscreens: AD7879-1 I2C Interface"
86         depends on I2C
87         select TOUCHSCREEN_AD7879
88         help
89           Say Y here if you have a touchscreen interface using the
90           AD7879-1/AD7889-1 controller, and your board-specific
91           initialization code includes that in its table of I2C devices.
92
93           If unsure, say N (but it's safe to say "Y").
94
95           To compile this driver as a module, choose M here: the
96           module will be called ad7879.
97
98 config TOUCHSCREEN_AD7879_SPI
99         tristate "AD7879 based touchscreens: AD7879 SPI Interface"
100         depends on SPI_MASTER && TOUCHSCREEN_AD7879_I2C = n
101         select TOUCHSCREEN_AD7879
102         help
103           Say Y here if you have a touchscreen interface using the
104           AD7879/AD7889 controller, and your board-specific initialization
105           code includes that in its table of SPI devices.
106
107           If unsure, say N (but it's safe to say "Y").
108
109           To compile this driver as a module, choose M here: the
110           module will be called ad7879.
111
112 config TOUCHSCREEN_AD7879
113         tristate
114         default n
115
116 config TOUCHSCREEN_BITSY
117         tristate "Compaq iPAQ H3600 (Bitsy) touchscreen"
118         depends on SA1100_BITSY
119         select SERIO
120         help
121           Say Y here if you have the h3600 (Bitsy) touchscreen.
122
123           If unsure, say N.
124
125           To compile this driver as a module, choose M here: the
126           module will be called h3600_ts_input.
127
128 config TOUCHSCREEN_CORGI
129         tristate "SharpSL (Corgi and Spitz series) touchscreen driver (DEPRECATED)"
130         depends on PXA_SHARPSL
131         select CORGI_SSP_DEPRECATED
132         default y
133         help
134           Say Y here to enable the driver for the touchscreen on the
135           Sharp SL-C7xx and SL-Cxx00 series of PDAs.
136
137           If unsure, say N.
138
139           To compile this driver as a module, choose M here: the
140           module will be called corgi_ts.
141
142           NOTE: this driver is deprecated, try enable SPI and generic
143           ADS7846-based touchscreen driver.
144
145 config TOUCHSCREEN_DA9034
146         tristate "Touchscreen support for Dialog Semiconductor DA9034"
147         depends on PMIC_DA903X
148         default y
149         help
150           Say Y here to enable the support for the touchscreen found
151           on Dialog Semiconductor DA9034 PMIC.
152
153 config TOUCHSCREEN_EETI
154         tristate "EETI touchscreen panel support"
155         depends on I2C
156         help
157           Say Y here to enable support for I2C connected EETI touch panels.
158
159           To compile this driver as a module, choose M here: the
160           module will be called eeti_ts.
161
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.
169
170           If unsure, say N.
171
172           To compile this driver as a module, choose M here: the
173           module will be called fujitsu-ts.
174
175 config TOUCHSCREEN_GUNZE
176         tristate "Gunze AHL-51S touchscreen"
177         select SERIO
178         help
179           Say Y here if you have the Gunze AHL-51 touchscreen connected to
180           your system.
181
182           If unsure, say N.
183
184           To compile this driver as a module, choose M here: the
185           module will be called gunze.
186
187 config TOUCHSCREEN_ELO
188         tristate "Elo serial touchscreens"
189         select SERIO
190         help
191           Say Y here if you have an Elo serial touchscreen connected to
192           your system.
193
194           If unsure, say N.
195
196           To compile this driver as a module, choose M here: the
197           module will be called elo.
198
199 config TOUCHSCREEN_WACOM_W8001
200         tristate "Wacom W8001 penabled serial touchscreen"
201         select SERIO
202         help
203           Say Y here if you have an Wacom W8001 penabled serial touchscreen
204           connected to your system.
205
206           If unsure, say N.
207
208           To compile this driver as a module, choose M here: the
209           module will be called wacom_w8001.
210
211 config TOUCHSCREEN_MCS5000
212         tristate "MELFAS MCS-5000 touchscreen"
213         depends on I2C
214         help
215           Say Y here if you have the MELFAS MCS-5000 touchscreen controller
216           chip in your system.
217
218           If unsure, say N.
219
220           To compile this driver as a module, choose M here: the
221           module will be called mcs5000_ts.
222
223 config TOUCHSCREEN_MTOUCH
224         tristate "MicroTouch serial touchscreens"
225         select SERIO
226         help
227           Say Y here if you have a MicroTouch (3M) serial touchscreen connected to
228           your system.
229
230           If unsure, say N.
231
232           To compile this driver as a module, choose M here: the
233           module will be called mtouch.
234
235 config TOUCHSCREEN_INEXIO
236         tristate "iNexio serial touchscreens"
237         select SERIO
238         help
239           Say Y here if you have an iNexio serial touchscreen connected to
240           your system.
241
242           If unsure, say N.
243
244           To compile this driver as a module, choose M here: the
245           module will be called inexio.
246
247 config TOUCHSCREEN_MK712
248         tristate "ICS MicroClock MK712 touchscreen"
249         help
250           Say Y here if you have the ICS MicroClock MK712 touchscreen
251           controller chip in your system.
252
253           If unsure, say N.
254
255           To compile this driver as a module, choose M here: the
256           module will be called mk712.
257
258 config TOUCHSCREEN_HP600
259         tristate "HP Jornada 6xx touchscreen"
260         depends on SH_HP6XX && SH_ADC
261         help
262           Say Y here if you have a HP Jornada 620/660/680/690 and want to
263           support the built-in touchscreen.
264
265           To compile this driver as a module, choose M here: the
266           module will be called hp680_ts_input.
267
268 config TOUCHSCREEN_HP7XX
269         tristate "HP Jornada 7xx touchscreen"
270         depends on SA1100_JORNADA720_SSP
271         help
272           Say Y here if you have a HP Jornada 710/720/728 and want
273           to support the built-in touchscreen.
274
275           To compile this driver as a module, choose M here: the
276           module will be called jornada720_ts.
277
278 config TOUCHSCREEN_HTCPEN
279         tristate "HTC Shift X9500 touchscreen"
280         depends on ISA
281         help
282           Say Y here if you have an HTC Shift UMPC also known as HTC X9500
283           Clio / Shangrila and want to support the built-in touchscreen.
284
285           If unsure, say N.
286
287           To compile this driver as a module, choose M here: the
288           module will be called htcpen.
289
290 config TOUCHSCREEN_PENMOUNT
291         tristate "Penmount serial touchscreen"
292         select SERIO
293         help
294           Say Y here if you have a Penmount serial touchscreen connected to
295           your system.
296
297           If unsure, say N.
298
299           To compile this driver as a module, choose M here: the
300           module will be called penmount.
301
302 config TOUCHSCREEN_MIGOR
303         tristate "Renesas MIGO-R touchscreen"
304         depends on SH_MIGOR && I2C
305         help
306           Say Y here to enable MIGO-R touchscreen support.
307
308           If unsure, say N.
309
310           To compile this driver as a module, choose M here: the
311           module will be called migor_ts.
312
313 config TOUCHSCREEN_SYNAPTICS_I2C_RMI
314         tristate "Synaptics i2c touchscreen"
315         depends on I2C
316         help
317           This enables support for Synaptics RMI over I2C based touchscreens.
318
319 config TOUCHSCREEN_TOUCHRIGHT
320         tristate "Touchright serial touchscreen"
321         select SERIO
322         help
323           Say Y here if you have a Touchright serial touchscreen connected to
324           your system.
325
326           If unsure, say N.
327
328           To compile this driver as a module, choose M here: the
329           module will be called touchright.
330
331 config TOUCHSCREEN_TOUCHWIN
332         tristate "Touchwin serial touchscreen"
333         select SERIO
334         help
335           Say Y here if you have a Touchwin serial touchscreen connected to
336           your system.
337
338           If unsure, say N.
339
340           To compile this driver as a module, choose M here: the
341           module will be called touchwin.
342
343 config TOUCHSCREEN_ATMEL_TSADCC
344         tristate "Atmel Touchscreen Interface"
345         depends on ARCH_AT91SAM9RL
346         help
347           Say Y here if you have a 4-wire touchscreen connected to the
348           ADC Controller on your Atmel SoC (such as the AT91SAM9RL).
349
350           If unsure, say N.
351
352           To compile this driver as a module, choose M here: the
353           module will be called atmel_tsadcc.
354
355 config TOUCHSCREEN_UCB1400
356         tristate "Philips UCB1400 touchscreen"
357         depends on AC97_BUS
358         depends on UCB1400_CORE
359         help
360           This enables support for the Philips UCB1400 touchscreen interface.
361           The UCB1400 is an AC97 audio codec.  The touchscreen interface
362           will be initialized only after the ALSA subsystem has been
363           brought up and the UCB1400 detected.  You therefore have to
364           configure ALSA support as well (either built-in or modular,
365           independently of whether this driver is itself built-in or
366           modular) for this driver to work.
367
368           To compile this driver as a module, choose M here: the
369           module will be called ucb1400_ts.
370
371 config TOUCHSCREEN_WM97XX
372         tristate "Support for WM97xx AC97 touchscreen controllers"
373         depends on AC97_BUS
374         help
375           Say Y here if you have a Wolfson Microelectronics WM97xx
376           touchscreen connected to your system. Note that this option
377           only enables core driver, you will also need to select
378           support for appropriate chip below.
379
380           If unsure, say N.
381
382           To compile this driver as a module, choose M here: the
383           module will be called wm97xx-ts.
384
385 config TOUCHSCREEN_WM9705
386         bool "WM9705 Touchscreen interface support"
387         depends on TOUCHSCREEN_WM97XX
388         default y
389         help
390           Say Y here to enable support for the Wolfson Microelectronics
391           WM9705 touchscreen controller.
392
393 config TOUCHSCREEN_WM9712
394         bool "WM9712 Touchscreen interface support"
395         depends on TOUCHSCREEN_WM97XX
396         default y
397         help
398           Say Y here to enable support for the Wolfson Microelectronics
399           WM9712 touchscreen controller.
400
401 config TOUCHSCREEN_WM9713
402         bool "WM9713 Touchscreen interface support"
403         depends on TOUCHSCREEN_WM97XX
404         default y
405         help
406           Say Y here to enable support for the Wolfson Microelectronics
407           WM9713 touchscreen controller.
408
409 config TOUCHSCREEN_WM97XX_ATMEL
410         tristate "WM97xx Atmel accelerated touch"
411         depends on TOUCHSCREEN_WM97XX && (AVR32 || ARCH_AT91)
412         help
413           Say Y here for support for streaming mode with WM97xx touchscreens
414           on Atmel AT91 or AVR32 systems with an AC97C module.
415
416           Be aware that this will use channel B in the controller for
417           streaming data, this must not conflict with other AC97C drivers.
418
419           If unsure, say N.
420
421           To compile this driver as a module, choose M here: the module will
422           be called atmel-wm97xx.
423
424 config TOUCHSCREEN_WM97XX_MAINSTONE
425         tristate "WM97xx Mainstone/Palm accelerated touch"
426         depends on TOUCHSCREEN_WM97XX && ARCH_PXA
427         help
428           Say Y here for support for streaming mode with WM97xx touchscreens
429           on Mainstone, Palm Tungsten T5, TX and LifeDrive systems.
430
431           If unsure, say N.
432
433           To compile this driver as a module, choose M here: the
434           module will be called mainstone-wm97xx.
435
436 config TOUCHSCREEN_WM97XX_ZYLONITE
437         tristate "Zylonite accelerated touch"
438         depends on TOUCHSCREEN_WM97XX && MACH_ZYLONITE
439         select TOUCHSCREEN_WM9713
440         help
441           Say Y here for support for streaming mode with the touchscreen
442           on Zylonite systems.
443
444           If unsure, say N.
445
446           To compile this driver as a module, choose M here: the
447           module will be called zylonite-wm97xx.
448
449 config TOUCHSCREEN_USB_COMPOSITE
450         tristate "USB Touchscreen Driver"
451         depends on USB_ARCH_HAS_HCD
452         select USB
453         help
454           USB Touchscreen driver for:
455           - eGalax Touchkit USB (also includes eTurboTouch CT-410/510/700)
456           - PanJit TouchSet USB
457           - 3M MicroTouch USB (EX II series)
458           - ITM
459           - some other eTurboTouch
460           - Gunze AHL61
461           - DMC TSC-10/25
462           - IRTOUCHSYSTEMS/UNITOP
463           - IdealTEK URTC1000
464           - GoTop Super_Q2/GogoPen/PenPower tablets
465           - JASTEC USB Touch Controller/DigiTech DTR-02U
466
467           Have a look at <http://linux.chapter7.ch/touchkit/> for
468           a usage description and the required user-space stuff.
469
470           To compile this driver as a module, choose M here: the
471           module will be called usbtouchscreen.
472
473 config TOUCHSCREEN_USB_EGALAX
474         default y
475         bool "eGalax, eTurboTouch CT-410/510/700 device support" if EMBEDDED
476         depends on TOUCHSCREEN_USB_COMPOSITE
477
478 config TOUCHSCREEN_USB_PANJIT
479         default y
480         bool "PanJit device support" if EMBEDDED
481         depends on TOUCHSCREEN_USB_COMPOSITE
482
483 config TOUCHSCREEN_USB_3M
484         default y
485         bool "3M/Microtouch EX II series device support" if EMBEDDED
486         depends on TOUCHSCREEN_USB_COMPOSITE
487
488 config TOUCHSCREEN_USB_ITM
489         default y
490         bool "ITM device support" if EMBEDDED
491         depends on TOUCHSCREEN_USB_COMPOSITE
492
493 config TOUCHSCREEN_USB_ETURBO
494         default y
495         bool "eTurboTouch (non-eGalax compatible) device support" if EMBEDDED
496         depends on TOUCHSCREEN_USB_COMPOSITE
497
498 config TOUCHSCREEN_USB_GUNZE
499         default y
500         bool "Gunze AHL61 device support" if EMBEDDED
501         depends on TOUCHSCREEN_USB_COMPOSITE
502
503 config TOUCHSCREEN_USB_DMC_TSC10
504         default y
505         bool "DMC TSC-10/25 device support" if EMBEDDED
506         depends on TOUCHSCREEN_USB_COMPOSITE
507
508 config TOUCHSCREEN_USB_IRTOUCH
509         default y
510         bool "IRTOUCHSYSTEMS/UNITOP device support" if EMBEDDED
511         depends on TOUCHSCREEN_USB_COMPOSITE
512
513 config TOUCHSCREEN_USB_IDEALTEK
514         default y
515         bool "IdealTEK URTC1000 device support" if EMBEDDED
516         depends on TOUCHSCREEN_USB_COMPOSITE
517
518 config TOUCHSCREEN_USB_GENERAL_TOUCH
519         default y
520         bool "GeneralTouch Touchscreen device support" if EMBEDDED
521         depends on TOUCHSCREEN_USB_COMPOSITE
522
523 config TOUCHSCREEN_USB_GOTOP
524         default y
525         bool "GoTop Super_Q2/GogoPen/PenPower tablet device support" if EMBEDDED
526         depends on TOUCHSCREEN_USB_COMPOSITE
527
528 config TOUCHSCREEN_USB_JASTEC
529         default y
530         bool "JASTEC/DigiTech DTR-02U USB touch controller device support" if EMBEDDED
531         depends on TOUCHSCREEN_USB_COMPOSITE
532
533 config TOUCHSCREEN_USB_E2I
534         default y
535         bool "e2i Touchscreen controller (e.g. from Mimo 740)"
536         depends on TOUCHSCREEN_USB_COMPOSITE
537
538 config TOUCHSCREEN_TOUCHIT213
539         tristate "Sahara TouchIT-213 touchscreen"
540         select SERIO
541         help
542           Say Y here if you have a Sahara TouchIT-213 Tablet PC.
543
544           If unsure, say N.
545
546           To compile this driver as a module, choose M here: the
547           module will be called touchit213.
548
549 config TOUCHSCREEN_TSC2007
550         tristate "TSC2007 based touchscreens"
551         depends on I2C
552         help
553           Say Y here if you have a TSC2007 based touchscreen.
554
555           If unsure, say N.
556
557           To compile this driver as a module, choose M here: the
558           module will be called tsc2007.
559
560 config TOUCHSCREEN_W90X900
561         tristate "W90P910 touchscreen driver"
562         depends on HAVE_CLK
563         help
564           Say Y here if you have a W90P910 based touchscreen.
565
566           To compile this driver as a module, choose M here: the
567           module will be called w90p910_ts.
568
569 config TOUCHSCREEN_PCAP
570         tristate "Motorola PCAP touchscreen"
571         depends on EZX_PCAP
572         help
573           Say Y here if you have a Motorola EZX telephone and
574           want to enable support for the built-in touchscreen.
575
576           To compile this driver as a module, choose M here: the
577           module will be called pcap_ts.
578
579 config HANNSTAR_P1003
580         tristate "Hannstar P1003 touchscreen"
581         depends on I2C2_RK29
582         help
583           RK29 hannstar touch
584
585         config HANNSTAR_MAX_X
586                 int "hannstar touch x max"
587                 depends on HANNSTAR_P1003
588                 default 1087
589                 help 
590                   RK29 hannstar touch max X size
591
592         config HANNSTAR_MAX_Y
593                 int "hannstar touch Y max"
594                 depends on HANNSTAR_P1003
595                 default 800
596                 help
597                   RK29 hannstar touch max Y size
598
599         config HANNSTAR_DEBUG
600                 bool "hannstar debug"
601                 depends on HANNSTAR_P1003
602                 default n
603                 help
604                   RK29 hannstar touch debug
605
606 config SINTEK_3FA16
607          tristate "Sintek 3FA16  touchscreen"
608         depends on I2C2_RK29
609         help
610           RK29 Sintek touch
611
612         config HANNSTAR_MAX_X
613                 int "Sintek touch x max"
614                 depends on SINTEK_3FA16
615                 default 1024
616                 help
617                   RK29 hannstar touch max X size
618
619         config HANNSTAR_MAX_Y
620                 int "Sintek touch Y max"
621                 depends on SINTEK_3FA16
622                 default 600
623                 help
624                   RK29 hannstar touch max Y size
625
626
627         config HANNSTAR_DEBUG
628                 bool "Sintek debug"
629                 depends on SINTEK_3FA16
630                 default n
631                 help
632                   RK29 hannstar touch debug
633 config EETI_EGALAX
634         tristate "EETI_EGALAX touchscreen panel support"
635         depends on I2C
636         help
637           Say Y here to enable support for I2C connected EETI touch panels.
638
639           To compile this driver as a module, choose M here: the
640           module will be called eeti_egalax_ts.
641         
642         config EETI_EGALAX_MAX_X
643                 int "EETI_EGALAX_MAX_X"
644                 depends on EETI_EGALAX
645                 default 2047
646                 help
647                   RK29 EETI_EGALAX touch max X size
648
649         config EETI_EGALAX_MAX_Y
650                 int "EETI_EGALAX_MAX_Y"
651                 depends on EETI_EGALAX
652                 default 2047
653                 help
654                   RK29 EETI_EGALAX touch max Y size
655
656         config EETI_EGALAX_DEBUG
657                 bool "EETI_EGALAX debug"
658                 depends on EETI_EGALAX
659                 default n
660                 help
661                   RK29 EETI_EGALAX touch debug
662
663 config TOUCHSCREEN_IT7260
664         tristate "IT7260 based touchscreens: IT7260 Interface"
665         depends on I2C2_RK29
666         help
667           Say Y here if you have a touchscreen interface using the
668           it7260 controller, and your board-specific initialization
669           code includes that in its table of I2C devices.
670
671           If unsure, say N (but it's safe to say "Y").
672
673 endif