The Marvell Armada 3700 SoC includes an SPI controller. This controller supports up to 4 SPI slave devices, with dedicated chip selects, CPIO or FIFO mode with DMA or CPU transfers and different SPI transfer modes (Standard single, Dual or Quad). This set of patches adds a basic support for the CPIO mode, then it enables the FIFO mode (CPU-side only, DMA not supported yet). It also adds the required definitions of the spi nodes to the devicetree. Romain Perier (5): spi: Add basic support for Armada 3700 SPI Controller spi: armada-3700: Add support for the FIFO mode dt-bindings: spi: Add documentation for the Armada 3700 SPI Controller arm64: dts: marvell: Add definition of SPI controller for Armada 3700 arm64: dts: marvell: Enable spi0 on the board Armada-3720-db .../devicetree/bindings/spi/spi-armada-3700.txt | 25 + arch/arm64/boot/dts/marvell/armada-3720-db.dts | 30 + arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 13 + drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-armada-3700.c | 1047 ++++++++++++++++++++ 6 files changed, 1123 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-armada-3700.txt create mode 100644 drivers/spi/spi-armada-3700.c -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html