2005-04-16 16:20:36 -06:00
|
|
|
#
|
|
|
|
# Makefile for the input core drivers.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Each configuration option enables a list of files.
|
|
|
|
|
2009-10-10 11:54:02 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_ADP5520) += adp5520-keys.o
|
2009-09-17 23:39:38 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_ADP5588) += adp5588-keys.o
|
2011-05-19 01:59:32 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_ADP5589) += adp5589-keys.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_AMIGA) += amikbd.o
|
2007-05-01 14:32:38 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_ATARI) += atakbd.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_ATKBD) += atkbd.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_BFIN) += bf54x-keys.o
|
2009-10-14 00:37:32 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_DAVINCI) += davinci_keyscan.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_EP93XX) += ep93xx_keypad.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_GPIO) += gpio_keys.o
|
2010-12-06 18:14:47 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_GPIO_POLLED) += gpio_keys_polled.o
|
2010-05-04 00:47:12 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_TCA6416) += tca6416-keypad.o
|
2005-04-16 16:20:36 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_HIL) += hil_kbd.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_HIL_OLD) += hilkbd.o
|
2010-01-31 18:52:07 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_IMX) += imx_keypad.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_HP6XX) += jornada680_kbd.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_HP7XX) += jornada720_kbd.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_LKKBD) += lkkbd.o
|
2009-05-15 21:12:47 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_LM8323) += lm8323.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_LOCOMO) += locomokbd.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_MAPLE) += maple_keyb.o
|
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 01:20:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_MATRIX) += matrix_keypad.o
|
2009-09-21 23:17:04 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_MAX7359) += max7359_keypad.o
|
2010-07-04 02:21:25 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_MCS) += mcs_touchkey.o
|
2011-05-11 15:32:01 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_MPR121) += mpr121_touchkey.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_NEWTON) += newtonkbd.o
|
2010-09-29 20:42:14 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_NOMADIK) += nomadik-ske-keypad.o
|
2007-01-17 22:44:09 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_OMAP) += omap-keypad.o
|
2010-08-31 18:05:27 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_OMAP4) += omap4-keypad.o
|
2009-09-16 02:06:42 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_OPENCORES) += opencores-kbd.o
|
2011-05-18 23:24:04 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_PMIC8XXX) += pmic8xxx-keypad.o
|
2008-01-30 22:56:46 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_PXA27x) += pxa27x_keypad.o
|
2008-12-29 05:00:02 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_PXA930_ROTARY) += pxa930_rotary.o
|
2011-03-14 00:34:59 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_QT1070) += qt1070.o
|
2009-09-21 23:24:06 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_QT2160) += qt2160.o
|
2010-07-21 01:45:10 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_SAMSUNG) += samsung-keypad.o
|
2008-03-04 16:23:45 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_SH_KEYSC) += sh_keysc.o
|
2010-11-19 13:41:19 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_SPEAR) += spear-keyboard.o
|
2010-07-02 05:22:10 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_STOWAWAY) += stowaway.o
|
|
|
|
obj-$(CONFIG_KEYBOARD_SUNKBD) += sunkbd.o
|
2010-12-21 03:23:31 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o
|
2011-01-20 00:38:47 -07:00
|
|
|
obj-$(CONFIG_KEYBOARD_TEGRA) += tegra-kbc.o
|
2010-09-20 10:26:40 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_TNETV107X) += tnetv107x-keypad.o
|
2009-08-25 20:24:14 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o
|
2009-06-29 01:00:52 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_XTKBD) += xtkbd.o
|
2009-08-09 22:22:22 -06:00
|
|
|
obj-$(CONFIG_KEYBOARD_W90P910) += w90p910_keypad.o
|