dma: tegra: add support for channel wise pause
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 6 Jan 2013 16:22:02 +0000 (21:52 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 10:53:05 +0000 (02:53 -0800)
NVIDIA's some SoCs like Tegra114 support the channel wise pause control
inplace of global pause which pauses all DMA channels. When SoCs support
the channel wise pause control then it uses the global pause for clock
gating for register access as well as all DMA channel pause. Hence DMA
registers are not accessible if DMAs are globally paused on these new SoCs.

Add support for channel wise pause feature if SoCs support it.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

No differences found