summaryrefslogtreecommitdiff
path: root/drivers/input/Makefile
diff options
context:
space:
mode:
authorBernie Thompson <bhthompson@chromium.org>2012-04-17 09:01:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:39 +0200
commit92c27c5193154465df03a4713b1a5323bb18506b (patch)
treeb9c630b7e37779e9d62624daea8d58104976b26e /drivers/input/Makefile
parent9bc590e5119f38fd822dedb16e3e0e2363f09756 (diff)
downloadu-boot-imx-92c27c5193154465df03a4713b1a5323bb18506b.zip
u-boot-imx-92c27c5193154465df03a4713b1a5323bb18506b.tar.gz
u-boot-imx-92c27c5193154465df03a4713b1a5323bb18506b.tar.bz2
input: Add support for keyboard matrix decoding from an fdt
Matrix keyboards require a key map to be set up, and must also deal with key ghosting. Create a keyboard matrix management implementation which can be leveraged by various keyboard drivers. This includes code to read the keymap from the FDT and perform debouncing. Signed-off-by: Bernie Thompson <bhthompson@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/input/Makefile')
-rw-r--r--drivers/input/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/Makefile b/drivers/input/Makefile
index d06acb9..5c831b2 100644
--- a/drivers/input/Makefile
+++ b/drivers/input/Makefile
@@ -26,11 +26,13 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libinput.o
COBJS-$(CONFIG_I8042_KBD) += i8042.o
+COBJS-$(CONFIG_TEGRA2_KEYBOARD) += tegra-kbc.o
ifdef CONFIG_PS2KBD
COBJS-y += keyboard.o pc_keyb.o
COBJS-$(CONFIG_PS2MULT) += ps2mult.o ps2ser.o
endif
COBJS-y += input.o
+COBJS-$(CONFIG_OF_CONTROL) += key_matrix.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)