Skip to contentSkip to conversation

input/touchscreen driver: add support AD7877 touchscreen driver

PATCH Applied [email protected] 1 participant 1 message Jan 9, 2009

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

PATCH 2/17 input/touchscreen driver: add support AD7877 touchscreen driver

From: Michael Hennerich <[email protected]>

Apply patch from Philip Douglass:
Make ad7877 ts driver not dependent on Blackfin specific cs_change_per_word_option

---

 drivers/input/touchscreen/Kconfig  |   13 
 drivers/input/touchscreen/Makefile |    1 
 drivers/input/touchscreen/ad7877.c |  875 +++++++++++++++++++++++++++
 3 files changed, 889 insertions(+)
drivers/input/touchscreen/Kconfig renamed from drivers/input/touchscreen/Kconfig~input-touchscreen-driver-add-support-ad7877-touchscreen-driver +13 -0
diff -puN drivers/input/touchscreen/Kconfig~input-touchscreen-driver-add-support-ad7877-touchscreen-driver drivers/input/touchscreen/Kconfig
@@ -29,6 +29,19 @@ config TOUCHSCREEN_ADS7846
 	  To compile this driver as a module, choose M here: the
 	  module will be called ads7846.
 
+config TOUCHSCREEN_AD7877
+	tristate "AD7877 based touchscreens"
+	depends on SPI_MASTER
+	help
+	  Say Y here if you have a touchscreen interface using the
+	  AD7877 controller, and your board-specific initialization
+	  code includes that in its table of SPI devices.
+
+	  If unsure, say N (but it's safe to say "Y").
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ad7877.
+
 config TOUCHSCREEN_BITSY
 	tristate "Compaq iPAQ H3600 (Bitsy) touchscreen"
 	depends on SA1100_BITSY
drivers/input/touchscreen/Makefile renamed from drivers/input/touchscreen/Makefile~input-touchscreen-driver-add-support-ad7877-touchscreen-driver +1 -0
diff -puN drivers/input/touchscreen/Makefile~input-touchscreen-driver-add-support-ad7877-touchscreen-driver drivers/input/touchscreen/Makefile
@@ -6,6 +6,7 @@
 
 wm97xx-ts-y := wm97xx-core.o
 
+obj-$(CONFIG_TOUCHSCREEN_AD7877)	+= ad7877.o
 obj-$(CONFIG_TOUCHSCREEN_ADS7846)	+= ads7846.o
 obj-$(CONFIG_TOUCHSCREEN_ATMEL_TSADCC)	+= atmel_tsadcc.o
 obj-$(CONFIG_TOUCHSCREEN_BITSY)		+= h3600_ts_input.o
drivers/input/touchscreen/ad7877.c new file +875 -0

875 lines not on this page · raw message

_