From: horms@verge.net.au (Simon Horman) Date: Wed, 25 Sep 2013 15:55:49 +0900 Subject: [PATCH v2 2/2] ARM: shmobile: Marzen: enable DMA for SDHI0 In-Reply-To: <201308252147.27210.sergei.shtylyov@cogentembedded.com> References: <201308252143.33458.sergei.shtylyov@cogentembedded.com> <201308252147.27210.sergei.shtylyov@cogentembedded.com> Message-ID: <20130925065549.GG1916@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org [ Cc: Guennadi Liakhovetski ] On Sun, Aug 25, 2013 at 09:47:26PM +0400, Sergei Shtylyov wrote: > From: Max Filippov > > Pass HPB-DMA slave IDs in the SDHI0 platform data to enable DMA in the SDHI > driver. > > Signed-off-by: Max Filippov > [Sergei: removed #include ] > Signed-off-by: Sergei Shtylyov > > --- > 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").