Skip to content

Commit

Permalink
Staging: add Synaptics TM1217 Touchscreen Controller driver
Browse files Browse the repository at this point in the history
This is submitted as a staging driver because there is a more generic driver
"on the way" for all these devices and has been for some time. The intent is
that as soon as the general drivers are in the mainstream this one will get
any leftovers integrated and then be dumped. Until this unspecified future
data at least people can actually use their hardware.

As its interface is simply input layer we can do that without pain.

Some clean up by Alan Cox
  - Extract gpio support and IRQ support more sanely
  - Tidying

Signed-off-by: Ramesh Agarwal <ramesh.agarwal@intel.com>
[avoid deference NULL ts if kzalloc fails]
[finger_touched may be used uninitialized]
[fix missing sync which confused twm]
Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ramesh Agarwal authored and Greg Kroah-Hartman committed Nov 9, 2010
1 parent fc2347e commit 78fd115
Show file tree
Hide file tree
Showing 7 changed files with 705 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,7 @@ source "drivers/staging/intel_sst/Kconfig"

source "drivers/staging/speakup/Kconfig"

source "drivers/staging/cptm1217/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ obj-$(CONFIG_BCM_WIMAX) += bcm/
obj-$(CONFIG_FT1000) += ft1000/
obj-$(CONFIG_SND_INTEL_SST) += intel_sst/
obj-$(CONFIG_SPEAKUP) += speakup/
obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217) += cptm1217/
11 changes: 11 additions & 0 deletions drivers/staging/cptm1217/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
config TOUCHSCREEN_CLEARPAD_TM1217
tristate "Synaptics Clearpad TM1217"
depends on I2C
depends on GPIOLIB
help
Say Y here if you have a Synaptics Clearpad TM1217 Controller

If unsure, say N.

To compile this driver as a module, choose M here: the
module will be called clearpad_tm1217.
2 changes: 2 additions & 0 deletions drivers/staging/cptm1217/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217) += clearpad_tm1217.o

5 changes: 5 additions & 0 deletions drivers/staging/cptm1217/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Wait for the official upstream general clearpad drivers as promised over
the past few months
- Merge any device support needed from this driver into it
- Delete this driver

Loading

0 comments on commit 78fd115

Please sign in to comment.