[PATCH v5 0/7] DMA: shdma: switch DT to use OF device ID tables

From: Guennadi Liakhovetski
Date: Fri Aug 02 2013 - 10:50:50 EST


In this version of shdma Device Tree support I preserved the DT
configuration approach via OF device ID tables from v4, but now it is only
used for the DT-mode, the C-version is left untouched. In this series I
only include one platform: r8a73a4-based APE6EVM, if accepted, others can
be added easily. I also took care not to include mach/*.h headers in
driver .c files. To illustrate the use of DT DMA support for MMC DMA on
APE6EVM a patch from a previously separate patch series "DMA for MMCIF and
SDHI devices in DT mode"
http://thread.gmane.org/gmane.linux.ports.sh.devel/25445
is now also included in this series.

This series should be applied on top of my previous shdma patches
"DMA: shdma: fix CHCLR register address calculation"
https://lkml.org/lkml/2013/7/2/331
"DMA: shdma: several stylistic improvements and support for new SoCs"
http://thread.gmane.org/gmane.linux.ports.sh.devel/24826
"DMA: shdma: make a pointer const"
http://marc.info/?l=linux-sh&m=137545309332395&w=2

The above dependencies also mean, that the ARM patches shall only be
applied after the DMA patches are upstream.

Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@xxxxxxxxx>

Guennadi Liakhovetski (7):
DMA: shdma: switch DT mode to use configuration data from a match
table
DMA: shdma: remove private and unused defines from a global header
DMA: shdma: add a header with common for ARM SoCs defines
DMA: shdma: add r8a73a4 DMAC data to the device ID table
ARM: shmobile: r8a73a4: add a DMAC platform device and clock for it
ARM: shmobile: r8a73a4: add a DT node and a clock alias for the DMAC
ARM: shmobile: ape6evm-reference: enable DMA for the MMC interface

Documentation/devicetree/bindings/dma/shdma.txt | 61 +++++++++-------
arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts | 3 +
arch/arm/boot/dts/r8a73a4.dtsi | 43 +++++++++++
arch/arm/mach-shmobile/clock-r8a73a4.c | 5 +-
arch/arm/mach-shmobile/include/mach/r8a73a4.h | 9 ++
arch/arm/mach-shmobile/setup-r8a73a4.c | 91 +++++++++++++++++++++++
drivers/dma/sh/Kconfig | 4 +
drivers/dma/sh/Makefile | 5 +
drivers/dma/sh/shdma-arm.h | 51 +++++++++++++
drivers/dma/sh/shdma-base.c | 15 ++--
drivers/dma/sh/shdma-of.c | 3 -
drivers/dma/sh/shdma-r8a73a4.c | 77 +++++++++++++++++++
drivers/dma/sh/shdma.h | 8 ++
drivers/dma/sh/{shdma.c => shdmac.c} | 40 +++++++---
drivers/dma/sh/sudmac.c | 3 +-
include/linux/sh_dma.h | 21 -----
include/linux/shdma-base.h | 2 +-
17 files changed, 371 insertions(+), 70 deletions(-)
create mode 100644 drivers/dma/sh/shdma-arm.h
create mode 100644 drivers/dma/sh/shdma-r8a73a4.c
rename drivers/dma/sh/{shdma.c => shdmac.c} (97%)

--
1.7.2.5

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/