DMA: shdma: add a header with common for ARM SoCs defines
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 2 Aug 2013 14:50:38 +0000 (16:50 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 27 Aug 2013 08:56:14 +0000 (14:26 +0530)
commit8eb742a0914cd79053d092a14bfac5315993dd61
tree4a81b28432cce0c1eb331db8820597b8e331bd82
parent4620ad5419612fcd9ab412410440d3a7e8a9a90a
DMA: shdma: add a header with common for ARM SoCs defines

All shdma DMACs on ARM SoCs share certain register layout patterns, which
are currently defined in arch/arm/mach-shmobile/include/mach/dma-register.h.
That header is included by SoC-specific setup-*.c files to be used in DMAC
platform data. That header, however, cannot be directly used by the driver.
This patch copies those defines into a driver-local header to be used by
Device Tree configurations.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/shdma-arm.h [new file with mode: 0644]