diff options
author | Boojin Kim <boojin.kim@samsung.com> | 2011-09-02 02:44:35 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-09-14 07:40:02 +0200 |
commit | c4e1662550a3bd23df7cff4611eff67ba2afe078 (patch) | |
tree | e4feab2846a663b7054a4783171c4c3043037bd7 /arch/arm/plat-samsung/Makefile | |
parent | ARM: SAMSUNG: Update to use PL330-DMA driver (diff) | |
download | linux-c4e1662550a3bd23df7cff4611eff67ba2afe078.tar.xz linux-c4e1662550a3bd23df7cff4611eff67ba2afe078.zip |
ARM: SAMSUNG: Add common DMA operations
This patch adds common DMA operations which are used for Samsung DMA
drivers. Currently there are two types of DMA driver for Samsung SoCs.
The one is S3C-DMA for S3C SoCs and the other is PL330-DMA for S5P SoCs.
This patch provides funcion pointers for common DMA operations to DMA
client driver like SPI and Audio. It makes DMA client drivers support
multi-platform.
In addition, this common DMA operations implement the shared actions
that are needed for DMA client driver. For example shared actions are
filter() function for dma_request_channel() and parameter passing for
device_prep_slave_sg().
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/plat-samsung/Makefile')
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile index 853764ba8cc5..e2ee0b8a3763 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile @@ -63,9 +63,11 @@ obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o # DMA support -obj-$(CONFIG_S3C_DMA) += dma.o +obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o -obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o +obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o + +obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o s3c-dma-ops.o # PM support |