434-spi-ap83_spi_controller.patch 895 B

123456789101112131415161718192021222324252627
  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. +config SPI_AP83
  17. + tristate "Atheros AP83 specific SPI Controller"
  18. + depends on SPI_MASTER && ATH79_MACH_AP83
  19. + select SPI_BITBANG
  20. + help
  21. + This is a specific SPI controller driver for the Atheros AP83
  22. + reference board.
  23. +
  24. config SPI_ATH79
  25. tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
  26. depends on ATH79 && GPIOLIB