Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
[pandora-kernel.git] / drivers / input / keyboard / Kconfig
1 #
2 # Input core configuration
3 #
4 menuconfig INPUT_KEYBOARD
5         bool "Keyboards" if EMBEDDED || !X86
6         default y
7         help
8           Say Y here, and a list of supported keyboards will be displayed.
9           This option doesn't affect the kernel.
10
11           If unsure, say Y.
12
13 if INPUT_KEYBOARD
14
15 config KEYBOARD_AAED2000
16         tristate "AAED-2000 keyboard"
17         depends on MACH_AAED2000
18         select INPUT_POLLDEV
19         default y
20         help
21           Say Y here to enable the keyboard on the Agilent AAED-2000
22           development board.
23
24           To compile this driver as a module, choose M here: the
25           module will be called aaed2000_kbd.
26
27 config KEYBOARD_ADP5520
28         tristate "Keypad Support for ADP5520 PMIC"
29         depends on PMIC_ADP5520
30         help
31           This option enables support for the keypad scan matrix
32           on Analog Devices ADP5520 PMICs.
33
34           To compile this driver as a module, choose M here: the module will
35           be called adp5520-keys.
36
37 config KEYBOARD_ADP5588
38         tristate "ADP5588/87 I2C QWERTY Keypad and IO Expander"
39         depends on I2C
40         help
41           Say Y here if you want to use a ADP5588/87 attached to your
42           system I2C bus.
43
44           To compile this driver as a module, choose M here: the
45           module will be called adp5588-keys.
46
47 config KEYBOARD_AMIGA
48         tristate "Amiga keyboard"
49         depends on AMIGA
50         help
51           Say Y here if you are running Linux on any AMIGA and have a keyboard
52           attached.
53
54           To compile this driver as a module, choose M here: the
55           module will be called amikbd.
56
57 config ATARI_KBD_CORE
58         bool
59
60 config KEYBOARD_ATARI
61         tristate "Atari keyboard"
62         depends on ATARI
63         select ATARI_KBD_CORE
64         help
65           Say Y here if you are running Linux on any Atari and have a keyboard
66           attached.
67
68           To compile this driver as a module, choose M here: the
69           module will be called atakbd.
70
71 config KEYBOARD_ATKBD
72         tristate "AT keyboard" if EMBEDDED || !X86
73         default y
74         select SERIO
75         select SERIO_LIBPS2
76         select SERIO_I8042 if X86
77         select SERIO_GSCPS2 if GSC
78         help
79           Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
80           you'll need this, unless you have a different type keyboard (USB, ADB
81           or other). This also works for AT and PS/2 keyboards connected over a
82           PS/2 to serial converter.
83
84           If unsure, say Y.
85
86           To compile this driver as a module, choose M here: the
87           module will be called atkbd.
88
89 config KEYBOARD_ATKBD_HP_KEYCODES
90         bool "Use HP keyboard scancodes"
91         depends on PARISC && KEYBOARD_ATKBD
92         default y
93         help
94           Say Y here if you have a PA-RISC machine and want to use an AT or
95           PS/2 keyboard, and your keyboard uses keycodes that are specific to
96           PA-RISC keyboards.
97
98           Say N if you use a standard keyboard.
99
100 config KEYBOARD_ATKBD_RDI_KEYCODES
101         bool "Use PrecisionBook keyboard scancodes"
102         depends on KEYBOARD_ATKBD_HP_KEYCODES
103         default n
104         help
105           If you have an RDI PrecisionBook, say Y here if you want to use its
106           built-in keyboard (as opposed to an external keyboard).
107
108           The PrecisionBook has five keys that conflict with those used by most
109           AT and PS/2 keyboards. These are as follows:
110
111             PrecisionBook    Standard AT or PS/2
112
113             F1               F12
114             Left Ctrl        Left Alt
115             Caps Lock        Left Ctrl
116             Right Ctrl       Caps Lock
117             Left             102nd key (the key to the right of Left Shift)
118
119           If you say N here, and use the PrecisionBook keyboard, then each key
120           in the left-hand column will be interpreted as the corresponding key
121           in the right-hand column.
122
123           If you say Y here, and use an external keyboard, then each key in the
124           right-hand column will be interpreted as the key shown in the
125           left-hand column.
126
127 config KEYBOARD_QT2160
128         tristate "Atmel AT42QT2160 Touch Sensor Chip"
129         depends on I2C && EXPERIMENTAL
130         help
131           If you say yes here you get support for Atmel AT42QT2160 Touch
132           Sensor chip as a keyboard input.
133
134           This driver can also be built as a module. If so, the module
135           will be called qt2160.
136
137 config KEYBOARD_BFIN
138         tristate "Blackfin BF54x keypad support"
139         depends on (BF54x && !BF544)
140         help
141           Say Y here if you want to use the BF54x keypad.
142
143           To compile this driver as a module, choose M here: the
144           module will be called bf54x-keys.
145
146 config KEYBOARD_LKKBD
147         tristate "DECstation/VAXstation LK201/LK401 keyboard"
148         select SERIO
149         help
150           Say Y here if you want to use a LK201 or LK401 style serial
151           keyboard. This keyboard is also useable on PCs if you attach
152           it with the inputattach program. The connector pinout is
153           described within lkkbd.c.
154
155           To compile this driver as a module, choose M here: the
156           module will be called lkkbd.
157
158 config KEYBOARD_EP93XX
159         tristate "EP93xx Matrix Keypad support"
160         depends on ARCH_EP93XX
161         help
162           Say Y here to enable the matrix keypad on the Cirrus EP93XX.
163
164           To compile this driver as a module, choose M here: the
165           module will be called ep93xx_keypad.
166
167 config KEYBOARD_GPIO
168         tristate "GPIO Buttons"
169         depends on GENERIC_GPIO
170         help
171           This driver implements support for buttons connected
172           to GPIO pins of various CPUs (and some other chips).
173
174           Say Y here if your device has buttons connected
175           directly to such GPIO pins.  Your board-specific
176           setup logic must also provide a platform device,
177           with configuration data saying which GPIOs are used.
178
179           To compile this driver as a module, choose M here: the
180           module will be called gpio_keys.
181
182 config KEYBOARD_GPIO_POLLED
183         tristate "Polled GPIO buttons"
184         depends on GENERIC_GPIO
185         select INPUT_POLLDEV
186         help
187           This driver implements support for buttons connected
188           to GPIO pins that are not capable of generating interrupts.
189
190           Say Y here if your device has buttons connected
191           directly to such GPIO pins.  Your board-specific
192           setup logic must also provide a platform device,
193           with configuration data saying which GPIOs are used.
194
195           To compile this driver as a module, choose M here: the
196           module will be called gpio_keys_polled.
197
198 config KEYBOARD_TCA6416
199         tristate "TCA6416 Keypad Support"
200         depends on I2C
201         help
202           This driver implements basic keypad functionality
203           for keys connected through TCA6416 IO expander
204
205           Say Y here if your device has keys connected to
206           TCA6416 IO expander. Your board-specific setup logic
207           must also provide pin-mask details(of which TCA6416 pins
208           are used for keypad).
209
210           If enabled the complete TCA6416 device will be managed through
211           this driver.
212
213
214 config KEYBOARD_MATRIX
215         tristate "GPIO driven matrix keypad support"
216         depends on GENERIC_GPIO
217         help
218           Enable support for GPIO driven matrix keypad.
219
220           To compile this driver as a module, choose M here: the
221           module will be called matrix_keypad.
222
223 config KEYBOARD_HIL_OLD
224         tristate "HP HIL keyboard support (simple driver)"
225         depends on GSC || HP300
226         default y
227         help
228           The "Human Interface Loop" is a older, 8-channel USB-like
229           controller used in several Hewlett Packard models. This driver
230           was adapted from the one written for m68k/hp300, and implements
231           support for a keyboard attached to the HIL port, but not for
232           any other types of HIL input devices like mice or tablets.
233           However, it has been thoroughly tested and is stable.
234
235           If you want full HIL support including support for multiple
236           keyboards, mice, and tablets, you have to enable the
237           "HP System Device Controller i8042 Support" in the input/serio
238           submenu.
239
240 config KEYBOARD_HIL
241         tristate "HP HIL keyboard/pointer support"
242         depends on GSC || HP300
243         default y
244         select HP_SDC
245         select HIL_MLC
246         select SERIO
247         help
248           The "Human Interface Loop" is a older, 8-channel USB-like
249           controller used in several Hewlett Packard models.
250           This driver implements support for HIL-keyboards and pointing
251           devices (mice, tablets, touchscreens) attached
252           to your machine, so normally you should say Y here.
253
254 config KEYBOARD_HP6XX
255         tristate "HP Jornada 6xx keyboard"
256         depends on SH_HP6XX
257         select INPUT_POLLDEV
258         help
259           Say Y here if you have a HP Jornada 620/660/680/690 and want to
260           support the built-in keyboard.
261
262           To compile this driver as a module, choose M here: the
263           module will be called jornada680_kbd.
264
265 config KEYBOARD_HP7XX
266         tristate "HP Jornada 7xx keyboard"
267         depends on SA1100_JORNADA720_SSP && SA1100_SSP
268         help
269           Say Y here if you have a HP Jornada 710/720/728 and want to
270           support the built-in keyboard.
271
272           To compile this driver as a module, choose M here: the
273           module will be called jornada720_kbd.
274
275 config KEYBOARD_LM8323
276         tristate "LM8323 keypad chip"
277         depends on I2C
278         depends on LEDS_CLASS
279         help
280           If you say yes here you get support for the National Semiconductor
281           LM8323 keypad controller.
282
283           To compile this driver as a module, choose M here: the
284           module will be called lm8323.
285
286 config KEYBOARD_LOCOMO
287         tristate "LoCoMo Keyboard Support"
288         depends on SHARP_LOCOMO
289         help
290           Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA
291
292           To compile this driver as a module, choose M here: the
293           module will be called locomokbd.
294
295 config KEYBOARD_MAPLE
296         tristate "Maple bus keyboard"
297         depends on SH_DREAMCAST && MAPLE
298         help
299           Say Y here if you have a Dreamcast console running Linux and have
300           a keyboard attached to its Maple bus.
301
302           To compile this driver as a module, choose M here: the
303           module will be called maple_keyb.
304
305 config KEYBOARD_MAX7359
306         tristate "Maxim MAX7359 Key Switch Controller"
307         depends on I2C
308         help
309           If you say yes here you get support for the Maxim MAX7359 Key
310           Switch Controller chip. This providers microprocessors with
311           management of up to 64 key switches
312
313           To compile this driver as a module, choose M here: the
314           module will be called max7359_keypad.
315
316 config KEYBOARD_MCS
317         tristate "MELFAS MCS Touchkey"
318         depends on I2C
319         help
320           Say Y here if you have the MELFAS MCS5000/5080 touchkey controller
321           chip in your system.
322
323           If unsure, say N.
324
325           To compile this driver as a module, choose M here: the
326           module will be called mcs_touchkey.
327
328 config KEYBOARD_IMX
329         tristate "IMX keypad support"
330         depends on ARCH_MXC
331         help
332           Enable support for IMX keypad port.
333
334           To compile this driver as a module, choose M here: the
335           module will be called imx_keypad.
336
337 config KEYBOARD_NEWTON
338         tristate "Newton keyboard"
339         select SERIO
340         help
341           Say Y here if you have a Newton keyboard on a serial port.
342
343           To compile this driver as a module, choose M here: the
344           module will be called newtonkbd.
345
346 config KEYBOARD_NOMADIK
347         tristate "ST-Ericsson Nomadik SKE keyboard"
348         depends on PLAT_NOMADIK
349         help
350           Say Y here if you want to use a keypad provided on the SKE controller
351           used on the Ux500 and Nomadik platforms
352
353           To compile this driver as a module, choose M here: the
354           module will be called nmk-ske-keypad.
355
356 config KEYBOARD_OPENCORES
357         tristate "OpenCores Keyboard Controller"
358         help
359           Say Y here if you want to use the OpenCores Keyboard Controller
360           http://www.opencores.org/project,keyboardcontroller
361
362           To compile this driver as a module, choose M here; the
363           module will be called opencores-kbd.
364
365 config KEYBOARD_PXA27x
366         tristate "PXA27x/PXA3xx keypad support"
367         depends on PXA27x || PXA3xx || ARCH_MMP
368         help
369           Enable support for PXA27x/PXA3xx keypad controller.
370
371           To compile this driver as a module, choose M here: the
372           module will be called pxa27x_keypad.
373
374 config KEYBOARD_PXA930_ROTARY
375         tristate "PXA930/PXA935 Enhanced Rotary Controller Support"
376         depends on CPU_PXA930 || CPU_PXA935
377         help
378           Enable support for PXA930/PXA935 Enhanced Rotary Controller.
379
380           To compile this driver as a module, choose M here: the
381           module will be called pxa930_rotary.
382
383 config KEYBOARD_SAMSUNG
384         tristate "Samsung keypad support"
385         depends on SAMSUNG_DEV_KEYPAD
386         help
387           Say Y here if you want to use the Samsung keypad.
388
389           To compile this driver as a module, choose M here: the
390           module will be called samsung-keypad.
391
392 config KEYBOARD_STOWAWAY
393         tristate "Stowaway keyboard"
394         select SERIO
395         help
396           Say Y here if you have a Stowaway keyboard on a serial port.
397           Stowaway compatible keyboards like Dicota Input-PDA keyboard
398           are also supported by this driver.
399
400           To compile this driver as a module, choose M here: the
401           module will be called stowaway.
402
403 config KEYBOARD_SUNKBD
404         tristate "Sun Type 4 and Type 5 keyboard"
405         select SERIO
406         help
407           Say Y here if you want to use a Sun Type 4 or Type 5 keyboard,
408           connected either to the Sun keyboard connector or to an serial
409           (RS-232) port via a simple adapter.
410
411           To compile this driver as a module, choose M here: the
412           module will be called sunkbd.
413
414 config KEYBOARD_SH_KEYSC
415         tristate "SuperH KEYSC keypad support"
416         depends on SUPERH || ARCH_SHMOBILE
417         help
418           Say Y here if you want to use a keypad attached to the KEYSC block
419           on SuperH processors such as sh7722 and sh7343.
420
421           To compile this driver as a module, choose M here: the
422           module will be called sh_keysc.
423
424 config KEYBOARD_STMPE
425         tristate "STMPE keypad support"
426         depends on MFD_STMPE
427         help
428           Say Y here if you want to use the keypad controller on STMPE I/O
429           expanders.
430
431           To compile this driver as a module, choose M here: the module will be
432           called stmpe-keypad.
433
434 config KEYBOARD_DAVINCI
435         tristate "TI DaVinci Key Scan"
436         depends on ARCH_DAVINCI_DM365
437         help
438           Say Y to enable keypad module support for the TI DaVinci
439           platforms (DM365).
440
441           To compile this driver as a module, choose M here: the
442           module will be called davinci_keyscan.
443
444 config KEYBOARD_OMAP
445         tristate "TI OMAP keypad support"
446         depends on (ARCH_OMAP1 || ARCH_OMAP2)
447         help
448           Say Y here if you want to use the OMAP keypad.
449
450           To compile this driver as a module, choose M here: the
451           module will be called omap-keypad.
452
453 config KEYBOARD_OMAP4
454         tristate "TI OMAP4 keypad support"
455         depends on ARCH_OMAP4
456         help
457           Say Y here if you want to use the OMAP4 keypad.
458
459           To compile this driver as a module, choose M here: the
460           module will be called omap4-keypad.
461
462 config KEYBOARD_TC3589X
463         tristate "TC3589X Keypad support"
464         depends on MFD_TC3589X
465         help
466           Say Y here if you want to use the keypad controller on
467           TC35892/3 I/O expander.
468
469           To compile this driver as a module, choose M here: the
470           module will be called tc3589x-keypad.
471
472 config KEYBOARD_TNETV107X
473         tristate "TI TNETV107X keypad support"
474         depends on ARCH_DAVINCI_TNETV107X
475         help
476           Say Y here if you want to use the TNETV107X keypad.
477
478           To compile this driver as a module, choose M here: the
479           module will be called tnetv107x-keypad.
480
481 config KEYBOARD_TWL4030
482         tristate "TI TWL4030/TWL5030/TPS659x0 keypad support"
483         depends on TWL4030_CORE
484         help
485           Say Y here if your board use the keypad controller on
486           TWL4030 family chips.  It's safe to say enable this
487           even on boards that don't use the keypad controller.
488
489           To compile this driver as a module, choose M here: the
490           module will be called twl4030_keypad.
491
492 config KEYBOARD_XTKBD
493         tristate "XT keyboard"
494         select SERIO
495         help
496           Say Y here if you want to use the old IBM PC/XT keyboard (or
497           compatible) on your system. This is only possible with a
498           parallel port keyboard adapter, you cannot connect it to the
499           keyboard port on a PC that runs Linux.
500
501           To compile this driver as a module, choose M here: the
502           module will be called xtkbd.
503
504 config KEYBOARD_W90P910
505         tristate "W90P910 Matrix Keypad support"
506         depends on ARCH_W90X900
507         help
508           Say Y here to enable the matrix keypad on evaluation board
509           based on W90P910.
510
511           To compile this driver as a module, choose M here: the
512           module will be called w90p910_keypad.
513
514 endif