input: Add ROHM BU21023/24 Dual touch support resistive touchscreens
Subsystems (2)
PATCH RESEND v3 1/1 input: Add ROHM BU21023/24 Dual touch support resistive touchscreens
v3 Changes:
- fix multi touch slots initialization
- fix set_bit BTN_TOUCH
- remove input_unregister_device()
- switch to __set_bit()
v2 Changes:
- remove polling mode
- switch to threaded interrupt
- switch to managed resources
- use MT-B protocol with input_mt_assign_slots
- provide ST emulation
- firmware load and device initialization are shifted at opening the device
- add error handling for IO operations
--- drivers/input/touchscreen/Kconfig | 11 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/rohm_bu21023.c | 931 ++++++++++++++++++++++++++++++ drivers/input/touchscreen/rohm_bu21023.h | 258 +++++++++ 4 files changed, 1201 insertions(+)
drivers/input/touchscreen/Kconfig +11 -0
@@ -950,4 +950,15 @@ config TOUCHSCREEN_ZFORCE To compile this driver as a module, choose M here: the module will be called zforce_ts. +config TOUCHSCREEN_ROHM_BU21023 + tristate "ROHM BU21023/24 Dual touch support resistive touchscreens" + depends on I2C + help + Say Y here if you have a touchscreen using ROHM BU21023/24. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called bu21023_ts. + endif
drivers/input/touchscreen/Makefile +1 -0
@@ -52,6 +52,7 @@ obj-$(CONFIG_TOUCHSCREEN_USB_COMPOSITE) += usbtouchscreen.o obj-$(CONFIG_TOUCHSCREEN_PCAP) += pcap_ts.o obj-$(CONFIG_TOUCHSCREEN_PENMOUNT) += penmount.o obj-$(CONFIG_TOUCHSCREEN_PIXCIR) += pixcir_i2c_ts.o +obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o obj-$(CONFIG_TOUCHSCREEN_S3C2410) += s3c2410_ts.o obj-$(CONFIG_TOUCHSCREEN_ST1232) += st1232.o obj-$(CONFIG_TOUCHSCREEN_STMPE) += stmpe-ts.o
drivers/input/touchscreen/rohm_bu21023.c new file +931 -0
931 lines not on this page · raw message
drivers/input/touchscreen/rohm_bu21023.h new file +258 -0
258 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Hi Dmitry,
I updated the driver according to your comments.
Furthermore, is there any comment?
Thanks,
Yoichi
Quoted 23 lines · On Thu, 28 Aug 2014 11:45:36 +0900 Yoichi Yuasa <[email protected]> wrote:
v3 Changes:
- fix multi touch slots initialization
- fixset_bitBTN_TOUCH
- removeinput_unregister_device()
- switch to__set_bit()v2 Changes:
- remove polling mode
- switch to threaded interrupt
- switch to managed resources
- use MT-B protocol withinput_mt_assign_slots
- provide ST emulation
- firmware load and device initialization are shifted at opening the device
- add error handling for IO operationsSigned-off-by Yoichi Yuasa <[email protected]>--- drivers/input/touchscreen/Kconfig | 11 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/rohm_bu21023.c | 931 ++++++++++++++++++++++++++++++ drivers/input/touchscreen/rohm_bu21023.h | 258 +++++++++ 4 files changed, 1201 insertions(+)