diff options
author | Kedareswara rao Appana <appana.durga.rao@xilinx.com> | 2016-06-07 16:51:16 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-21 08:35:23 +0300 |
commit | 9791e71a0632d9ebf3995d202ad2707c7460507f (patch) | |
tree | 389ea476a9b4c3e8545ae6f4d2d74be26fc3ecd9 /Documentation | |
parent | f0cba685caa30927e3e5f35074c8f6a62aa628ac (diff) | |
download | linux-9791e71a0632d9ebf3995d202ad2707c7460507f.tar.xz |
dmaengine: vdma: Add 64 bit addressing support for the axi cdma
The AXI CDMA is a soft ip, which can be programmed to support
32 bit addressing or greater than 32 bit addressing.
When the AXI CDMA ip is configured for 32 bit address space
in simple dma mode the source/destination buffer address is
specified by a single register(18h for Source buffer address and
20h for Destination buffer address). When configured in SG mode
the current descriptor and tail descriptor are specified by a
Single register(08h for curdesc 10h for tail desc).
When the AXI CDMA core is configured for an address space greater
than 32 then each buffer address or descriptor address is specified by
a combination of two registers.
The first register specifies the LSB 32 bits of address,
while the next register specifies the MSB 32 bits of address.
For example, 08h will specify the LSB 32 bits while 0Ch will
specify the MSB 32 bits of the first start address.
So we need to program two registers at a time.
This patch adds the 64 bit addressing support to the axicdma
IP in the driver.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions