Input: add touchscreen driver for MELFAS MCS-5000 controller
Subsystems (2)
PATCH v2 1/1 Input: add touchscreen driver for MELFAS MCS-5000 controller
The MELPAS MCS-5000 is the touchscreen controller. The overview of this controller can see at the following website:
http://www.melfas.com/product/product01.asp?k_r=eng_
This patch supports only the i2c interface.
Signed-off-by Joonyoung Shim <[email protected]>
--- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/mcs5000_ts.c | 373 ++++++++++++++++++++++++++++++++ include/linux/i2c/mcs5000_ts.h | 11 + 4 files changed, 397 insertions(+), 0 deletions(-) create mode 100644 drivers/input/touchscreen/mcs5000_ts.c create mode 100644 include/linux/i2c/mcs5000_ts.h
drivers/input/touchscreen/Kconfig +12 -0
@@ -490,4 +490,16 @@ config TOUCHSCREEN_TSC2007 To compile this driver as a module, choose M here: the module will be called tsc2007. +config TOUCHSCREEN_MCS5000 + tristate "MELFAS MCS-5000 touchscreen" + depends on I2C + help + Say Y here if you have the MELFAS MCS-5000 touchscreen controller + chip in your system. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called mcs5000_ts. + endif
drivers/input/touchscreen/Makefile +1 -0
@@ -17,6 +17,7 @@ obj-$(CONFIG_TOUCHSCREEN_EETI) += eeti_ts.o obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o obj-$(CONFIG_TOUCHSCREEN_INEXIO) += inexio.o +obj-$(CONFIG_TOUCHSCREEN_MCS5000) += mcs5000_ts.o obj-$(CONFIG_TOUCHSCREEN_MIGOR) += migor_ts.o obj-$(CONFIG_TOUCHSCREEN_MTOUCH) += mtouch.o obj-$(CONFIG_TOUCHSCREEN_MK712) += mk712.o
drivers/input/touchscreen/mcs5000_ts.c new file +373 -0
373 lines not on this page · raw message
include/linux/i2c/mcs5000_ts.h new file +11 -0
@@ -0,0 +1,11 @@ +#ifndef __LINUX_MCS5000_TS_H +#define __LINUX_MCS5000_TS_H + +/* platform data for the MELFAS MCS5000 touchscreen driver */ +struct mcs5000_ts_platform_data { +void (*set_pin)(void ); +int x_size; +int y_size; +}; + +#endif /* __LINUX_MCS5000_TS_H */
Signature · 1 line
1.6.0.4
Quoted 9 lines · Joonyoung Shim
The MELPAS MCS-5000 is the touchscreen controller. The overview of this controller can see at the following website:
http://www.melfas.com/product/product01.asp?k_r=eng_
This patch supports only the i2c interface.
Signed-off-by Joonyoung Shim <[email protected]>---
Hi Dmitry,
I sent the patch v2 before, any updates on this?
Best regards,
Joonyoung