diff options
author | Ludovic Desroches | 2013-04-19 11:11:18 +0200 |
---|---|---|
committer | Vinod Koul | 2013-04-30 10:47:41 +0200 |
commit | bbe89c8e3d598129b728d1388c3ad9abe4e8e261 (patch) | |
tree | b4654e214de37c86501ad83005c29a8419a97a3d /drivers/dma/at_hdmac_regs.h | |
parent | ioatdma: ioat3_alloc_sed can be static (diff) | |
download | kernel-qcow2-linux-bbe89c8e3d598129b728d1388c3ad9abe4e8e261.tar.gz kernel-qcow2-linux-bbe89c8e3d598129b728d1388c3ad9abe4e8e261.tar.xz kernel-qcow2-linux-bbe89c8e3d598129b728d1388c3ad9abe4e8e261.zip |
at_hdmac: move to generic DMA binding
Update at_hdmac driver to support generic DMA device tree binding. Devices
can still request channel with dma_request_channel() then it doesn't break
DMA for non DT boards.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac_regs.h')
-rw-r--r-- | drivers/dma/at_hdmac_regs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/at_hdmac_regs.h b/drivers/dma/at_hdmac_regs.h index 0eb3c1388667..c604d26fd4d3 100644 --- a/drivers/dma/at_hdmac_regs.h +++ b/drivers/dma/at_hdmac_regs.h @@ -220,6 +220,8 @@ enum atc_status { * @device: parent device * @ch_regs: memory mapped register base * @mask: channel index in a mask + * @per_if: peripheral interface + * @mem_if: memory interface * @status: transmit status information from irq/prep* functions * to tasklet (use atomic operations) * @tasklet: bottom half to finish transaction work @@ -238,6 +240,8 @@ struct at_dma_chan { struct at_dma *device; void __iomem *ch_regs; u8 mask; + u8 per_if; + u8 mem_if; unsigned long status; struct tasklet_struct tasklet; u32 save_cfg; |