Skip to content

Commit 09c730a

Browse files
Sundar IyerLinus Walleij
authored andcommitted
input/tc3589x: add tc3589x keypad support
Add support for the keypad controller module found on the TC3589X devices. This driver default adds the support for TC35893 device. Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> [Some minor fixups for compilation] Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
1 parent 11c8ea8 commit 09c730a

5 files changed

Lines changed: 562 additions & 1 deletion

File tree

‎drivers/input/keyboard/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,16 @@ config KEYBOARD_OMAP4
443443
To compile this driver as a module, choose M here: the
444444
module will be called omap4-keypad.
445445

446+
config KEYBOARD_TC3589X
447+
tristate "TC3589X Keypad support"
448+
depends on MFD_TC3589X
449+
help
450+
Say Y here if you want to use the keypad controller on
451+
TC35892/3 I/O expander.
452+
453+
To compile this driver as a module, choose M here: the
454+
module will be called tc3589x-keypad.
455+
446456
config KEYBOARD_TNETV107X
447457
tristate "TI TNETV107X keypad support"
448458
depends on ARCH_DAVINCI_TNETV107X

‎drivers/input/keyboard/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ obj-$(CONFIG_KEYBOARD_SH_KEYSC) += sh_keysc.o
4040
obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o
4141
obj-$(CONFIG_KEYBOARD_STOWAWAY) += stowaway.o
4242
obj-$(CONFIG_KEYBOARD_SUNKBD) += sunkbd.o
43+
obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o
4344
obj-$(CONFIG_KEYBOARD_TNETV107X) += tnetv107x-keypad.o
4445
obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o
4546
obj-$(CONFIG_KEYBOARD_XTKBD) += xtkbd.o

0 commit comments

Comments
 (0)