The driver mediates access between the connected CPLD and other devices on the bus. Imported from the OpenWrt project. Bert Vermeulen (2): spi: Add SPI driver for Mikrotik RB4xx series boards spi: Add driver for the CPLD chip on Mikrotik RB4xx boards arch/mips/include/asm/mach-ath79/rb4xx_cpld.h | 41 +++ drivers/spi/Kconfig | 14 + drivers/spi/Makefile | 2 + drivers/spi/spi-rb4xx-cpld.c | 326 +++++++++++++++++ drivers/spi/spi-rb4xx.c | 505 ++++++++++++++++++++++++++ include/linux/spi/spi.h | 2 + 6 files changed, 890 insertions(+) create mode 100644 arch/mips/include/asm/mach-ath79/rb4xx_cpld.h create mode 100644 drivers/spi/spi-rb4xx-cpld.c create mode 100644 drivers/spi/spi-rb4xx.c -- 1.9.1