[PATCH v2 2/2] ARM: shmobile: Marzen: enable DMA for SDHI0

Simon Horman horms at verge.net.au
Wed Sep 25 02:55:49 EDT 2013


[ Cc: Guennadi Liakhovetski ]

On Sun, Aug 25, 2013 at 09:47:26PM +0400, Sergei Shtylyov wrote:
> From: Max Filippov <max.filippov at cogentembedded.com>
> 
> Pass HPB-DMA slave IDs in the SDHI0 platform data to enable DMA in the SDHI
> driver.
> 
> Signed-off-by: Max Filippov <max.filippov at cogentembedded.com>
> [Sergei: removed #include <mach/dma.h>]
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
> 
> ---
> Changes in version 2:
> - refreshed the patch.
> 
>  arch/arm/mach-shmobile/board-marzen.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> Index: renesas/arch/arm/mach-shmobile/board-marzen.c
> ===================================================================
> --- renesas.orig/arch/arm/mach-shmobile/board-marzen.c
> +++ renesas/arch/arm/mach-shmobile/board-marzen.c
> @@ -123,6 +123,8 @@ static struct resource sdhi0_resources[]
>  };
>  
>  static struct sh_mobile_sdhi_info sdhi0_platform_data = {
> +	.dma_slave_tx = HPBDMA_SLAVE_SDHI0_TX,
> +	.dma_slave_rx = HPBDMA_SLAVE_SDHI0_RX,
>  	.tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT,
>  	.tmio_caps = MMC_CAP_SD_HIGHSPEED,
>  };

Hi,

I am intending to queue up this change for v3.13.

I am wondering if you could give me some details of dependencies
of this change on the previous patch. If possible I would
like to apply this patch in a branch that does not include the previous patch.

Also, could you provide a patch to update the marzen defconfig?

Lastly, the driver does not seem to compile as it makes use of
shdma_free_irq() which was removed by Guennadi in
c1c63a14f4f2419d ("DMA: shdma: switch to managed resource allocation").



More information about the linux-arm-kernel mailing list