Skip to content

Add support for the Armada 3700 SPI controller

Gregory CLEMENT linux-arm-kernel linux-devicetree linux-spi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 of 5 patches 0 repliesNew

2 of 5 patches are in this archive. The cover letter announces 5.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/5spi: armada-3700: Add support for the FIFO mode+0 -00 replies
4/5arm64: dts: marvell: Add definition of SPI controller for Armada 3700+0 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchGregory CLEMENT
SeriesT-b
2/5
4/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Add support for the Armada 3700 SPI controller

Hi Romain,

Quoted 9 lines · Romain Perier

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.

I tested the series on the Rev 1.1 and the Rev 2.0 Armada 3720 Db board and it works on both of them: I managed at leat to read the spi dataflash.

So for the series you can add my

Thanks,

Gregory

Quoted 20 lines

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                      | 1040 ++++++++++++++++++++
 6 files changed, 1116 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spi/spi-armada-3700.txt
 create mode 100644 drivers/spi/spi-armada-3700.c
Signature · 1 line
2.9.3
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com