Re: [PATCH] dmaengine: at_hdmac: add DMA slave transfers

From: Nicolas Ferre
Date: Fri Jul 24 2009 - 03:36:06 EST


Dan Williams :
> On Wed, Jul 22, 2009 at 11:04 AM, Nicolas Ferre<nicolas.ferre@xxxxxxxxx> wrote:
>> This patch for at_hdmac adds the slave transfers capability to the Atmel DMA
>> controller available on some AT91 SOCs. This allow peripheral to memory and
>> memory to peripheral transfers with hardware handshaking.
>>
>> Slave structure for controller specific information is passed through channel
>> private data. This at_dma_slave structure is defined in at_hdmac.h header file
>> and relative hardware definition are moved to this file from at_hdmac_regs.h.
>> Doing this we allow the channel configuration from platform definition code.
>>
>> This work is intensively based on dw_dmac and several slave implementations.
>>
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
>> ---
>
> Seems straightforward and self contained, applied. Just curious which
> drivers will take advantage of this slave capability? As it stands I
> do not see any in-tree users of at_hdmac beyond dmatest?

Well, in fact the same as dw_dmac: atmel-mci. Adaptation of other
drivers are coming: probably ac97 and spi interfaces.

The patches for adaptation of atmel-mci to at_hdmac are coming...

Best regards,
--
Nicolas Ferre

--
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/