[PATCH 0/4] PL08x DT bindings and LPC18xx DMA support
manabian at gmail.com
Sat Jul 11 05:12:03 PDT 2015
This is the non-RFC version of the patch set with only a few changes.
Hope this can go in for 4.3. Changes to the DT for LPC18xx/43xx will
go thru arm-soc once this get accepted.
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.
Changes since RFC:
- remove some useless headers from dmamux driver.
- turn a dev_info into dev_dbg in dmamux driver.
The following changes has since been made to the pl08x dt patch by
- move AHB master setting into dma specifier as
suggested by Arnd .
- remove channel sub-nodes from driver and dt doc.
- dynamically allocate dma channels in xlate
function as outlined by Arnd .
- address some minor comments from Arnd in .
- 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.
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 | 183 ++++++++++++++++++++
6 files changed, 490 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
More information about the linux-arm-kernel