Skip to contentSkip to conversation

input: keyboard: FSL MPR121 capacitive touch button.

RFC PATCH New Jiejing Zhang 1 participant 1 message Apr 4, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 input: keyboard: FSL MPR121 capacitive touch button.

From: Zhang Jiejing <[email protected]>

This button driver is based on Freescale MPR121 capacitive touch sensor controller.

It can support up to 12 keys. The chip is use i2c interface.

The product infomation(data sheet, application notes) can be found under this link:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPR121

---
 drivers/input/keyboard/Kconfig  |   10 ++
 drivers/input/keyboard/Makefile |    1 +
 drivers/input/keyboard/mpr121.c |  303 +++++++++++++++++++++++++++++++++++++++
 include/linux/i2c/mpr.h         |   79 ++++++++++
 4 files changed, 393 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/keyboard/mpr121.c
 create mode 100644 include/linux/i2c/mpr.h
drivers/input/keyboard/Kconfig +10 -0
index b16bed0..ffb556a 100644
@@ -530,4 +530,14 @@ config KEYBOARD_W90P910
 	  To compile this driver as a module, choose M here: the
 	  module will be called w90p910_keypad.
 
+config KEYBOARD_MPR121
+	tristate "Freescale MPR121 Touch Keypad Driver"
+	depends on I2C
+	help
+	  Say Y here if you have the  touchkey Freescale Proximity Capacitive
+	  Touch Sensor controller chip in your system.
+
+	  If unsure, say N.
+
+	  To compile this driver as a module, choose M here
 endif
drivers/input/keyboard/Makefile +1 -0
index 878e6c2..4d5105c 100644
@@ -48,3 +48,4 @@ obj-$(CONFIG_KEYBOARD_TNETV107X)	+= tnetv107x-keypad.o
 obj-$(CONFIG_KEYBOARD_TWL4030)		+= twl4030_keypad.o
 obj-$(CONFIG_KEYBOARD_XTKBD)		+= xtkbd.o
 obj-$(CONFIG_KEYBOARD_W90P910)		+= w90p910_keypad.o
+obj-$(CONFIG_KEYBOARD_MPR121)		+= mpr121.o
drivers/input/keyboard/mpr121.c new file +303 -0

303 lines not on this page · raw message

include/linux/i2c/mpr.h new file +79 -0

79 lines not on this page · raw message

Signature · 1 line
1.7.1