xref: /openbmc/linux/drivers/input/keyboard/Kconfig (revision bab7614d)
1#
2# Input core configuration
3#
4menuconfig 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
13if INPUT_KEYBOARD
14
15config 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
27config KEYBOARD_AMIGA
28	tristate "Amiga keyboard"
29	depends on AMIGA
30	help
31	  Say Y here if you are running Linux on any AMIGA and have a keyboard
32	  attached.
33
34	  To compile this driver as a module, choose M here: the
35	  module will be called amikbd.
36
37config ATARI_KBD_CORE
38	bool
39
40config KEYBOARD_ATARI
41	tristate "Atari keyboard"
42	depends on ATARI
43	select ATARI_KBD_CORE
44	help
45	  Say Y here if you are running Linux on any Atari and have a keyboard
46	  attached.
47
48	  To compile this driver as a module, choose M here: the
49	  module will be called atakbd.
50
51config KEYBOARD_ATKBD
52	tristate "AT keyboard" if EMBEDDED || !X86
53	default y
54	select SERIO
55	select SERIO_LIBPS2
56	select SERIO_I8042 if X86
57	select SERIO_GSCPS2 if GSC
58	help
59	  Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
60	  you'll need this, unless you have a different type keyboard (USB, ADB
61	  or other). This also works for AT and PS/2 keyboards connected over a
62	  PS/2 to serial converter.
63
64	  If unsure, say Y.
65
66	  To compile this driver as a module, choose M here: the
67	  module will be called atkbd.
68
69config KEYBOARD_ATKBD_HP_KEYCODES
70	bool "Use HP keyboard scancodes"
71	depends on PARISC && KEYBOARD_ATKBD
72	default y
73	help
74	  Say Y here if you have a PA-RISC machine and want to use an AT or
75	  PS/2 keyboard, and your keyboard uses keycodes that are specific to
76	  PA-RISC keyboards.
77
78	  Say N if you use a standard keyboard.
79
80config KEYBOARD_ATKBD_RDI_KEYCODES
81	bool "Use PrecisionBook keyboard scancodes"
82	depends on KEYBOARD_ATKBD_HP_KEYCODES
83	default n
84	help
85	  If you have an RDI PrecisionBook, say Y here if you want to use its
86	  built-in keyboard (as opposed to an external keyboard).
87
88	  The PrecisionBook has five keys that conflict with those used by most
89	  AT and PS/2 keyboards. These are as follows:
90
91	    PrecisionBook    Standard AT or PS/2
92
93	    F1               F12
94	    Left Ctrl        Left Alt
95	    Caps Lock        Left Ctrl
96	    Right Ctrl       Caps Lock
97	    Left             102nd key (the key to the right of Left Shift)
98
99	  If you say N here, and use the PrecisionBook keyboard, then each key
100	  in the left-hand column will be interpreted as the corresponding key
101	  in the right-hand column.
102
103	  If you say Y here, and use an external keyboard, then each key in the
104	  right-hand column will be interpreted as the key shown in the
105	  left-hand column.
106
107config KEYBOARD_BFIN
108	tristate "Blackfin BF54x keypad support"
109	depends on (BF54x && !BF544)
110	help
111	  Say Y here if you want to use the BF54x keypad.
112
113	  To compile this driver as a module, choose M here: the
114	  module will be called bf54x-keys.
115
116config KEYBOARD_CORGI
117	tristate "Corgi keyboard"
118	depends on PXA_SHARPSL
119	default y
120	help
121	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
122	  series of PDAs.
123
124	  To compile this driver as a module, choose M here: the
125	  module will be called corgikbd.
126
127config KEYBOARD_LKKBD
128	tristate "DECstation/VAXstation LK201/LK401 keyboard"
129	select SERIO
130	help
131	  Say Y here if you want to use a LK201 or LK401 style serial
132	  keyboard. This keyboard is also useable on PCs if you attach
133	  it with the inputattach program. The connector pinout is
134	  described within lkkbd.c.
135
136	  To compile this driver as a module, choose M here: the
137	  module will be called lkkbd.
138
139config KEYBOARD_EP93XX
140	tristate "EP93xx Matrix Keypad support"
141	depends on ARCH_EP93XX
142	help
143	  Say Y here to enable the matrix keypad on the Cirrus EP93XX.
144
145	  To compile this driver as a module, choose M here: the
146	  module will be called ep93xx_keypad.
147
148config KEYBOARD_GPIO
149	tristate "GPIO Buttons"
150	depends on GENERIC_GPIO
151	help
152	  This driver implements support for buttons connected
153	  to GPIO pins of various CPUs (and some other chips).
154
155	  Say Y here if your device has buttons connected
156	  directly to such GPIO pins.  Your board-specific
157	  setup logic must also provide a platform device,
158	  with configuration data saying which GPIOs are used.
159
160	  To compile this driver as a module, choose M here: the
161	  module will be called gpio_keys.
162
163config KEYBOARD_MATRIX
164	tristate "GPIO driven matrix keypad support"
165	depends on GENERIC_GPIO
166	help
167	  Enable support for GPIO driven matrix keypad.
168
169	  To compile this driver as a module, choose M here: the
170	  module will be called matrix_keypad.
171
172config KEYBOARD_HIL_OLD
173	tristate "HP HIL keyboard support (simple driver)"
174	depends on GSC || HP300
175	default y
176	help
177	  The "Human Interface Loop" is a older, 8-channel USB-like
178	  controller used in several Hewlett Packard models. This driver
179	  was adapted from the one written for m68k/hp300, and implements
180	  support for a keyboard attached to the HIL port, but not for
181	  any other types of HIL input devices like mice or tablets.
182	  However, it has been thoroughly tested and is stable.
183
184	  If you want full HIL support including support for multiple
185	  keyboards, mice, and tablets, you have to enable the
186	  "HP System Device Controller i8042 Support" in the input/serio
187	  submenu.
188
189config KEYBOARD_HIL
190	tristate "HP HIL keyboard support"
191	depends on GSC || HP300
192	default y
193	select HP_SDC
194	select HIL_MLC
195	select SERIO
196	help
197	  The "Human Interface Loop" is a older, 8-channel USB-like
198	  controller used in several Hewlett Packard models.
199	  This driver implements support for HIL-keyboards attached
200	  to your machine, so normally you should say Y here.
201
202config KEYBOARD_HP6XX
203	tristate "HP Jornada 6xx keyboard"
204	depends on SH_HP6XX
205	select INPUT_POLLDEV
206	help
207	  Say Y here if you have a HP Jornada 620/660/680/690 and want to
208	  support the built-in keyboard.
209
210	  To compile this driver as a module, choose M here: the
211	  module will be called jornada680_kbd.
212
213config KEYBOARD_HP7XX
214	tristate "HP Jornada 7xx keyboard"
215	depends on SA1100_JORNADA720_SSP && SA1100_SSP
216	help
217	  Say Y here if you have a HP Jornada 710/720/728 and want to
218	  support the built-in keyboard.
219
220	  To compile this driver as a module, choose M here: the
221	  module will be called jornada720_kbd.
222
223config KEYBOARD_LM8323
224	tristate "LM8323 keypad chip"
225	depends on I2C
226	depends on LEDS_CLASS
227	help
228	  If you say yes here you get support for the National Semiconductor
229	  LM8323 keypad controller.
230
231	  To compile this driver as a module, choose M here: the
232	  module will be called lm8323.
233
234config KEYBOARD_LOCOMO
235	tristate "LoCoMo Keyboard Support"
236	depends on SHARP_LOCOMO
237	help
238	  Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA
239
240	  To compile this driver as a module, choose M here: the
241	  module will be called locomokbd.
242
243config KEYBOARD_MAPLE
244	tristate "Maple bus keyboard"
245	depends on SH_DREAMCAST && MAPLE
246	help
247	  Say Y here if you have a Dreamcast console running Linux and have
248	  a keyboard attached to its Maple bus.
249
250	  To compile this driver as a module, choose M here: the
251	  module will be called maple_keyb.
252
253config KEYBOARD_NEWTON
254	tristate "Newton keyboard"
255	select SERIO
256	help
257	  Say Y here if you have a Newton keyboard on a serial port.
258
259	  To compile this driver as a module, choose M here: the
260	  module will be called newtonkbd.
261
262config KEYBOARD_PXA27x
263	tristate "PXA27x/PXA3xx keypad support"
264	depends on PXA27x || PXA3xx
265	help
266	  Enable support for PXA27x/PXA3xx keypad controller.
267
268	  To compile this driver as a module, choose M here: the
269	  module will be called pxa27x_keypad.
270
271config KEYBOARD_PXA930_ROTARY
272	tristate "PXA930/PXA935 Enhanced Rotary Controller Support"
273	depends on CPU_PXA930 || CPU_PXA935
274	help
275	  Enable support for PXA930/PXA935 Enhanced Rotary Controller.
276
277	  To compile this driver as a module, choose M here: the
278	  module will be called pxa930_rotary.
279
280config KEYBOARD_SPITZ
281	tristate "Spitz keyboard"
282	depends on PXA_SHARPSL
283	default y
284	help
285	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000,
286	  SL-C3000 and Sl-C3100 series of PDAs.
287
288	  To compile this driver as a module, choose M here: the
289	  module will be called spitzkbd.
290
291config KEYBOARD_STOWAWAY
292	tristate "Stowaway keyboard"
293	select SERIO
294	help
295	  Say Y here if you have a Stowaway keyboard on a serial port.
296	  Stowaway compatible keyboards like Dicota Input-PDA keyboard
297	  are also supported by this driver.
298
299	  To compile this driver as a module, choose M here: the
300	  module will be called stowaway.
301
302config KEYBOARD_SUNKBD
303	tristate "Sun Type 4 and Type 5 keyboard"
304	select SERIO
305	help
306	  Say Y here if you want to use a Sun Type 4 or Type 5 keyboard,
307	  connected either to the Sun keyboard connector or to an serial
308	  (RS-232) port via a simple adapter.
309
310	  To compile this driver as a module, choose M here: the
311	  module will be called sunkbd.
312
313config KEYBOARD_SH_KEYSC
314	tristate "SuperH KEYSC keypad support"
315	depends on SUPERH
316	help
317	  Say Y here if you want to use a keypad attached to the KEYSC block
318	  on SuperH processors such as sh7722 and sh7343.
319
320	  To compile this driver as a module, choose M here: the
321	  module will be called sh_keysc.
322
323config KEYBOARD_OMAP
324	tristate "TI OMAP keypad support"
325	depends on (ARCH_OMAP1 || ARCH_OMAP2)
326	help
327	  Say Y here if you want to use the OMAP keypad.
328
329	  To compile this driver as a module, choose M here: the
330	  module will be called omap-keypad.
331
332config KEYBOARD_TOSA
333	tristate "Tosa keyboard"
334	depends on MACH_TOSA
335	default y
336	help
337	  Say Y here to enable the keyboard on the Sharp Zaurus SL-6000x (Tosa)
338
339	  To compile this driver as a module, choose M here: the
340	  module will be called tosakbd.
341
342config KEYBOARD_TOSA_USE_EXT_KEYCODES
343	bool "Tosa keyboard: use extended keycodes"
344	depends on KEYBOARD_TOSA
345	help
346	  Say Y here to enable the tosa keyboard driver to generate extended
347	  (>= 127) keycodes. Be aware, that they can't be correctly interpreted
348	  by either console keyboard driver or by Kdrive keybd driver.
349
350	  Say Y only if you know, what you are doing!
351
352config KEYBOARD_XTKBD
353	tristate "XT keyboard"
354	select SERIO
355	help
356	  Say Y here if you want to use the old IBM PC/XT keyboard (or
357	  compatible) on your system. This is only possible with a
358	  parallel port keyboard adapter, you cannot connect it to the
359	  keyboard port on a PC that runs Linux.
360
361	  To compile this driver as a module, choose M here: the
362	  module will be called xtkbd.
363
364endif
365