dmaengine: sirf: add CSRatlas7 SoC support
authorHao Liu <Hao.Liu@csr.com>
Tue, 26 May 2015 07:32:28 +0000 (07:32 +0000)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Jun 2015 04:56:58 +0000 (10:26 +0530)
commit0a45dcab22f6aa12cd0a022a69aca10103a43c0c
tree39bd840a001b72e032981d13599e3ed8986cbbbf
parent6d0767c10f491034c875c1af11058f03caef34b1
dmaengine: sirf: add CSRatlas7 SoC support

add support for new CSR atlas7 SoC. atlas7 exists V1 and V2 IP.
atlas7 DMAv1 is basically moved from marco, which has never been
delivered to customers and renamed in this patch.
atlas7 DMAv2 supports chain DMA by a chain table, this
patch also adds chain DMA support for atlas7.

atlas7 DMAv1 and DMAv2 co-exist in the same chip. there are some HW
configuration differences(register offset etc.) with old prima2 chips,
so we use compatible string to differentiate old prima2 and new atlas7,
then results in different set in HW for them.

Signed-off-by: Hao Liu <Hao.Liu@csr.com>
Signed-off-by: Yanchang Li <Yanchang.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Documentation/devicetree/bindings/dma/sirfsoc-dma.txt
drivers/dma/sirf-dma.c