• Hao Liu's avatar
    dmaengine: sirf: add CSRatlas7 SoC support · 0a45dcab
    Hao Liu authored
    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: default avatarHao Liu <Hao.Liu@csr.com>
    Signed-off-by: default avatarYanchang Li <Yanchang.Li@csr.com>
    Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    0a45dcab
sirf-dma.c 32.8 KB