From: Imre Deak Date: Mon, 2 Apr 2007 17:11:36 +0000 (-0400) Subject: SPI: Add support for TSC2101 X-Git-Tag: v2.6.22-omap1~72^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70d3b4b1eb9a736c5857ddb5f9e3e04a52a5369a;p=pandora-kernel.git SPI: Add support for TSC2101 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 --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 46c4744d723c..8139f0c9575b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -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 diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index 4e52f9379db9..d87d100103cf 100644 --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile @@ -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) Reading git-diff-tree failed