Re: [PATCH/RFC 0/6] DMA: shdma: add Device Tree support
From: Guennadi Liakhovetski
Date: Thu May 02 2013 - 03:48:17 EST
Hi Chris, Simon, Vinod (in alphabetical order :-) )
On Thu, 11 Apr 2013, Guennadi Liakhovetski wrote:
> This patch series adds Device Tree support to the shdma dmaengine driver
> and illustraits its use with the kzm9g-reference board's MMCIF interface.
Formally patches in this series belong to your 3 trees: 1-3 and 7
(documentation, sent later separately) to DMA, 4 and 6 to ARM/shmobile, 5
to MMC. However, they can actually be safely applied in any order, as long
as per-tree patches are kept together. Even if the DMA portion is applied
last, the MMC driver will find DMA DT bindings in the DT, will request
channels, but no DMA channels will be found, then the driver will fall
back to PIO.
So, it's up to you to decide, whether to pull these patches separately via
respective trees, or have some of them acked and push all of them via one
tree.
Thanks
Guennadi
> Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@xxxxxxxxx>
>
> Guennadi Liakhovetski (6):
> DMA: shdma: (cosmetic) don't re-calculate a pointer
> DMA: shdma: shdma_chan_filter() has to be in shdma-base.h
> DMA: shdma: add DT support
> ARM: shmobile: sh73a0: add support for the DMA0 controller in DT
> mmc: sh_mmcif: add support for Device Tree DMA bindings
> ARM: shmobile: kzm9g-reference: add DMA channels to the MMCIF DT
>
> arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 3 ++
> arch/arm/boot/dts/sh73a0.dtsi | 36 ++++++++++++++++++
> arch/arm/mach-shmobile/setup-sh73a0.c | 4 ++
> drivers/dma/sh/shdma-base.c | 51 +++++++++++++++++++++++---
> drivers/dma/sh/shdma.c | 46 ++++++++++++++++++++----
> drivers/mmc/host/sh_mmcif.c | 29 +++++++++------
> include/linux/sh_dma.h | 2 -
> include/linux/shdma-base.h | 6 +++
> 8 files changed, 151 insertions(+), 26 deletions(-)
>
> --
> 1.7.2.5
>
> Thanks
> Guennadi
> ---
> Guennadi Liakhovetski, Ph.D.
> Freelance Open-Source Software Developer
> http://www.open-technology.de/
>
---
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/