[PATCH v2 1/4] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2013-02-22 Thread Boojin Kim
This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit Change-Id: I9723e49383416773699cf7735168177c8d036f30 Signed-off-by: Boojin Kim boojin@samsung.com --- drivers/dma/pl330.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v2 2/4] ARM: EXYNOS: support burst mode for for dev-to-mem and mem-to-dev transmit

2013-02-22 Thread Boojin Kim
This patch adds to support burst mode for for dev-to-mem and dev-to-mem transmit Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/plat-samsung/dma-ops.c |4 ++-- arch/arm/plat-samsung/include/plat/dma-ops.h |1 + 2 files changed, 3 insertions(+), 2 deletions

[PATCH v2 3/4] spi: s3c64xx: add dma maxburst size initialization

2013-02-22 Thread Boojin Kim
This patch adds dma maxburst size initialization. The maxburst should be set by MODE_CFGn.DMA_TYPE, because the pl330 dma driver supports burst mode. Signed-off-by: Hyeonkook Kim hk619@samsung.com --- drivers/spi/spi-s3c64xx.c | 18 ++ 1 files changed, 18 insertions(+), 0

[PATCH v2 4/4] ASoC: samsung: add to configure dma maxburst size

2013-02-22 Thread Boojin Kim
This patch adds to configure dma maxburst size. Signed-off-by: Boojin Kim boojin@samsung.com --- sound/soc/samsung/dma.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c index 21b7926..bd4faa0 100644 --- a/sound/soc

[PATCH 2/2] ARM: EXYNOS: support burst mode for for dev-to-mem and dev-to-mem transmit

2013-02-18 Thread Boojin Kim
This patch adds to support burst mode for for dev-to-mem and dev-to-mem transmit Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/plat-samsung/dma-ops.c | 10 -- arch/arm/plat-samsung/include/plat/dma-ops.h |1 + 2 files changed, 9 insertions(+), 2

RE: [PATCH] ARM: EXYNOS: Remove the L2 cache latency setting for EXYNOS5

2012-06-26 Thread Boojin Kim
cache. Thanks. no longer need that in the kernel. It helps to reduce booting time (no need cache disable and cache enable). Signed-off-by: Boojin Kim boojin@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- 쟞rch/arm/mach-exynos/common.c | � 25

RE: [PATCH 3/3] ASoC: follow the updated samsung DMA common operations

2012-06-19 Thread Boojin Kim
Mark Brown wrote This patch uses config() function to configure DMA transmit options. Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com It'd be good if we could get all the older Samsung platforms moved over to dmaengine... Thanks for your ack :) And, Our engineer's preparing to

[PATCH 1/3] ARM: SAMSUNG: Add config() function in DMA common operations

2012-06-05 Thread Boojin Kim
This patch adds config() that configures DMA transmit option. This function was originally included in request(). But, Some DMA client driver requires to change the configuration after request(). So, This patch picks up it from request(). Signed-off-by: Boojin Kim boojin@samsung.com

[PATCH 2/3] spi: Add the use of DMA config operation

2012-06-05 Thread Boojin Kim
Config operation is separated from request operation in DMA common operation. Because spi driver can change the DMA config for every transfer. So this patch is using the separated DMA config operation. Signed-off-by: Boojin Kim boojin@samsung.com Signed-off-by: Kyoungil Kim ki0351

[PATCH 3/3] ASoC: follow the updated samsung DMA common operations

2012-06-05 Thread Boojin Kim
This patch uses config() function to configure DMA transmit options. Signed-off-by: Boojin Kim boojin@samsung.com --- sound/soc/samsung/dma.c | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c index

[PATCHv2] ARM: EXYNOS: Config ARM_NR_BANKS for EXYNOS SoC

2012-02-08 Thread Boojin Kim
This patch increases the number of banks for EXYNOS4 and EXYNOS5 to support bigger than 2GB memory on it. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

RE: [PATCH v2 1/2] DMA: PL330: Merge PL330 driver into drivers/dma/

2012-02-07 Thread Boojin Kim
Russell King - ARM Linux wrote: Now that the PL330 code is entirely out of arch/arm, the header should no longer be in asm/hardware/pl330.h. Definitions private to the driver should be in drivers/dma/pl330.c or a header file co-located. Other definitions for interfaces to that driver (eg,

[PATCH] ARM: EXYNOS: Configure ARM_NR_BANKS for EXYNOS SoC

2012-02-07 Thread Boojin Kim
This patch increases the number of bank for EXYNOS4 and EXYNOS5 to support bigger than 2GB memory on it. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH] ARM: EXYNOS: Configure ARM_NR_BANKS for EXYNOS4

2011-12-14 Thread Boojin Kim
This patch increases the number of bank for EXYNOS4 to support bigger than 2GB memory on it. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 928cbcc..5c90dee

[PATCH] DMA: PL330: Support MEMTOMEM transmit without barrier operation.

2011-12-14 Thread Boojin Kim
PL330 r1p0 version fixed the lockup error being on r0p0. This patch supports the DMA transmit without barrier operation if the revision is the next of r0p0. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/include/asm/hardware/pl330.h |5 + drivers/dma/pl330.c

RE: [PATCH 2/2] DMA: PL330: Removes useless function

2011-12-11 Thread Boojin Kim
Jassi Brar wrote: Subject: Re: [PATCH 2/2] DMA: PL330: Removes useless function On Thu, Dec 8, 2011 at 1:53 PM, Kukjin Kim kgene@samsung.com wrote: From: Boojin Kim boojin@samsung.com Cc: Jassi Brar jassisinghb...@gmail.com Cc: Linus Walleij linus.wall...@linaro.org Cc

RE: [PATCH 1/2] DMA: PL330: Merge PL330 driver into drivers/dma/

2011-12-11 Thread Boojin Kim
Jassi Brar [mailto:jassisinghb...@gmail.com] wrote: Please try to maintain general order of functions and definitions/declarations in the code. Thanks for your review. I will re-summit with our comment. -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the

DMA: PL330: Merge PL330 drivers

2011-12-10 Thread Boojin Kim
In-Reply-To: PL330 driver is divided into 2 parts. First is the PL330 API driver that located on driver/dma/. Second is the low-level PL330 driver that is located on arch/arm/common/. But, It's not needed anymore to divided PL330 driver into 2 parts Low-level PL330 driver is only used for PL330

[PATCH 3/3] DMA: PL330: Remove an unused function

2011-12-10 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com --- drivers/dma/pl330.c | 47 --- 1 files changed, 0 insertions(+), 47 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index f3303f0..f9b599a 100644 --- a/drivers/dma/pl330.c +++ b

[PATCH] ARM: MM: Configure the number of banks

2011-12-10 Thread Boojin Kim
This patch configures NR_BANKS by machine specific configuration. NR_BANKS should be increased to support bigger than 2GB memory. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/include/asm/setup.h |6 ++ arch/arm/mach-ep93xx/include/mach/memory.h |4

RE: [PATCH 0/2] Add PM_RUNTIME related fixes for PL330

2011-12-07 Thread Boojin Kim
Tushar Behera [mailto:tushar.beh...@linaro.org] wrote: Sent: Tuesday, December 06, 2011 7:46 PM To: linux-samsung-soc@vger.kernel.org; linux-ker...@vger.kernel.org Cc: kgene@samsung.com; vinod.k...@intel.com; linaro-...@lists.linaro.org; patc...@linaro.org Subject: [PATCH 0/2] Add

[PATCH] ARM: EXYNOS: Enable MDMA driver

2011-12-01 Thread Boojin Kim
This patch adds MDMA platform data and enables MDMA for DMA memcpy operation Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/mach-exynos/clock.c |8 + arch/arm/mach-exynos/dma.c | 35 arch/arm/mach-exynos

RE: [PATCH v2] ARM: pl330: Fix a race condition

2011-11-28 Thread Boojin Kim
Javi Merino wrote: On Samsung's Exynos4 platform, while testing audio playback with i2s interface, the above change causes the playback to freeze. The _thrd_active(thrd) call always returns '1' and hence _start(thrd) is not getting called. If _thrd_active(thrd) returns '1', that means

RE: [PATCH v2] ARM: pl330: Fix a race condition

2011-11-28 Thread Boojin Kim
Javi Merino wrote: On Samsung's Exynos4 platform, while testing audio playback with i2s interface, the above change causes the playback to freeze. The _thrd_active(thrd) call always returns '1' and hence _start(thrd) is not getting called. If _thrd_active(thrd) returns '1', that

[PATCH] ASoC: SAMSUNG: Fix build error

2011-11-22 Thread Boojin Kim
/samsung/smdk_wm8994.c:177: error: expected declaration specifiers or '...' before string constant Signed-off-by: Boojin Kim boojin@samsung.com --- sound/soc/samsung/smdk_wm8994.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc

[PATCH] DMA: PL330: Fix build warning

2011-11-03 Thread Boojin Kim
This patch adds to fix the build warning as following. drivers/dma/pl330.c: In function 'pl330_probe': drivers/dma/pl330.c:859: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Boojin Kim boojin@samsung.com --- drivers/dma/pl330.c |3 ++- 1 files changed, 2

RE: [PATCH v6 03/10] ARM: EXYNOS4: Modify platform data for pl330 driver

2011-10-12 Thread Boojin Kim
...@gmail.com Cc: Boojin Kim boojin@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Kukjin Kim kgene@samsung.com Acked-by: Grant Likely grant.lik...@secretlab.ca --- 쟞rch/arm/mach-exynos4/dma.c | �223 - -- �1 files

RE: [PATCH v6 09/10] ARM: S5PC100: Modify platform data for pl330 driver

2011-10-11 Thread Boojin Kim
Thomas Abraham wrote: Sent: Tuesday, October 11, 2011 3:16 AM To: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org; kgene@samsung.com; vinod.k...@intel.com; Jassi Brar; Boojin Kim Subject: [PATCH v6 09/10] ARM: S5PC100: Modify platform data for pl330 driver

RE: [PATCH v6 04/10] DMA: PL330: Add device tree support

2011-10-11 Thread Boojin Kim
Thomas Abraham wrote: Sent: Tuesday, October 11, 2011 3:16 AM To: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org; kgene@samsung.com; vinod.k...@intel.com; Jassi Brar; Boojin Kim Subject: [PATCH v6 04/10] DMA: PL330: Add device tree support For PL330 dma

RE: [PATCH v8 04/16] DMA: PL330: Remove the start operation for handling DMA_TERMINATE_ALL command

2011-09-07 Thread Boojin Kim
wrote: On Tue, Sep 06, 2011 at 05:52:19PM +0530, Jassi Brar wrote: On Fri, Sep 2, 2011 at 6:14 AM, Boojin Kim boojin@samsung.com wrote: Origianl code carries out the start operation after flush operation. But start operation is not required for DMA_TERMINATE_ALL command. So

[PATCH v8 04/16] DMA: PL330: Remove the start operation for handling DMA_TERMINATE_ALL command

2011-09-02 Thread Boojin Kim
Origianl code carries out the start operation after flush operation. But start operation is not required for DMA_TERMINATE_ALL command. So, This patch removes the unnecessary start operation and only carries out the flush oeration for handling DMA_TERMINATE_ALL command. Signed-off-by: Boojin Kim

[PATCH v8 02/16] DMA: PL330: Update PL330 DMA API driver

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org

[PATCH v8 03/16] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-09-02 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330.c | 49

[PATCH v8 01/16] DMA: PL330: Add support runtime PM for PL330 DMAC

2011-09-02 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Jassi Brar jassisinghb...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330

[PATCH v8 09/16] ARM: S5PV210: Use generic DMA PL330 driver

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v8 13/16] spi/s3c64xx: Add support DMA engine API

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked

[PATCH v8 08/16] ARM: EXYNOS4: Use generic DMA PL330 driver

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v8 10/16] ARM: S5PC100: Use generic DMA PL330 driver

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v8 05/16] DMA: PL330: Add DMA_CYCLIC capability

2011-09-02 Thread Boojin Kim
This patch adds DMA_CYCLIC capability that is used for audio driver. DMA driver activated with it reuses the dma requests that were submitted through tx_submit(). Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k

[PATCH v8 07/16] ARM: SAMSUNG: Add common DMA operations

2011-09-02 Thread Boojin Kim
(). Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h

[PATCH v8 15/16] ASoC: Samsung: Update DMA interface

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij

[PATCH v8 12/16] ARM: SAMSUNG: Remove S3C-PL330-DMA driver

2011-09-02 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 boojin@samsung.com Cc: Jassi Brar jassisinghb...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul

[PATCH v8 00/16] To use DMA generic APIs for Samsung DMA

2011-09-02 Thread Boojin Kim
This patchset adds support DMA generic APIs for samsung DMA. The changes from V7 is following: - Divides patch file. : The 03 patch on V7 patchset is divided into the 03 and 04 patch on V8 patchset. The O3 patch is only for DMA_SLAVE_CONFIG command. The 04 patch is only for

[PATCH v8 11/16] ARM: S5P64X0: Use generic DMA PL330 driver

2011-09-02 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v8 16/16] ARM: SAMSUNG: Remove Samsung specific enum type for dma direction

2011-09-02 Thread Boojin Kim
This patch removes the samsung specific enum type 's3c2410_dmasrc' and uses 'dma_data_direction' instead. Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com

[PATCH v8 14/16] spi/s3c64xx: Merge dma control code

2011-09-02 Thread Boojin Kim
This patch modifies to merge the dma control code. Original s3c64xx spi driver has each dma control code for rx and tx channel. This patch merges these dma control codes into one. With this patch, a dma setup function and callback function handle for both rx and tx channel. Signed-off-by: Boojin

[PATCH v8 06/16] ARM: SAMSUNG: Update to use PL330-DMA driver

2011-09-02 Thread Boojin Kim
This patch adds to support PL330-DMA driver on DMADEVICE for S5P SoCs. Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/include

[PATCH v7 08/15] ARM: S5PV210: Use generic DMA PL330 driver

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v7 06/15] ARM: SAMSUNG: Add common DMA operations

2011-08-24 Thread Boojin Kim
(). Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h

[PATCH v7 02/15] DMA: PL330: Update PL330 DMA API driver

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org

[PATCH v7 01/15] DMA: PL330: Add support runtime PM for PL330 DMAC

2011-08-24 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Jassi Brar jassisinghb...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330

[PATCH v7 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-24 Thread Boojin Kim
This patch adds DMA_CYCLIC capability that is used for audio driver. DMA driver activated with it reuses the dma requests that were submitted through tx_submit(). Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k

[PATCH v7 07/15] ARM: EXYNOS4: Use generic DMA PL330 driver

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

To use DMA generic APIs for Samsung DMA

2011-08-24 Thread Boojin Kim
Changes from V7 are following: - [PATCH v7 03/15]: Change commit message - [PATCH v7 04/15]: Change the data type of 'cyclic' variable from 'enum' to 'bool'. It removes the redundant status. - [PATCH v7 05/15]: Change the build configuration name of samsung DMA from 'SAMSUNG_DMA_PL330' to

[PATCH v7 03/15] DMA: PL330: Modify device_control()

2011-08-24 Thread Boojin Kim
This patch modifies device_control() to support both DMA_TERMINATE_ALL and DMA_SLAVE_CONFIG command. First, modify the flush control for DMA_TERMINATE_ALL command. Second, add the slave configuration control for DMA_SLAVE_CONFIG command. Signed-off-by: Boojin Kim boojin@samsung.com Acked

[PATCH v7 09/15] ARM: S5PC100: Use generic DMA PL330 driver

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v7 12/15] spi/s3c64xx: Add support DMA engine API

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked

[PATCH v7 15/15] ARM: SAMSUNG: Remove Samsung specific enum type for dma direction

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com

[PATCH v7 10/15] ARM: S5P64X0: Use generic DMA PL330 driver

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v7 13/15] spi/s3c64xx: Merge dma control code

2011-08-24 Thread Boojin Kim
This patch modifies to merge the dma control code. Original s3c64xx spi driver has each dma control code for rx and tx channel. This patch merges these dma control codes into one. With this patch, a dma setup function and callback function handle for both rx and tx channel. Signed-off-by: Boojin

[PATCH v7 14/15] ASoC: Samsung: Update DMA interface

2011-08-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 boojin@samsung.com Acked-by: Linus Walleij

[PATCH v7 11/15] ARM: SAMSUNG: Remove S3C-PL330-DMA driver

2011-08-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 boojin@samsung.com Cc: Jassi Brar jassisinghb...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-23 Thread Boojin Kim
Jassi Brar [mailto:jassisinghb...@gmail.com] Sent: Tuesday, August 23, 2011 2:42 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Kukjin Kim; Dan Williams; Mark Brown; Grant Likely; Russell King Subject: Re: [PATCH v6 04/15] DMA

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-23 Thread Boojin Kim
Jassi Brar wrote: On Tue, Aug 23, 2011 at 12:38 PM, Boojin Kim boojin@samsung.com wrote: Jassi Brar [mailto:jassisinghb...@gmail.com] Sent: Tuesday, August 23, 2011 2:42 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul

RE: [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request instead of platform data

2011-08-23 Thread Boojin Kim
Thomas Abraham wrote: Sent: Tuesday, August 23, 2011 7:00 AM To: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org; kgene@samsung.com; vinod.k...@intel.com; Jassi Brar; Boojin Kim Subject: [PATCH 1/3] DMA: PL330: Infer transfer direction from transfer request

RE: [PATCH v6 03/15] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-08-22 Thread Boojin Kim
Jassi Brar wrote: Sent: Monday, August 22, 2011 7:14 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Kukjin Kim; Dan Williams; Mark Brown; Grant Likely; Russell King Subject: Re: [PATCH v6 03/15] DMA: PL330: Support

RE: [PATCH v6 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-08-22 Thread Boojin Kim
Jassi Brar wrote: @@ -324,6 +362,9 @@ static void pl330_free_chan_resources(struct dma_chan *chan) pl330_release_channel(pch-pl330_chid); pch-pl330_chid = NULL; + if (pch-cyclic) + list_splice_tail_init(pch-work_list, pch-dmac- desc_pool);

[PATCH v6 03/15] DMA: PL330: Support DMA_SLAVE_CONFIG command

2011-08-19 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330.c | 56

[PATCH v6 02/15] DMA: PL330: Update PL330 DMA API driver

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org

[PATCH v6 05/15] ARM: SAMSUNG: Update to use PL330-DMA driver

2011-08-19 Thread Boojin Kim
This patch adds to support PL330-DMA driver on DMADEVICE for S5P SoCs. Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/include

[PATCH v6 01/15] DMA: PL330: Add support runtime PM for PL330 DMAC

2011-08-19 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Jassi Brar jassisinghb...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330

[PATCH v6 07/15] ARM: EXYNOS4: Use generic DMA PL330 driver

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v6 06/15] ARM: SAMSUNG: Add common DMA operations

2011-08-19 Thread Boojin Kim
(). Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h

[PATCH v6 08/15] ARM: S5PV210: Use generic DMA PL330 driver

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v6 09/15] ARM: S5PC100: Use generic DMA PL330 driver

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v6 15/15] ARM: SAMSUNG: Remove Samsung specific enum type for dma direction

2011-08-19 Thread Boojin Kim
This patch removes the samsung specific enum type 's3c2410_dmasrc' and uses 'dma_data_direction' instead. Signed-off-by: Boojin Kim boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com

[PATCH v6 12/15] spi/s3c64xx: Add support DMA engine API

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked

[PATCH v6 13/15] spi/s3c64xx: Merge dma control code

2011-08-19 Thread Boojin Kim
This patch modifies to merge the dma control code. Original s3c64xx spi driver has each dma control code for rx and tx channel. This patch merges these dma control codes into one. With this patch, a dma setup function and callback function handle for both rx and tx channel. Signed-off-by: Boojin

[PATCH v6 10/15] ARM: S5P64X0: Use generic DMA PL330 driver

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org Acked-by: Vinod Koul vinod.k...@intel.com Signed

[PATCH v6 14/15] ASoC: Samsung: Update DMA interface

2011-08-19 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 boojin@samsung.com Acked-by: Linus Walleij

[PATCH] ARM: S5P64X0: Add the devname for DMA clock

2011-08-18 Thread Boojin Kim
This patch adds devname for DMA clock. NOTE: This patch should be added after merging new pl330 driver on dmaengine. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/mach-s5p64x0/clock-s5p6440.c |1 + arch/arm/mach-s5p64x0/clock-s5p6450.c |1 + 2 files changed, 2 insertions

RE: [PATCH] ARM: SAMSUNG: Modify the devname for pl330 clock

2011-08-17 Thread Boojin Kim
. Thanks Boojin Kim. -- With best wishes, Vladimir On 17.08.2011 03:26, Boojin Kim wrote: This patch modified the devname for pl330 clock from 's3c-pl330' to 'dma-pl330' to support new pl330 driver on dmaengine. NOTE: This patch sould be added after merging new pl330 driver on dmaengine

[PATCH] ARM: SAMSUNG: Modify the devname for pl330 clock

2011-08-16 Thread Boojin Kim
This patch modified the devname for pl330 clock from 's3c-pl330' to 'dma-pl330' to support new pl330 driver on dmaengine. NOTE: This patch sould be added after merging new pl330 driver on dmaengine. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/mach-exynos4/clock.c |4

RE: [PATCH 1/3] ARM: EXYNOS4: use dma-pl330 device name for clock

2011-08-16 Thread Boojin Kim
Vladimir Zapolskiy wrote: Sent: Wednesday, August 17, 2011 6:31 AM To: Kukjin Kim Cc: linux-samsung-soc@vger.kernel.org; linux-arm- ker...@lists.infradead.org; Vladimir Zapolskiy; Boojin Kim Subject: [PATCH 1/3] ARM: EXYNOS4: use dma-pl330 device name for clock This change replaces s3c

RE: [PATCH 12/15] spi/s3c64xx: Add support DMA engine API

2011-08-11 Thread Boojin Kim
Jassi Brar Wrote: Sent: Tuesday, August 09, 2011 2:48 AM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Mark Brown; Grant Likely; Russell King Subject: Re: [PATCH 12/15] spi/s3c64xx: Add support DMA engine

RE: [PATCH 14/15] ASoC: Samsung: Update DMA interface

2011-08-11 Thread Boojin Kim
Jassi Brar Wrote: Sent: Tuesday, August 09, 2011 4:28 AM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Mark Brown; Grant Likely; Russell King; Liam Girdwood Subject: Re: [PATCH 14/15] ASoC: Samsung: Update

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

2011-07-27 Thread Boojin Kim
Jassi Brar wrote: Sent: Wednesday, July 27, 2011 4:58 PM To: Boojin Kim Cc: Kukjin Kim; Vinod Koul; Mark Brown; Grant Likely; linux-samsung- s...@vger.kernel.org; Dan Williams; linux-arm- ker...@lists.infradead.org Subject: Re: [PATCH V4 06/14] ARM: SAMSUNG: Add common DMA operations

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

2011-07-27 Thread Boojin Kim
Grant Likely Wrote: Likely Sent: Tuesday, July 26, 2011 6:16 AM To: Jassi Brar Cc: Boojin Kim; linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Mark Brown Subject: Re: [PATCH V4 14/14] ARM: SAMSUNG: Remove Samsung specific enum

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

2011-07-26 Thread Boojin Kim
Vinod Koul Wrote: Sent: Monday, July 25, 2011 8:17 PM To: Boojin Kim Cc: vinod.k...@intel.com; linux-arm-ker...@lists.infradead.org; linux- samsung-...@vger.kernel.org; Kukjin Kim; Jassi Brar; Grant Likely; Mark Brown; Dan Williams Subject: Re: [PATCH V4 12/14] spi/s3c64xx: Add support DMA

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

2011-07-26 Thread Boojin Kim
Jassi Brar Wrote: Sent: Monday, July 25, 2011 8:52 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Grant Likely; Mark Brown Subject: Re: [PATCH V4 06/14] ARM: SAMSUNG: Add common DMA operations On Mon

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

2011-07-26 Thread Boojin Kim
Jassi Brar Wrote: Sent: Monday, July 25, 2011 8:24 PM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Grant Likely; Mark Brown Subject: Re: [PATCH V4 04/14] DMA: PL330: Add DMA_CYCLIC capability On Mon, Jul

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

2011-07-26 Thread Boojin Kim
Vinod Koul Wrote: Sent: Monday, July 25, 2011 10:48 PM To: Boojin Kim Cc: vinod.k...@intel.com; linux-arm-ker...@lists.infradead.org; linux- samsung-...@vger.kernel.org; 'Kukjin Kim'; 'Jassi Brar'; 'Grant Likely'; 'Mark Brown'; 'Dan Williams' Subject: RE: [PATCH V4 03/14] DMA: PL330: Support

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

2011-07-26 Thread Boojin Kim
Vinod Koul Wrote: Sent: Tuesday, July 26, 2011 7:15 PM To: Boojin Kim Cc: vinod.k...@intel.com; 'Kukjin Kim'; 'Jassi Brar'; 'Grant Likely'; linux-samsung-soc@vger.kernel.org; 'Mark Brown'; 'Dan Williams'; linux-arm-ker...@lists.infradead.org Subject: RE: [PATCH V4 12/14] spi/s3c64xx: Add

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

2011-07-26 Thread Boojin Kim
Jassi Brar wrote: Sent: Wednesday, July 27, 2011 10:34 AM To: Boojin Kim Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- s...@vger.kernel.org; Vinod Koul; Dan Williams; Kukjin Kim; Grant Likely; Mark Brown Subject: Re: [PATCH V4 06/14] ARM: SAMSUNG: Add common DMA operations

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

2011-07-26 Thread Boojin Kim
Signed-off-by: Boojin Kim boojin@samsung.com Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/dma/pl330.c | 75 +- 1 files changed, 73 insertions(+), 2

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

2011-07-26 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 boojin@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5p64x0/Kconfig

[PATCH V5 00/15] To use DMA generic APIs for Samsung DMA

2011-07-26 Thread Boojin Kim
This patchset adds support DMA generic APIs for Samsung DMA. The changes from V4 are following: - Change DMA cyclic capability operation on '04 patch' - Remove cyclic_task - Initialize 'cyclic' variable on channel request. - Change pl330 data structure on '02, 07, 08, 09, 10

[PATCH 02/15] DMA: PL330: Update PL330 DMA API driver

2011-07-26 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 boojin@samsung.com Cc: Vinod Koul vinod.k...@intel.com Cc: Dan

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

2011-07-26 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 boojin@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5pv210/Kconfig

[PATCH 04/15] DMA: PL330: Add DMA_CYCLIC capability

2011-07-26 Thread Boojin Kim
This patch adds DMA_CYCLIC capability that is used for audio driver. DMA driver activated with it reuses the dma requests that were submitted through tx_submit(). Signed-off-by: Boojin Kim boojin@samsung.com Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Signed

  1   2   >