Re: [PATCH v3 0/7] ARM: shmobile: shdma DT on sh73a0 and r8a7740
From: Guennadi Liakhovetski <hidden>
Date: 2013-06-27 07:13:19
Also in:
linux-sh
Hi Simon On Thu, 27 Jun 2013, Simon Horman wrote:
On Wed, Jun 26, 2013 at 04:40:49PM +0200, Guennadi Liakhovetski wrote:quoted
Recently shdma acquired DT support with a possibility to place multiple compatible DMAC instances under a common DMA multiplexer DT node. This is used to provide DMA support on r8a7740 / armadillo800eva. However there are also SoCs with a single DMAC instance. We could still put it under a (dummy) multiplexer DT node, or we can add support for such configurations to the shdma driver and simplify DTs on such SoCs. Patch 1 in this series adds support for such top-level DMAC DT nodes to shdma, which is then used on sh73a0. This is why patches 1-3 are marked "RFC," if it is preferred to not add this complexity to the driver and use a dummy DMA multiplexer instead, patch 1 shall be dropped and patches 2 and 3 would have to be reworked.Hi Guennadi, can patches 4+ be reviewed and applied independently of the RFC patches 1-3 ?
Yes, they can. Thanks Guennadi
quoted
Cc: Guennadi Liakhovetski <redacted> Cc: Vinod Koul <redacted> Guennadi Liakhovetski (7): DMA: shdma: also support single top-level DMAC DT nodes ARM: shmobile: sh73a0: add support for the DMA0 controller in DT ARM: shmobile: kzm9g-reference: add DMA channels to the MMCIF DT ARM: shmobile: r8a7740: add MMCIF DMA definitions ARM: shmobile: r8a7740: add DT nodes for three DMAC instance ARM: shmobile: add SDHI and MMCIF interfaces to armadillo800eva-reference ARM: shmobile: armadillo800eva-reference: add DMA support for MMCIF and SDHI .../boot/dts/r8a7740-armadillo800eva-reference.dts | 30 ++++++- arch/arm/boot/dts/r8a7740.dtsi | 95 ++++++++++++++++++++ arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 3 + arch/arm/boot/dts/sh73a0.dtsi | 36 ++++++++ .../board-armadillo800eva-reference.c | 36 +++++++- arch/arm/mach-shmobile/include/mach/r8a7740.h | 2 + arch/arm/mach-shmobile/setup-r8a7740.c | 22 +++++ arch/arm/mach-shmobile/setup-sh73a0.c | 4 + drivers/dma/sh/shdma-of.c | 5 +- drivers/dma/sh/shdma.c | 16 ++++ include/linux/sh_dma.h | 5 + 11 files changed, 250 insertions(+), 4 deletions(-) -- 1.7.2.5
--- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/