2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Input core configuration
|
|
|
|
#
|
|
|
|
menuconfig INPUT_KEYBOARD
|
2011-01-20 22:44:16 +00:00
|
|
|
bool "Keyboards" if EXPERT || !X86
|
2005-04-16 22:20:36 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here, and a list of supported keyboards will be displayed.
|
|
|
|
This option doesn't affect the kernel.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
if INPUT_KEYBOARD
|
|
|
|
|
2009-10-10 17:54:02 +00:00
|
|
|
config KEYBOARD_ADP5520
|
|
|
|
tristate "Keypad Support for ADP5520 PMIC"
|
|
|
|
depends on PMIC_ADP5520
|
|
|
|
help
|
|
|
|
This option enables support for the keypad scan matrix
|
|
|
|
on Analog Devices ADP5520 PMICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
|
|
be called adp5520-keys.
|
|
|
|
|
2009-09-18 05:39:38 +00:00
|
|
|
config KEYBOARD_ADP5588
|
2010-01-19 08:28:44 +00:00
|
|
|
tristate "ADP5588/87 I2C QWERTY Keypad and IO Expander"
|
2009-09-18 05:39:38 +00:00
|
|
|
depends on I2C
|
|
|
|
help
|
2010-01-19 08:28:44 +00:00
|
|
|
Say Y here if you want to use a ADP5588/87 attached to your
|
2009-09-18 05:39:38 +00:00
|
|
|
system I2C bus.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called adp5588-keys.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_AMIGA
|
|
|
|
tristate "Amiga keyboard"
|
|
|
|
depends on AMIGA
|
|
|
|
help
|
|
|
|
Say Y here if you are running Linux on any AMIGA and have a keyboard
|
|
|
|
attached.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called amikbd.
|
|
|
|
|
|
|
|
config ATARI_KBD_CORE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config KEYBOARD_ATARI
|
|
|
|
tristate "Atari keyboard"
|
|
|
|
depends on ATARI
|
|
|
|
select ATARI_KBD_CORE
|
|
|
|
help
|
|
|
|
Say Y here if you are running Linux on any Atari and have a keyboard
|
|
|
|
attached.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called atakbd.
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config KEYBOARD_ATKBD
|
2011-01-20 22:44:16 +00:00
|
|
|
tristate "AT keyboard" if EXPERT || !X86
|
2005-04-16 22:20:36 +00:00
|
|
|
default y
|
|
|
|
select SERIO
|
|
|
|
select SERIO_LIBPS2
|
2010-07-05 15:03:20 +00:00
|
|
|
select SERIO_I8042 if X86
|
2005-04-16 22:20:36 +00:00
|
|
|
select SERIO_GSCPS2 if GSC
|
|
|
|
help
|
|
|
|
Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
|
|
|
|
you'll need this, unless you have a different type keyboard (USB, ADB
|
|
|
|
or other). This also works for AT and PS/2 keyboards connected over a
|
|
|
|
PS/2 to serial converter.
|
|
|
|
|
|
|
|
If unsure, say Y.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called atkbd.
|
|
|
|
|
|
|
|
config KEYBOARD_ATKBD_HP_KEYCODES
|
|
|
|
bool "Use HP keyboard scancodes"
|
|
|
|
depends on PARISC && KEYBOARD_ATKBD
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here if you have a PA-RISC machine and want to use an AT or
|
|
|
|
PS/2 keyboard, and your keyboard uses keycodes that are specific to
|
|
|
|
PA-RISC keyboards.
|
|
|
|
|
|
|
|
Say N if you use a standard keyboard.
|
|
|
|
|
|
|
|
config KEYBOARD_ATKBD_RDI_KEYCODES
|
|
|
|
bool "Use PrecisionBook keyboard scancodes"
|
|
|
|
depends on KEYBOARD_ATKBD_HP_KEYCODES
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If you have an RDI PrecisionBook, say Y here if you want to use its
|
|
|
|
built-in keyboard (as opposed to an external keyboard).
|
|
|
|
|
|
|
|
The PrecisionBook has five keys that conflict with those used by most
|
|
|
|
AT and PS/2 keyboards. These are as follows:
|
|
|
|
|
|
|
|
PrecisionBook Standard AT or PS/2
|
|
|
|
|
|
|
|
F1 F12
|
|
|
|
Left Ctrl Left Alt
|
|
|
|
Caps Lock Left Ctrl
|
|
|
|
Right Ctrl Caps Lock
|
|
|
|
Left 102nd key (the key to the right of Left Shift)
|
|
|
|
|
|
|
|
If you say N here, and use the PrecisionBook keyboard, then each key
|
|
|
|
in the left-hand column will be interpreted as the corresponding key
|
|
|
|
in the right-hand column.
|
|
|
|
|
|
|
|
If you say Y here, and use an external keyboard, then each key in the
|
|
|
|
right-hand column will be interpreted as the key shown in the
|
|
|
|
left-hand column.
|
|
|
|
|
2011-03-14 06:34:59 +00:00
|
|
|
config KEYBOARD_QT1070
|
|
|
|
tristate "Atmel AT42QT1070 Touch Sensor Chip"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here if you want to use Atmel AT42QT1070 QTouch
|
|
|
|
Sensor chip as input device.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here:
|
|
|
|
the module will be called qt1070
|
|
|
|
|
2010-07-17 21:29:06 +00:00
|
|
|
config KEYBOARD_QT2160
|
2009-09-22 05:24:06 +00:00
|
|
|
tristate "Atmel AT42QT2160 Touch Sensor Chip"
|
|
|
|
depends on I2C && EXPERIMENTAL
|
|
|
|
help
|
|
|
|
If you say yes here you get support for Atmel AT42QT2160 Touch
|
|
|
|
Sensor chip as a keyboard input.
|
|
|
|
|
|
|
|
This driver can also be built as a module. If so, the module
|
|
|
|
will be called qt2160.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_BFIN
|
|
|
|
tristate "Blackfin BF54x keypad support"
|
|
|
|
depends on (BF54x && !BF544)
|
2006-09-19 05:59:32 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you want to use the BF54x keypad.
|
2006-09-19 05:59:32 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called bf54x-keys.
|
2006-09-19 05:59:32 +00:00
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_LKKBD
|
|
|
|
tristate "DECstation/VAXstation LK201/LK401 keyboard"
|
|
|
|
select SERIO
|
2005-09-13 08:25:35 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you want to use a LK201 or LK401 style serial
|
|
|
|
keyboard. This keyboard is also useable on PCs if you attach
|
|
|
|
it with the inputattach program. The connector pinout is
|
|
|
|
described within lkkbd.c.
|
2005-09-13 08:25:35 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called lkkbd.
|
2005-09-13 08:25:35 +00:00
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_EP93XX
|
|
|
|
tristate "EP93xx Matrix Keypad support"
|
|
|
|
depends on ARCH_EP93XX
|
2008-01-21 06:04:20 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here to enable the matrix keypad on the Cirrus EP93XX.
|
2008-01-21 06:04:20 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called ep93xx_keypad.
|
2008-01-21 06:04:20 +00:00
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_GPIO
|
|
|
|
tristate "GPIO Buttons"
|
|
|
|
depends on GENERIC_GPIO
|
2005-04-16 22:20:36 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
This driver implements support for buttons connected
|
|
|
|
to GPIO pins of various CPUs (and some other chips).
|
2007-06-20 10:23:33 +00:00
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if your device has buttons connected
|
|
|
|
directly to such GPIO pins. Your board-specific
|
|
|
|
setup logic must also provide a platform device,
|
|
|
|
with configuration data saying which GPIOs are used.
|
2007-05-01 20:32:38 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
Input: add support for generic GPIO-based matrix keypad
Original patch by Marek Vasut, modified by Eric in:
1. use delayed work to simplify the debouncing
2. combine col_polarity/row_polarity into a single active_low field
3. use a generic bit array based XOR algorithm to detect key
press/release, which should make the column assertion time
shorter and code a bit cleaner
4. remove the ALT_FN handling, which is no way generic, the ALT_FN
key should be treated as no different from other keys, and
translation will be done by user space by commands like 'loadkeys'.
5. explicitly disable row IRQs and flush potential pending work,
and schedule an immediate scan after resuming as suggested
by Uli Luckas
6. incorporate review comments from many others
Patch tested on Littleton/PXA310 (though PXA310 has a dedicate keypad
controller, I have to configure those pins as generic GPIO to use this
driver, works quite well, though), and Sharp Zaurus model SL-C7x0
and SL-C1000.
[dtor@mail.ru: fix error unwinding path, support changing keymap
from userspace]
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Reviewed-by: Uli Luckas <u.luckas@road.de>
Reviewed-by: Russell King <linux@arm.linux.org.uk>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-06-29 07:20:52 +00:00
|
|
|
module will be called gpio_keys.
|
|
|
|
|
2010-12-07 01:14:47 +00:00
|
|
|
config KEYBOARD_GPIO_POLLED
|
|
|
|
tristate "Polled GPIO buttons"
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
select INPUT_POLLDEV
|
|
|
|
help
|
|
|
|
This driver implements support for buttons connected
|
|
|
|
to GPIO pins that are not capable of generating interrupts.
|
|
|
|
|
|
|
|
Say Y here if your device has buttons connected
|
|
|
|
directly to such GPIO pins. Your board-specific
|
|
|
|
setup logic must also provide a platform device,
|
|
|
|
with configuration data saying which GPIOs are used.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called gpio_keys_polled.
|
|
|
|
|
2010-05-04 06:47:12 +00:00
|
|
|
config KEYBOARD_TCA6416
|
2010-12-07 10:54:00 +00:00
|
|
|
tristate "TCA6416/TCA6408A Keypad Support"
|
2010-05-04 06:47:12 +00:00
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
This driver implements basic keypad functionality
|
2010-12-07 10:54:00 +00:00
|
|
|
for keys connected through TCA6416/TCA6408A IO expanders.
|
2010-05-04 06:47:12 +00:00
|
|
|
|
|
|
|
Say Y here if your device has keys connected to
|
2010-12-07 10:54:00 +00:00
|
|
|
TCA6416/TCA6408A IO expander. Your board-specific setup logic
|
2010-05-04 06:47:12 +00:00
|
|
|
must also provide pin-mask details(of which TCA6416 pins
|
|
|
|
are used for keypad).
|
|
|
|
|
2010-12-07 10:54:00 +00:00
|
|
|
If enabled the entire TCA6416 device will be managed through
|
2010-05-04 06:47:12 +00:00
|
|
|
this driver.
|
|
|
|
|
2010-12-07 10:54:00 +00:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called tca6416_keypad.
|
2010-05-04 06:47:12 +00:00
|
|
|
|
Input: add support for generic GPIO-based matrix keypad
Original patch by Marek Vasut, modified by Eric in:
1. use delayed work to simplify the debouncing
2. combine col_polarity/row_polarity into a single active_low field
3. use a generic bit array based XOR algorithm to detect key
press/release, which should make the column assertion time
shorter and code a bit cleaner
4. remove the ALT_FN handling, which is no way generic, the ALT_FN
key should be treated as no different from other keys, and
translation will be done by user space by commands like 'loadkeys'.
5. explicitly disable row IRQs and flush potential pending work,
and schedule an immediate scan after resuming as suggested
by Uli Luckas
6. incorporate review comments from many others
Patch tested on Littleton/PXA310 (though PXA310 has a dedicate keypad
controller, I have to configure those pins as generic GPIO to use this
driver, works quite well, though), and Sharp Zaurus model SL-C7x0
and SL-C1000.
[dtor@mail.ru: fix error unwinding path, support changing keymap
from userspace]
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Reviewed-by: Uli Luckas <u.luckas@road.de>
Reviewed-by: Russell King <linux@arm.linux.org.uk>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-06-29 07:20:52 +00:00
|
|
|
config KEYBOARD_MATRIX
|
|
|
|
tristate "GPIO driven matrix keypad support"
|
|
|
|
depends on GENERIC_GPIO
|
|
|
|
help
|
|
|
|
Enable support for GPIO driven matrix keypad.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called matrix_keypad.
|
2007-05-01 20:32:38 +00:00
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
config KEYBOARD_HIL_OLD
|
|
|
|
tristate "HP HIL keyboard support (simple driver)"
|
2006-10-09 20:22:37 +00:00
|
|
|
depends on GSC || HP300
|
2005-04-16 22:20:36 +00:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
The "Human Interface Loop" is a older, 8-channel USB-like
|
|
|
|
controller used in several Hewlett Packard models. This driver
|
|
|
|
was adapted from the one written for m68k/hp300, and implements
|
|
|
|
support for a keyboard attached to the HIL port, but not for
|
|
|
|
any other types of HIL input devices like mice or tablets.
|
|
|
|
However, it has been thoroughly tested and is stable.
|
|
|
|
|
|
|
|
If you want full HIL support including support for multiple
|
2006-10-03 20:31:37 +00:00
|
|
|
keyboards, mice, and tablets, you have to enable the
|
2005-04-16 22:20:36 +00:00
|
|
|
"HP System Device Controller i8042 Support" in the input/serio
|
|
|
|
submenu.
|
|
|
|
|
|
|
|
config KEYBOARD_HIL
|
2009-08-08 06:17:47 +00:00
|
|
|
tristate "HP HIL keyboard/pointer support"
|
2006-10-09 20:22:37 +00:00
|
|
|
depends on GSC || HP300
|
2005-04-16 22:20:36 +00:00
|
|
|
default y
|
|
|
|
select HP_SDC
|
|
|
|
select HIL_MLC
|
|
|
|
select SERIO
|
|
|
|
help
|
|
|
|
The "Human Interface Loop" is a older, 8-channel USB-like
|
|
|
|
controller used in several Hewlett Packard models.
|
2009-08-08 06:17:47 +00:00
|
|
|
This driver implements support for HIL-keyboards and pointing
|
|
|
|
devices (mice, tablets, touchscreens) attached
|
2005-04-16 22:20:36 +00:00
|
|
|
to your machine, so normally you should say Y here.
|
|
|
|
|
2007-09-26 04:02:35 +00:00
|
|
|
config KEYBOARD_HP6XX
|
2008-01-14 05:54:23 +00:00
|
|
|
tristate "HP Jornada 6xx keyboard"
|
2007-09-26 04:02:35 +00:00
|
|
|
depends on SH_HP6XX
|
|
|
|
select INPUT_POLLDEV
|
|
|
|
help
|
2008-01-14 05:54:23 +00:00
|
|
|
Say Y here if you have a HP Jornada 620/660/680/690 and want to
|
|
|
|
support the built-in keyboard.
|
2007-09-26 04:02:35 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called jornada680_kbd.
|
|
|
|
|
2007-09-26 04:02:49 +00:00
|
|
|
config KEYBOARD_HP7XX
|
2008-01-14 05:54:23 +00:00
|
|
|
tristate "HP Jornada 7xx keyboard"
|
2007-09-26 04:02:49 +00:00
|
|
|
depends on SA1100_JORNADA720_SSP && SA1100_SSP
|
|
|
|
help
|
2008-01-14 05:54:23 +00:00
|
|
|
Say Y here if you have a HP Jornada 710/720/728 and want to
|
|
|
|
support the built-in keyboard.
|
2007-09-26 04:02:49 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called jornada720_kbd.
|
|
|
|
|
2009-05-16 03:12:47 +00:00
|
|
|
config KEYBOARD_LM8323
|
|
|
|
tristate "LM8323 keypad chip"
|
|
|
|
depends on I2C
|
|
|
|
depends on LEDS_CLASS
|
|
|
|
help
|
|
|
|
If you say yes here you get support for the National Semiconductor
|
|
|
|
LM8323 keypad controller.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called lm8323.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_LOCOMO
|
|
|
|
tristate "LoCoMo Keyboard Support"
|
|
|
|
depends on SHARP_LOCOMO
|
2006-09-29 08:59:19 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA
|
2006-09-29 08:59:19 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called locomokbd.
|
|
|
|
|
|
|
|
config KEYBOARD_MAPLE
|
|
|
|
tristate "Maple bus keyboard"
|
|
|
|
depends on SH_DREAMCAST && MAPLE
|
|
|
|
help
|
|
|
|
Say Y here if you have a Dreamcast console running Linux and have
|
|
|
|
a keyboard attached to its Maple bus.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called maple_keyb.
|
|
|
|
|
2009-09-22 05:17:04 +00:00
|
|
|
config KEYBOARD_MAX7359
|
|
|
|
tristate "Maxim MAX7359 Key Switch Controller"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
If you say yes here you get support for the Maxim MAX7359 Key
|
|
|
|
Switch Controller chip. This providers microprocessors with
|
|
|
|
management of up to 64 key switches
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called max7359_keypad.
|
|
|
|
|
2010-07-04 08:21:25 +00:00
|
|
|
config KEYBOARD_MCS
|
|
|
|
tristate "MELFAS MCS Touchkey"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Say Y here if you have the MELFAS MCS5000/5080 touchkey controller
|
|
|
|
chip in your system.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mcs_touchkey.
|
|
|
|
|
2010-02-01 01:52:07 +00:00
|
|
|
config KEYBOARD_IMX
|
|
|
|
tristate "IMX keypad support"
|
|
|
|
depends on ARCH_MXC
|
|
|
|
help
|
|
|
|
Enable support for IMX keypad port.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called imx_keypad.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_NEWTON
|
|
|
|
tristate "Newton keyboard"
|
|
|
|
select SERIO
|
|
|
|
help
|
|
|
|
Say Y here if you have a Newton keyboard on a serial port.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called newtonkbd.
|
2006-09-29 08:59:19 +00:00
|
|
|
|
2010-09-30 02:42:14 +00:00
|
|
|
config KEYBOARD_NOMADIK
|
|
|
|
tristate "ST-Ericsson Nomadik SKE keyboard"
|
|
|
|
depends on PLAT_NOMADIK
|
|
|
|
help
|
|
|
|
Say Y here if you want to use a keypad provided on the SKE controller
|
|
|
|
used on the Ux500 and Nomadik platforms
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called nmk-ske-keypad.
|
|
|
|
|
2011-01-20 07:38:47 +00:00
|
|
|
config KEYBOARD_TEGRA
|
|
|
|
tristate "NVIDIA Tegra internal matrix keyboard controller support"
|
|
|
|
depends on ARCH_TEGRA
|
|
|
|
help
|
|
|
|
Say Y here if you want to use a matrix keyboard connected directly
|
|
|
|
to the internal keyboard controller on Tegra SoCs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called tegra-kbc.
|
|
|
|
|
2009-09-16 08:06:42 +00:00
|
|
|
config KEYBOARD_OPENCORES
|
|
|
|
tristate "OpenCores Keyboard Controller"
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the OpenCores Keyboard Controller
|
|
|
|
http://www.opencores.org/project,keyboardcontroller
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here; the
|
|
|
|
module will be called opencores-kbd.
|
|
|
|
|
2007-03-16 04:58:52 +00:00
|
|
|
config KEYBOARD_PXA27x
|
2008-01-31 05:59:31 +00:00
|
|
|
tristate "PXA27x/PXA3xx keypad support"
|
2010-09-03 22:28:07 +00:00
|
|
|
depends on PXA27x || PXA3xx || ARCH_MMP
|
2007-03-16 04:58:52 +00:00
|
|
|
help
|
Input: add support for generic GPIO-based matrix keypad
Original patch by Marek Vasut, modified by Eric in:
1. use delayed work to simplify the debouncing
2. combine col_polarity/row_polarity into a single active_low field
3. use a generic bit array based XOR algorithm to detect key
press/release, which should make the column assertion time
shorter and code a bit cleaner
4. remove the ALT_FN handling, which is no way generic, the ALT_FN
key should be treated as no different from other keys, and
translation will be done by user space by commands like 'loadkeys'.
5. explicitly disable row IRQs and flush potential pending work,
and schedule an immediate scan after resuming as suggested
by Uli Luckas
6. incorporate review comments from many others
Patch tested on Littleton/PXA310 (though PXA310 has a dedicate keypad
controller, I have to configure those pins as generic GPIO to use this
driver, works quite well, though), and Sharp Zaurus model SL-C7x0
and SL-C1000.
[dtor@mail.ru: fix error unwinding path, support changing keymap
from userspace]
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Reviewed-by: Uli Luckas <u.luckas@road.de>
Reviewed-by: Russell King <linux@arm.linux.org.uk>
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-06-29 07:20:52 +00:00
|
|
|
Enable support for PXA27x/PXA3xx keypad controller.
|
2007-03-16 04:58:52 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2008-01-31 05:56:46 +00:00
|
|
|
module will be called pxa27x_keypad.
|
2007-03-16 04:58:52 +00:00
|
|
|
|
2008-12-29 12:00:02 +00:00
|
|
|
config KEYBOARD_PXA930_ROTARY
|
|
|
|
tristate "PXA930/PXA935 Enhanced Rotary Controller Support"
|
|
|
|
depends on CPU_PXA930 || CPU_PXA935
|
|
|
|
help
|
|
|
|
Enable support for PXA930/PXA935 Enhanced Rotary Controller.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called pxa930_rotary.
|
|
|
|
|
2010-07-21 07:45:10 +00:00
|
|
|
config KEYBOARD_SAMSUNG
|
|
|
|
tristate "Samsung keypad support"
|
|
|
|
depends on SAMSUNG_DEV_KEYPAD
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the Samsung keypad.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called samsung-keypad.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_STOWAWAY
|
|
|
|
tristate "Stowaway keyboard"
|
|
|
|
select SERIO
|
2007-10-13 00:36:13 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you have a Stowaway keyboard on a serial port.
|
|
|
|
Stowaway compatible keyboards like Dicota Input-PDA keyboard
|
|
|
|
are also supported by this driver.
|
2007-10-13 00:36:13 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called stowaway.
|
2007-10-13 00:36:13 +00:00
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_SUNKBD
|
|
|
|
tristate "Sun Type 4 and Type 5 keyboard"
|
|
|
|
select SERIO
|
2007-10-13 04:36:46 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you want to use a Sun Type 4 or Type 5 keyboard,
|
|
|
|
connected either to the Sun keyboard connector or to an serial
|
|
|
|
(RS-232) port via a simple adapter.
|
2007-10-13 04:36:46 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called sunkbd.
|
2007-10-13 04:36:46 +00:00
|
|
|
|
2008-03-04 23:23:45 +00:00
|
|
|
config KEYBOARD_SH_KEYSC
|
|
|
|
tristate "SuperH KEYSC keypad support"
|
2010-02-17 05:50:58 +00:00
|
|
|
depends on SUPERH || ARCH_SHMOBILE
|
2008-03-04 23:23:45 +00:00
|
|
|
help
|
|
|
|
Say Y here if you want to use a keypad attached to the KEYSC block
|
|
|
|
on SuperH processors such as sh7722 and sh7343.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called sh_keysc.
|
2009-05-16 03:12:47 +00:00
|
|
|
|
2010-07-02 11:22:10 +00:00
|
|
|
config KEYBOARD_STMPE
|
|
|
|
tristate "STMPE keypad support"
|
|
|
|
depends on MFD_STMPE
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the keypad controller on STMPE I/O
|
|
|
|
expanders.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
|
|
called stmpe-keypad.
|
|
|
|
|
2009-10-14 06:37:32 +00:00
|
|
|
config KEYBOARD_DAVINCI
|
|
|
|
tristate "TI DaVinci Key Scan"
|
|
|
|
depends on ARCH_DAVINCI_DM365
|
|
|
|
help
|
|
|
|
Say Y to enable keypad module support for the TI DaVinci
|
|
|
|
platforms (DM365).
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called davinci_keyscan.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_OMAP
|
|
|
|
tristate "TI OMAP keypad support"
|
|
|
|
depends on (ARCH_OMAP1 || ARCH_OMAP2)
|
2009-04-19 06:43:57 +00:00
|
|
|
help
|
2009-06-29 07:00:52 +00:00
|
|
|
Say Y here if you want to use the OMAP keypad.
|
2009-04-19 06:43:57 +00:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2009-06-29 07:00:52 +00:00
|
|
|
module will be called omap-keypad.
|
|
|
|
|
2010-09-01 00:05:27 +00:00
|
|
|
config KEYBOARD_OMAP4
|
|
|
|
tristate "TI OMAP4 keypad support"
|
|
|
|
depends on ARCH_OMAP4
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the OMAP4 keypad.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called omap4-keypad.
|
|
|
|
|
2010-11-19 20:41:19 +00:00
|
|
|
config KEYBOARD_SPEAR
|
|
|
|
tristate "ST SPEAR keyboard support"
|
|
|
|
depends on PLAT_SPEAR
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the SPEAR keyboard.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called spear-keboard.
|
|
|
|
|
2010-12-21 10:23:31 +00:00
|
|
|
config KEYBOARD_TC3589X
|
|
|
|
tristate "TC3589X Keypad support"
|
|
|
|
depends on MFD_TC3589X
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the keypad controller on
|
|
|
|
TC35892/3 I/O expander.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called tc3589x-keypad.
|
|
|
|
|
2010-09-20 16:26:40 +00:00
|
|
|
config KEYBOARD_TNETV107X
|
|
|
|
tristate "TI TNETV107X keypad support"
|
|
|
|
depends on ARCH_DAVINCI_TNETV107X
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the TNETV107X keypad.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called tnetv107x-keypad.
|
|
|
|
|
2009-08-26 02:24:14 +00:00
|
|
|
config KEYBOARD_TWL4030
|
|
|
|
tristate "TI TWL4030/TWL5030/TPS659x0 keypad support"
|
|
|
|
depends on TWL4030_CORE
|
|
|
|
help
|
|
|
|
Say Y here if your board use the keypad controller on
|
|
|
|
TWL4030 family chips. It's safe to say enable this
|
|
|
|
even on boards that don't use the keypad controller.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called twl4030_keypad.
|
|
|
|
|
2009-06-29 07:00:52 +00:00
|
|
|
config KEYBOARD_XTKBD
|
|
|
|
tristate "XT keyboard"
|
|
|
|
select SERIO
|
|
|
|
help
|
|
|
|
Say Y here if you want to use the old IBM PC/XT keyboard (or
|
|
|
|
compatible) on your system. This is only possible with a
|
|
|
|
parallel port keyboard adapter, you cannot connect it to the
|
|
|
|
keyboard port on a PC that runs Linux.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called xtkbd.
|
2009-04-19 06:43:57 +00:00
|
|
|
|
2009-08-10 04:22:22 +00:00
|
|
|
config KEYBOARD_W90P910
|
|
|
|
tristate "W90P910 Matrix Keypad support"
|
|
|
|
depends on ARCH_W90X900
|
|
|
|
help
|
|
|
|
Say Y here to enable the matrix keypad on evaluation board
|
|
|
|
based on W90P910.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called w90p910_keypad.
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
endif
|