433-spi-rb4xx-cpld-driver.patch 910 B

1234567891011121314151617181920212223242526
  1. --- a/drivers/spi/Kconfig
  2. +++ b/drivers/spi/Kconfig
  3. @@ -647,6 +647,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. +config SPI_RB4XX_CPLD
  7. + tristate "MikroTik RB4XX CPLD driver"
  8. + depends on ATH79_MACH_RB4XX
  9. + help
  10. + SPI driver for the Xilinx CPLD chip present on the
  11. + MikroTik RB4xx boards.
  12. +
  13. #
  14. # Add new SPI protocol masters in alphabetical order above this line
  15. #
  16. --- a/drivers/spi/Makefile
  17. +++ b/drivers/spi/Makefile
  18. @@ -63,6 +63,7 @@ spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_
  19. obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o
  20. obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o
  21. obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
  22. +obj-$(CONFIG_SPI_RB4XX_CPLD) += spi-rb4xx-cpld.o
  23. obj-$(CONFIG_SPI_QUP) += spi-qup.o
  24. obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o
  25. obj-$(CONFIG_SPI_RSPI) += spi-rspi.o