SPI: Add TSC2102 main SPI driver
authorAndrzej Zaborowski <balrog@zabor.org>
Mon, 2 Apr 2007 17:15:00 +0000 (13:15 -0400)
committerTony Lindgren <tony@atomide.com>
Tue, 8 May 2007 20:39:57 +0000 (13:39 -0700)
This adds a driver for the TSC2102 chip by Texas Instruments. This
driver is responsible for all communication with the chip and doesn't
export anything for user-space, but for other drivers controlling
devices connected to the chip.

Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/tsc2102.c [new file with mode: 0644]
include/linux/spi/tsc2102.h [new file with mode: 0644]

index 9933730..bbe203c 100644 (file)
@@ -172,6 +172,13 @@ config SPI_TSC2101
         At the moment it provides basic register read / write interface
         as well as a way to enable the MCLK clock.
 
+config SPI_TSC2102
+       depends on SPI_MASTER
+       tristate "TSC2102 codec support"
+       ---help---
+         Say Y here if you want support for the TSC2102 chip.  It
+        will be needed for the touchscreen driver on some boards.
+
 #
 # Add new SPI protocol masters in alphabetical order above this line
 #
index cf05cbc..37be7d9 100644 (file)
@@ -27,6 +27,7 @@ obj-$(CONFIG_SPI_S3C24XX)             += spi_s3c24xx.o
 # SPI protocol drivers (device/link on bus)
 obj-$(CONFIG_SPI_AT25)         += at25.o
 obj-$(CONFIG_SPI_TSC2101)      += tsc2101.o
+obj-$(CONFIG_SPI_TSC2102)      += tsc2102.o
 #      ... add above this line ...
 
 # SPI slave controller drivers (upstream link)
Simple merge
Simple merge