[DEV] ARM: s3c64xx: mini6410: Enable spidev on SPI0

For SPI and DMA debugging.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
[DEV] spi: spidev: Use dma_alloc_coherent() to allocate buffer for messages

For DMA debugging.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
[DEV] misc: Add simple dma-test driver

The dma-test driver allows starting an arbitrary DMA memcpy request
between two contiguous DMA buffers and then verify whether it completed
successfully.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
[DEV] ARM: s3c64xx: mini6410: Enable dma-test driver

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
spi: s3c64xx: Do not require legacy DMA API in case of S3C64XX

With support for amba-pl08x driver, on S3C64xx the generic DMA engine
API can be used instead of the private s3c-dma interface.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ASoC: Samsung: Do not require legacy DMA API in case of S3C64XX

With support for amba-pl08x driver, on S3C64xx the generic DMA engine
API can be used instead of the private s3c-dma interface.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
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>
clk: samsung: s3c64xx: Add aliases for DMA clocks

This patch adds clkdev aliases for clocks used by PL08x DMA driver.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s3c64xx: Remove legacy DMA driver

Since support for generic PL08x DMA engine driver has been added, there
is no need to keep the old legacy driver, so this patch removes it.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
clk: samsung: s3c64xx: Remove clock aliases of old DMA driver

Since the old DMA driver got removed, these aliases are no longer
necessary.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
spi: s3c64xx: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

The legacy S3C64xx DMA driver has been removed, DMA support on
S3C64xx is provided only by the generic PL08x driver.

This patch modifies the Kconfig entry of spi-s3c64xx driver, which
relies on availability of DMA, to always select the S3C64XX_PL080
symbol.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ASoC: Samsung: Always select S3C64XX_PL080 when ARCH_S3C64XX is enabled

The legacy S3C64xx DMA driver has been removed, DMA support on
S3C64xx is provided only by the generic PL08x driver.

This patch modifies the Kconfig entry of Samsung ASoC subsystem, which
relies on availability of DMA, to always select the S3C64XX_PL080
symbol.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: s3c64xx: Add DMA platform data when booting with DT

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s3c64xx: Add nodes for DMA controllers

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
dmaengine: PL08x: Enable OF-based DMA channel lookup

This patch adds support for OF-based lookup of virtual slave DMA
channels.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
ARM: dts: s3c64xx: Add nodes for SPI controllers

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>