drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen
PATCH 1/1 drivers: input: touchscreen: Initial support for SYNAPTICS_I2C_RMI touchscreen
Add initial support for Synaptics RMI over I2C based touchscreens.
--- drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/rmi_dev.c | 735 ++++ drivers/input/touchscreen/rmi_f54.c | 4513 +++++++++++++++++++++++++ drivers/input/touchscreen/rmi_fw_update.c | 1732 ++++++++++ drivers/input/touchscreen/synaptics_i2c_rmi.c | 4328 ++++++++++++++++++++++++ drivers/input/touchscreen/synaptics_i2c_rmi.h | 399 +++ 7 files changed, 11721 insertions(+) create mode 100644 drivers/input/touchscreen/rmi_dev.c create mode 100644 drivers/input/touchscreen/rmi_f54.c create mode 100644 drivers/input/touchscreen/rmi_fw_update.c create mode 100644 drivers/input/touchscreen/synaptics_i2c_rmi.c create mode 100644 drivers/input/touchscreen/synaptics_i2c_rmi.h
drivers/input/touchscreen/Kconfig +13 -0
@@ -514,6 +514,19 @@ config TOUCHSCREEN_MIGOR To compile this driver as a module, choose M here: the module will be called migor_ts. +config TOUCHSCREEN_SYNAPTICS_I2C_RMI + tristate "Synaptics i2c touchscreen" + depends on I2C + help + This enables support for Synaptics RMI over I2C based touchscreens. + +config TOUCHSCREEN_SYNAPTICS_PREVENT_HSYNC_LEAKAGE + bool "Synaptics prevent leakage i2c due to hsync" + default n + help + There is leakage current on TSP I2C by HW defect. TSP I2C Failed. + So To prevent leakage, hsync off, tsp on, hsync on. + config TOUCHSCREEN_TNETV107X tristate "TI TNETV107X touchscreen support" depends on ARCH_DAVINCI_TNETV107X
drivers/input/touchscreen/Makefile +1 -0
@@ -54,6 +54,7 @@ obj-$(CONFIG_TOUCHSCREEN_PIXCIR) += pixcir_i2c_ts.o obj-$(CONFIG_TOUCHSCREEN_S3C2410) += s3c2410_ts.o obj-$(CONFIG_TOUCHSCREEN_ST1232) += st1232.o obj-$(CONFIG_TOUCHSCREEN_STMPE) += stmpe-ts.o +obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI) += synaptics_i2c_rmi.o rmi_dev.o rmi_f54.o rmi_fw_update.o obj-$(CONFIG_TOUCHSCREEN_TI_AM335X_TSC) += ti_am335x_tsc.o obj-$(CONFIG_TOUCHSCREEN_TNETV107X) += tnetv107x-ts.o obj-$(CONFIG_TOUCHSCREEN_TOUCHIT213) += touchit213.o
drivers/input/touchscreen/rmi_dev.c new file +735 -0
735 lines not on this page · raw message
drivers/input/touchscreen/rmi_f54.c new file +4513 -0
2,239 lines not on this page · raw message
drivers/input/touchscreen/rmi_fw_update.c new file +1732 -0
1,732 lines not on this page · raw message
drivers/input/touchscreen/synaptics_i2c_rmi.c new file +4328 -0
4,328 lines not on this page · raw message
drivers/input/touchscreen/synaptics_i2c_rmi.h new file +399 -0
399 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.3.2
Part of the diff is not shown here. View the raw message.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · Balint Czobor
Add initial support for Synaptics RMI over I2C based touchscreens.
This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch of Dmitry's input tree?
Dmitry Torokhov
maintainerQuoted 6 lines · Christopher Heiny
Quoted 1 line · Balint Czobor
Add initial support for Synaptics RMI over I2C based touchscreens.
This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch of Dmitry's input tree?
That branch is fairly old as well, I believe you have much never version on Github?
Signature · 1 line
Dmitry
Sorry if this is a duplicate - there's some email issues here at work.
Quoted 10 lines · Dmitry Torokhov
Quoted 6 lines · Christopher Heiny
Quoted 1 line · Balint Czobor
Add initial support for Synaptics RMI over I2C based touchscreens.
This is pretty old code - it looks like a modification of patches we submitted last year. Is there some reason you're not basing it off the latest checkins in synaptics-rmi4 branch of Dmitry's input tree?
That branch is fairly old as well, I believe you have much never version on Github?
Yes, I do, but I figured your branch was the reference.
Balint - there newest code is here:
https://github.com/mightybigcar/synaptics-rmi4
There are two branches. The main branch tracks work intended for the
next submission. The development branch is a superset of that work,
including all currently supported and in development RMI4 function implementations.
If you would like to integrate that work into your kernel, I'll be happy to help out with that (and I suspect Dmitry and others would be too).
Thanks,
Chris