RE: [PATCH V4 03-1/13] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-07-24 Thread Boojin Kim
Jassi Brar wrote: > Sent: Friday, July 22, 2011 2:42 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung-soc@vger.kernel.org; > Vinod Koul; Dan Williams; Kukjin Kim > Subject: Re: [PATCH V4 03-1/13] DMA: PL330: Support DMA_SLAVE_CONFIG command > > On Wed, Jul 20, 2011 at 4

[PATCH V4 11/14] ARM: SAMSUNG: Remove S3C-PL330-DMA driver

2011-07-24 Thread Boojin Kim
Since DMA generic APIs can be used for Samsung DMA now so that the s3c-pl330 which includes Samsung specific DMA APIs can be removed. Signed-off-by: Boojin Kim Cc: Jassi Brar Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/Kconfig |6 - arch/arm/plat-samsung/Makefi

[PATCH V4 12/14] spi/s3c64xx: Add support DMA engine API

2011-07-24 Thread Boojin Kim
This patch adds to support DMA generic API to transfer raw SPI data. Basiclly the spi driver uses DMA generic API if architecture supports it. Otherwise, uses Samsung specific S3C-PL330 APIs. Signed-off-by: Boojin Kim Cc: Grant Likely Signed-off-by: Kukjin Kim --- drivers/spi/spi_s3c64xx.c |

[PATCH V4 14/14] ARM: SAMSUNG: Remove Samsung specific enum type for dma direction

2011-07-24 Thread Boojin Kim
This patch removes the samsung specific enum type 's3c2410_dmasrc' and uses 'dma_data_direction' instead. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |2 +- arch/arm/mach-s3c2412/dma.c |4 ++-- arch/arm/ma

[PATCH V4 10/14] ARM: S5P64X0: Use generic DMA PL330 driver

2011-07-24 Thread Boojin Kim
This patch makes Samsung S5P64X0 to use DMA PL330 driver on DMADEVICE. The S5P64X0 uses DMA generic APIs instead of SAMSUNG specific S3C-PL330 APIs. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-s5p64x0/Kconfig |4 +- arch/arm/mach-s5p64x0/clock-s5p6440.c |

[PATCH V4 13/14] ASoC: Samsung: Update DMA interface

2011-07-24 Thread Boojin Kim
This patch adds to support the DMA PL330 driver that uses DMA generic API. Samsung sound driver uses DMA generic API if architecture supports it. Otherwise, use samsung specific S3C-PL330 API driver to transfer PCM data. Signed-off-by: Boojin Kim Cc: Jassi Brar Cc: Liam Girdwood Cc: Mark Brown

[PATCH V4 08/14] ARM: S5PV210: Use generic DMA PL330 driver

2011-07-24 Thread Boojin Kim
This patch makes Samsung S5PV210 to use DMA PL330 driver on DMADEVICE. The S5PV210 uses DMA generic APIs instead of SAMSUNG specific S3C-PL330 APIs. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig |2 +- arch/arm/mach-s5pv210/clock.c | 16 +- arch/arm

[PATCH V4 06/14] ARM: SAMSUNG: Add common DMA operations

2011-07-24 Thread Boojin Kim
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 li

[PATCH V4 09/14] ARM: S5PC100: Use generic DMA PL330 driver

2011-07-24 Thread Boojin Kim
This patch makes Samsung S5PC100 to use DMA PL330 driver on DMADEVICE. The S5PC100 uses DMA generic APIs instead of SAMSUNG specific S3C-PL330 APIs. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pc100/Kconfig |2 +- arch/arm/mach-s5pc100/clock.c | 23 +-- arch/ar

[PATCH V4 07/14] ARM: EXYNOS4: Use generic DMA PL330 driver

2011-07-24 Thread Boojin Kim
This patch makes Samsung EXYNOS4 to use DMA PL330 driver on DMADEVICE. The EXYNOS4 uses DMA generic APIs instead of SAMSUNG specific S3C-PL330 APIs. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/Kconfig |2 +- arch/arm/mach-exynos4/clock.c | 16 +- arch/arm

[PATCH V4 05/14] ARM: SAMSUNG: Update to use PL330-DMA driver

2011-07-24 Thread Boojin Kim
This patch adds to support PL330-DMA driver on DMADEVICE for S5P SoCs. Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/include/mach/dma.h |4 +- arch/arm/mach-s5p64x0/include/mach/dma.h |2 +- arch/arm/mach-s5pc100/include/mach/dma.h

[PATCH V4 01/14] DMA: PL330: Add support runtime PM for PL330 DMAC

2011-07-24 Thread Boojin Kim
Signed-off-by: Boojin Kim --- drivers/dma/pl330.c | 75 +- 1 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 6abe1ec..b7ecf47 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c

[PATCH V4 04/14] DMA: PL330: Add DMA_CYCLIC capability

2011-07-24 Thread Boojin Kim
This patch adds DMA_CYCLIC capability that is used for audio driver. DMA driver with DMA_CYCLIC capability reuses the dma requests that were submitted through tx_submit(). Signed-off-by: Boojin Kim --- drivers/dma/pl330.c | 111 +++ 1 files change

[PATCH V4 02/14] DMA: PL330: Update PL330 DMA API driver

2011-07-24 Thread Boojin Kim
This patch updates following 3 items. 1. Removes unneccessary code. 2. Add AMBA, PL330 configuration 3. Change the meaning of 'peri_id' variable from PL330 event number to specific dma id by user. Signed-off-by: Boojin Kim Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drive

[RESEND] [PATCH V4 0/14] To use DMA generic APIs for Samsung DMA

2011-07-24 Thread Boojin Kim
This patchset adds support DMA generic APIs for Samsung DMA and is re-sent by the request of DMA maintainer, Vinod Koul. V4 has the changes about 3 patches from V3. Changes from V3: - Divided '[03/13 patch] DMA: PL330: Add DMA capabilites' on V3 patchset into two patches. - One is '03/14

[PATCH V4 03/14] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-07-24 Thread Boojin Kim
This patch adds support DMA_SLAVE_CONFIG command. Signed-off-by: Boojin Kim --- drivers/dma/pl330.c | 53 +- 1 files changed, 39 insertions(+), 14 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 586ab39..880f010 100644