Skip to contentSkip to conversation

input: PCAP2 based touchscreen driver

PATCH In review Daniel Ribeiro 2 participants 2 messages Aug 7, 2009 – Aug 8, 2009

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

PATCH v3 1/1 input: PCAP2 based touchscreen driver

Touchscreen driver for the PCAP2 multi function device used in Motorola EZX smartphones.

---

Changes since v2:
* Request/free IRQ in .probe()/.remove() and NOT in .open()/.close()
* On remove, free the IRQ before cancelling the workqueue
* Get pcap data from the parent device, don't abuse platform device drvdata

pcap_ts v2 is here: http://patchwork.kernel.org/patch/38864/

 drivers/input/touchscreen/Kconfig   |    9 ++
 drivers/input/touchscreen/Makefile  |    1 +
 drivers/input/touchscreen/pcap_ts.c |  271 +++++++++++++++++++++++++++++++++++
 3 files changed, 281 insertions(+), 0 deletions(-)
drivers/input/touchscreen/Kconfig +9 -0
index 72e2712..7a69dbb 100644
@@ -498,4 +498,13 @@ config TOUCHSCREEN_W90X900
 	  To compile this driver as a module, choose M here: the
 	  module will be called w90p910_ts.
 
+config TOUCHSCREEN_PCAP
+	tristate "Motorola PCAP touchscreen"
+	depends on EZX_PCAP
+	help
+	  Say Y here if you have a Motorola EZX telephone and
+	  want to enable support for the built-in touchscreen.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called pcap_ts.
 endif
drivers/input/touchscreen/Makefile +1 -0
index 3e1c5e0..4599bf7 100644
@@ -40,3 +40,4 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX_ATMEL)	+= atmel-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o
+obj-$(CONFIG_TOUCHSCREEN_PCAP)		+= pcap_ts.o
drivers/input/touchscreen/pcap_ts.c new file +271 -0

271 lines not on this page · raw message

Signature · 1 line
tg: (413a063..) ezx/pcap_ts (depends on: ezx/local/pcap)