Skip to content

ARM: shmobile: koelsch reference: Enable DMA for QSPI

Ben Dooks linux-arm-kernel linux-devicetree linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 of 7 patches 0 repliesNew

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/7DMA: shdma: Spelling s/controll/control/+0 -00 replies
4/7ARM: shmobile: r8a7791: Add SYS-DMAC channel definitions for bindings+0 -02 replies
4/7ARM: shmobile: r8a7791: Add SYS-DMAC channel definitions for bindings+0 -01 reply
5/7ARM: shmobile: r8a7791 dtsi: Add SYS-DMAC0 and SYS-DMAC1 nodes+0 -00 replies
7/7ARM: shmobile: r8a7791 dtsi: Enable DMA for QSPI+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] ARM: shmobile: koelsch reference: Enable DMA for QSPI
Quoted 36 lines · Geert Uytterhoeven

This patch series enables DMA support for QSPI on r8a7791/koelsch reference. It's independent from the series "ARM: shmobile: koelsch
legacy: Enable DMA for QSPI", but it depends on the SHDMA work for r8a7790 by Ben Dooks (cfr. "[PATCH v2 0/9] Updates Renesas OF-DMA code").

Changes Compared to previous submission ("[PATCH/RFC 0/7] ARM: shmobile:
r8a7791: Add preliminary DMA support"):
- "[6/7] ARM: shmobile: r8a7791 dtsi: Enable DMA for MSIOF" was dropped,
- 2/7 was added,
- 7/7 was changed (see changelog in individual patch).

This was tested on r8a7791/koelsch.

Performance figures for reading from a QSPI FLASH driven at 24.375 MHz are:
- Single: 1.1 Mbps PIO, 23 Mbps DMA
- Dual : 12.7 Mbps PIO, 48 Mbps DMA
- Quad : 13 Mbps PIO, 70 Mbps DMA

Thanks for your comments!

[1/7] DMA: shdma: Add r8a7791 support
[2/7] DMA: shdma: Spelling s/controll/control/
[3/7] ARM: shmobile: r8a7791 dtsi: add SYS-DMAC clocks
[4/7] ARM: shmobile: r8a7791: Add SYS-DMAC channel definitions for bindings [5/7] ARM: shmobile: r8a7791 dtsi: Add SYS-DMAC0 and SYS-DMAC1 nodes [6/7] ARM: shmobile: koelsch dts: Enable sysdma0 and sysdma1 [7/7] ARM: shmobile: r8a7791 dtsi: Enable DMA for QSPI

 Documentation/devicetree/bindings/dma/shdma.txt |   7 +-
 arch/arm/boot/dts/r8a7791-koelsch.dts           |   8 ++
 arch/arm/boot/dts/r8a7791.dtsi                  |  79 ++++++++++++++++-
 drivers/dma/sh/shdmac.c                         |   1 +
 include/dt-bindings/dma/r8a7791-dma.h           | 111 ++++++++++++++++++++++++
 5 files changed, 201 insertions(+), 5 deletions(-)
 create mode 100644 include/dt-bindings/dma/r8a7791-dma.h
Quoted 1 line

Gr{oetje,eeting}s,

Hi, thanks for testing against the current DMA series, I will try and get a new series out for you in the next few days with the changes to use 1 parameter phandles instead of 2 parameter ones.

Signature · 2 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius