diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2013-04-19 09:11:18 +0000 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-04-30 14:17:41 +0530 |
commit | bbe89c8e3d598129b728d1388c3ad9abe4e8e261 (patch) | |
tree | b4654e214de37c86501ad83005c29a8419a97a3d /drivers/dma/at_hdmac_regs.h | |
parent | e6a30fec08b421a59064437a7d990c70a80a7e7f (diff) | |
download | lwn-bbe89c8e3d598129b728d1388c3ad9abe4e8e261.tar.gz lwn-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; |