diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-28 19:52:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-28 19:52:02 +0000 |
commit | e4db63fd64b1716715ac7289dc6f1fc48593d4af (patch) | |
tree | c5493128b26209a31354c173a6c020f4cbf37ef6 /target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch | |
parent | 87186c5ed4681ba9830c072f4487e206147c973d (diff) | |
download | mtk-20170518-e4db63fd64b1716715ac7289dc6f1fc48593d4af.zip mtk-20170518-e4db63fd64b1716715ac7289dc6f1fc48593d4af.tar.gz mtk-20170518-e4db63fd64b1716715ac7289dc6f1fc48593d4af.tar.bz2 |
ar71xx: add initial support for 3.6
The nand subtarget is not working yet.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33983
Diffstat (limited to 'target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch b/target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch new file mode 100644 index 0000000..964ffe3 --- /dev/null +++ b/target/linux/ar71xx/patches-3.6/434-spi-ap83_spi_controller.patch @@ -0,0 +1,27 @@ +--- a/drivers/spi/Makefile ++++ b/drivers/spi/Makefile +@@ -12,6 +12,7 @@ obj-$(CONFIG_SPI_SPIDEV) += spidev.o + # SPI master controller drivers (bus) + obj-$(CONFIG_SPI_ALTERA) += spi-altera.o + obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o ++obj-$(CONFIG_SPI_AP83) += spi-ap83.o + obj-$(CONFIG_SPI_ATH79) += spi-ath79.o + obj-$(CONFIG_SPI_AU1550) += spi-au1550.o + obj-$(CONFIG_SPI_BCM63XX) += spi-bcm63xx.o +--- a/drivers/spi/Kconfig ++++ b/drivers/spi/Kconfig +@@ -59,6 +59,14 @@ config SPI_ALTERA + help + This is the driver for the Altera SPI Controller. + ++config SPI_AP83 ++ tristate "Atheros AP83 specific SPI Controller" ++ depends on SPI_MASTER && ATH79_MACH_AP83 ++ select SPI_BITBANG ++ help ++ This is a specific SPI controller driver for the Atheros AP83 ++ reference board. ++ + config SPI_ATH79 + tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver" + depends on ATH79 && GENERIC_GPIO |