SPI: Add support for TSC2101
authorImre Deak <imre.deak@solidboot.com>
Mon, 2 Apr 2007 17:11:36 +0000 (13:11 -0400)
committerTony Lindgren <tony@atomide.com>
Thu, 24 May 2007 23:49:00 +0000 (16:49 -0700)
The new driver is functionally the same as the old
drivers/ssi/omap-tsc2101 driver in the linux-omap tree.

Signed-off-by: Imre Deak <imre.deak@solidboot.com>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/tsc2101.c [new file with mode: 0644]
include/linux/spi/tsc2101.h [new file with mode: 0644]

index 46c4744..8139f0c 100644 (file)
@@ -183,6 +183,14 @@ config SPI_AT25
          This driver can also be built as a module.  If so, the module
          will be called at25.
 
+config SPI_TSC2101
+       depends on SPI_MASTER
+       tristate "TSC2101 chip support"
+       ---help---
+         Say Y here if you want support for the TSC2101 chip.
+        At the moment it provides basic register read / write interface
+        as well as a way to enable the MCLK clock.
+        
 config SPI_SPIDEV
        tristate "User mode SPI device driver support"
        depends on SPI_MASTER && EXPERIMENTAL
index 4e52f93..d87d100 100644 (file)
@@ -29,6 +29,7 @@ obj-$(CONFIG_SPI_S3C24XX)             += spi_s3c24xx.o
 # SPI protocol drivers (device/link on bus)
 obj-$(CONFIG_SPI_AT25)         += at25.o
 obj-$(CONFIG_SPI_SPIDEV)       += spidev.o
+obj-$(CONFIG_SPI_TSC2101)      += tsc2101.o
 #      ... add above this line ...
 
 # SPI slave controller drivers (upstream link)
Simple merge
Simple merge