dma: mmp_tdma: move to generic device tree binding
authorNenghua Cao <nhcao@marvell.com>
Mon, 20 Jan 2014 12:39:01 +0000 (20:39 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 6 Mar 2014 09:19:54 +0000 (14:49 +0530)
commit7dedc002c0ec676590bf78ae8d76f2ffd51564f6
tree728cd0881737a0e7032a7e585803190af4c68253
parentf0b507774449ec35fbfd7173e5fc7dd4df71a81c
dma: mmp_tdma: move to generic device tree binding

    This patch makes the mmp_tdma controller able to provide DMA
resources in DT environments by providing an dma xlate function to
get the generic DMA device tree helper support. Then DMA clients only
need to call dma_request_slave_channel() for requesting a DMA channel
from dmaengine.

Signed-off-by: Nenghua Cao <nhcao@marvell.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_tdma.c