Skip to content

RFC PL08x DT bindings and LPC18xx DMA support

Joachim Eastwood linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dmaengine: pl08x: support dt channel assignmentdrivers/dma/amba-pl08x.c+189 -30 replies
2/4doc: dt: dma: add binding doc for pl08xDocumentation/devicetree/bindings/dma/arm-pl08x.txt+54 -00 replies
3/4dmaengine: add driver for lpc18xx dmamuxdrivers/dma/Kconfig drivers/dma/Makefile drivers/dma/lpc18xx-dmamux.c+194 -00 replies
4/4doc: dt: dma: add bindings for lpc1850-dmamuxDocumentation/devicetree/bindings/dma/lpc1850-dmamux.txt+54 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/4] PL08x DT bindings and LPC18xx DMA support

This patch set aims to add support for DMA on the NXP LPC18xx/43xx (Cortex-M3/M4) platform. The platform has a PL080 controller with a mux in front of the DMA request lines. This setup is quite common and can be found on most other, if not all, NXP LPC devices.

Patch set adds DT support for the PL08x dmaengine driver and a DMA router driver for the LPC18xx/43xx DMA multiplexer.

DT support for the PL08x was originally written by Linus Walleij and can be found on the link below.
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/286866.html

The following changes has since been made to the pl08x dt patch by Linus:
- move AHB master setting into dma specifier as suggested by Arnd [1].
- remove channel sub-nodes from driver and dt doc.
- dynamically allocate dma channels in xlate
function as outlined by Arnd [2].
- address some minor comments from Arnd in [1].
- minor misc clean ups (white space + include order).

Patch set successfully tested on 8250 UART (TX) with DMA support on Embedded Artists' LPC4357 Developer's Kit.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/287834.html
[2] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/286150.html

Joachim Eastwood (2):
dmaengine: add driver for lpc18xx dmamux
doc: dt: dma: add bindings for lpc1850-dmamux

Linus Walleij (2):
dmaengine: pl08x: support dt channel assignment
doc: dt: dma: add binding doc for pl08x

 .../devicetree/bindings/dma/arm-pl08x.txt          |  54 ++++++
 .../devicetree/bindings/dma/lpc1850-dmamux.txt     |  54 ++++++
 drivers/dma/Kconfig                                |   9 +
 drivers/dma/Makefile                               |   1 +
 drivers/dma/amba-pl08x.c                           | 192 ++++++++++++++++++++-
 drivers/dma/lpc18xx-dmamux.c                       | 184 ++++++++++++++++++++
 6 files changed, 491 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/arm-pl08x.txt
 create mode 100644 Documentation/devicetree/bindings/dma/lpc1850-dmamux.txt
 create mode 100644 drivers/dma/lpc18xx-dmamux.c
Signature · 1 line
1.8.0