ar71xx: Add support for AP147-010 reference board
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.1 / 434-spi-ap83_spi_controller.patch
1 --- a/drivers/spi/Makefile
2 +++ b/drivers/spi/Makefile
3 @@ -12,6 +12,7 @@ obj-$(CONFIG_SPI_SPIDEV) += spidev.o
4 # SPI master controller drivers (bus)
5 obj-$(CONFIG_SPI_ALTERA) += spi-altera.o
6 obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o
7 +obj-$(CONFIG_SPI_AP83) += spi-ap83.o
8 obj-$(CONFIG_SPI_ATH79) += spi-ath79.o
9 obj-$(CONFIG_SPI_AU1550) += spi-au1550.o
10 obj-$(CONFIG_SPI_BCM2835) += spi-bcm2835.o
11 --- a/drivers/spi/Kconfig
12 +++ b/drivers/spi/Kconfig
13 @@ -59,6 +59,14 @@ config SPI_ALTERA
14 help
15 This is the driver for the Altera SPI Controller.
16
17 +config SPI_AP83
18 + tristate "Atheros AP83 specific SPI Controller"
19 + depends on SPI_MASTER && ATH79_MACH_AP83
20 + select SPI_BITBANG
21 + help
22 + This is a specific SPI controller driver for the Atheros AP83
23 + reference board.
24 +
25 config SPI_ATH79
26 tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
27 depends on ATH79 && GPIOLIB