ar71xx: add preliminary support for Mikrotik RB2011L
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.3 / 433-spi-rb4xx-cpld-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -439,6 +439,13 @@ config SPI_TLE62X0
4 sysfs interface, with each line presented as a kind of GPIO
5 exposing both switch control and diagnostic feedback.
6
7 +config SPI_RB4XX_CPLD
8 + tristate "MikroTik RB4XX CPLD driver"
9 + depends on ATH79_MACH_RB4XX
10 + help
11 + SPI driver for the Xilinx CPLD chip present on the
12 + MikroTik RB4xx boards.
13 +
14 #
15 # Add new SPI protocol masters in alphabetical order above this line
16 #
17 --- a/drivers/spi/Makefile
18 +++ b/drivers/spi/Makefile
19 @@ -46,6 +46,7 @@ obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.
20 obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx.o
21 obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o
22 obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
23 +obj-$(CONFIG_SPI_RB4XX_CPLD) += spi-rb4xx-cpld.o
24 obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o
25 spi-s3c24xx-hw-y := spi-s3c24xx.o
26 spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o