ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver
authorTomasz Figa <tomasz.figa@gmail.com>
Wed, 16 Oct 2013 19:10:54 +0000 (21:10 +0200)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 14:38:24 +0000 (14:38 +0000)
commit1db0287ab186637488e51ae43109692624f2d5a3
tree13a3fa95b54b8f9b1e56125a5d369cd3d9fb37c5
parent1b49f10c69b45a8b169c69eaa127e7f91a32f7c7
ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver

This patch adds all required platform-specific data and initialization
code to support the generic amba-pl08x driver on S3C64xx SoCs.

Also some compatibility definitions are added to make the transition
from legacy API to DMA engine easier. The biggest hack here is passing
const char * pointers through DMA resource, casted to unsigned long,
but this is how Samsung DMA wrappers (used to support both s3c-dma and
DMA engine in drivers) are designed.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm/Kconfig
arch/arm/mach-s3c64xx/Kconfig
arch/arm/mach-s3c64xx/Makefile
arch/arm/mach-s3c64xx/common.h
arch/arm/mach-s3c64xx/include/mach/dma.h
arch/arm/mach-s3c64xx/pl080.c [new file with mode: 0644]
arch/arm/plat-samsung/devs.c
arch/arm/plat-samsung/dma-ops.c