add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 921-gpio_spi_driver.patch
1 Index: linux-2.6.23.16/drivers/spi/Kconfig
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/spi/Kconfig
4 +++ linux-2.6.23.16/drivers/spi/Kconfig
5 @@ -100,6 +100,11 @@ config SPI_BUTTERFLY
6 inexpensive battery powered microcontroller evaluation board.
7 This same cable can be used to flash new firmware.
8
9 +config SPI_GPIO
10 + tristate "GPIO API based bitbanging SPI controller"
11 + depends on SPI_MASTER && GENERIC_GPIO && EXPERIMENTAL
12 + select SPI_BITBANG
13 +
14 config SPI_IMX
15 tristate "Freescale iMX SPI controller"
16 depends on SPI_MASTER && ARCH_IMX && EXPERIMENTAL
17 Index: linux-2.6.23.16/drivers/spi/Makefile
18 ===================================================================
19 --- linux-2.6.23.16.orig/drivers/spi/Makefile
20 +++ linux-2.6.23.16/drivers/spi/Makefile
21 @@ -16,6 +16,7 @@ obj-$(CONFIG_SPI_BFIN) += spi_bfin5xx.
22 obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o
23 obj-$(CONFIG_SPI_AU1550) += au1550_spi.o
24 obj-$(CONFIG_SPI_BUTTERFLY) += spi_butterfly.o
25 +obj-$(CONFIG_SPI_GPIO) += spi_gpio.o
26 obj-$(CONFIG_SPI_IMX) += spi_imx.o
27 obj-$(CONFIG_SPI_LM70_LLP) += spi_lm70llp.o
28 obj-$(CONFIG_SPI_PXA2XX) += pxa2xx_spi.o
This page took 0.044771 seconds and 5 git commands to generate.