ramips: add SPI controller driver
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-2.6.39 / 105-ramips-spi-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -283,6 +283,12 @@ config SPI_PXA2XX
4 The driver can be configured to use any SSP port and additional
5 documentation can be found a Documentation/spi/pxa2xx.
6
7 +config SPI_RAMIPS
8 + tristate "Ralink RT288x/RT305x SPI Controller"
9 + depends on (SOC_RT288X || SOC_RT305X) && SPI_MASTER
10 + help
11 + This selects a driver for the Ralink RT288x/RT305x SPI Controller.
12 +
13 config SPI_S3C24XX
14 tristate "Samsung S3C24XX series SPI"
15 depends on ARCH_S3C2410 && EXPERIMENTAL
16 --- a/drivers/spi/Makefile
17 +++ b/drivers/spi/Makefile
18 @@ -37,6 +37,7 @@ obj-$(CONFIG_SPI_FSL_LIB) += spi_fsl_li
19 obj-$(CONFIG_SPI_FSL_ESPI) += spi_fsl_espi.o
20 obj-$(CONFIG_SPI_FSL_SPI) += spi_fsl_spi.o
21 obj-$(CONFIG_SPI_PPC4xx) += spi_ppc4xx.o
22 +obj-$(CONFIG_SPI_RAMIPS) += ramips_spi.o
23 obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o
24 obj-$(CONFIG_SPI_S3C24XX) += spi_s3c24xx_hw.o
25 obj-$(CONFIG_SPI_S3C64XX) += spi_s3c64xx.o