Driver for TC35894XBG keypad controller
Subsystems (2)
PATCH 1/1 Driver for TC35894XBG keypad controller
From: Charlie Paul <[email protected]>
The actual keypad translation is done via platform supplied data. This is neccessary as there are multiple driver users with different keypad layouts already, and will no doubt be more.
Signed-off-by Andy Ross <[email protected]>
Signed-off-by Alan Cox <alan-VuQAYsv1563Yd54FQh9/[email protected]>
---
drivers/input/keyboard/Kconfig | 6 drivers/input/keyboard/Makefile | 1 drivers/input/keyboard/tc35894xbg.c | 722 ++++++++++++++ drivers/input/keyboard/tc35894xbg_regs.h | 1528 ++++++++++++++++++++++++++++++ include/linux/i2c/tc35894xbg.h | 72 + 5 files changed, 2329 insertions(+), 0 deletions(-) create mode 100644 drivers/input/keyboard/tc35894xbg.c create mode 100644 drivers/input/keyboard/tc35894xbg_regs.h create mode 100644 include/linux/i2c/tc35894xbg.h
drivers/input/keyboard/Kconfig +6 -0
@@ -318,6 +318,12 @@ config KEYBOARD_IMX To compile this driver as a module, choose M here: the module will be called imx_keypad. +config KEYBOARD_TC35894XBG + tristate "TC35894XBG I2C keypad support" + depends on I2C + help + Say Y if you have Toshiba TX35894XBG keypad controller + config KEYBOARD_NEWTON tristate "Newton keyboard" select SERIO
drivers/input/keyboard/Makefile +1 -0
@@ -40,6 +40,7 @@ obj-$(CONFIG_KEYBOARD_SH_KEYSC) += sh_keysc.o obj-$(CONFIG_KEYBOARD_STMPE) += stmpe-keypad.o obj-$(CONFIG_KEYBOARD_STOWAWAY) += stowaway.o obj-$(CONFIG_KEYBOARD_SUNKBD) += sunkbd.o +obj-$(CONFIG_KEYBOARD_TC35894XBG) += tc35894xbg.o obj-$(CONFIG_KEYBOARD_TNETV107X) += tnetv107x-keypad.o obj-$(CONFIG_KEYBOARD_TWL4030) += twl4030_keypad.o obj-$(CONFIG_KEYBOARD_XTKBD) += xtkbd.o
drivers/input/keyboard/tc35894xbg.c new file +722 -0
722 lines not on this page · raw message
drivers/input/keyboard/tc35894xbg_regs.h new file +1528 -0
1,528 lines not on this page · raw message
include/linux/i2c/tc35894xbg.h new file +72 -0
72 lines not on this page · raw message