[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 --- 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/samsung/dma.c +++ b

[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 --- drivers/spi/spi-s3c64xx.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --gi

[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 --- 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(-) diff --git a/arch/arm

[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 --- drivers/dma/pl330.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers

[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 --- arch/arm/plat-samsung/dma-ops.c | 10 -- arch/arm/plat-samsung/include/plat/dma-ops.h |1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a

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

2012-06-26 Thread Boojin Kim
enables L2 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 > > Signed-off-by: Kukjin Kim > > --- > > 쟞rch/arm/mach-exynos/common.c

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

2012-06-18 Thread Boojin Kim
Mark Brown wrote > > This patch uses config() function to configure DMA transmit options. > > Acked-by: Mark Brown > > 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 move the older Samsung dma drive

[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 --- 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 ddc6cde..f3ebc38 100644

[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 Signed-off-by: Kyoungil Kim --- drivers/spi/spi-s3c64xx.c | 33

[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 --- arch/arm/plat-samsung/dma

[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 --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f9d7c47..877dd61 100644

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

2012-02-08 Thread Boojin Kim
Russell King - ARM Linux wrote: > > > > config ARM_NR_BANKS > > int > > - default 16 if ARCH_EP93XX > > + default 16 if ARCH_EP93XX || ARCH_EXYNOS4 || ARCH_EXYNOS5 > > ARCH_EXYNOS ? ARCH_EXYNOS5 may support the bigger memory than 4GB because it's running series. Anyway ARCH_EXYNOS seems be

[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 --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f9d7c47..d646810 100644

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 >

[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 --- arch/arm/include/asm/hardware/pl330.h |5 + drivers/dma/pl330.c | 26

[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 --- arch/arm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 928cbcc..5c90dee 100644 --- a/arch/arm

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

2011-12-11 Thread Boojin Kim
Russell King wrote: > > > > source arch/arm/mm/Kconfig > > > > +config ARM_NR_BANKS > > + int > > + default 16 if ARCH_EP93XX > > I've now committed this patch - if you want to add exynos to this, > please send a patch to do just that. Thanks. It's good to me. Thank you for review ! -- T

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" i

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 > wrote: > > From: Boojin Kim > > > > Cc: Jassi Brar > > Cc: Linus Walleij > > Cc: Vinod Koul > > Signed-o

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

2011-12-10 Thread Boojin Kim
Signed-off-by: Boojin Kim --- 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/drivers/dma/pl330.c

[PATCH 1/3] ARM: EXYNOS: Support DMA driver for Exynos4x12 series

2011-12-10 Thread Boojin Kim
Signed-off-by: Boojin Kim --- arch/arm/mach-exynos/dma.c | 95 ++-- arch/arm/plat-samsung/include/plat/dma-pl330.h |8 ++ 2 files changed, 95 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/mach-exynos/dma.c index

[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 --- arch/arm/include/asm/setup.h |6 ++ arch/arm/mach-ep93xx/include/mach/memory.h |4 arch/arm/mach-exynos

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 A

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 PM

[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 --- arch/arm/mach-exynos/clock.c |8 + arch/arm/mach-exynos/dma.c | 35 arch/arm/mach-exynos/include/mach/irqs.h

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

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', tha

[PATCH] ASoC: SAMSUNG: Fix build error

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

[PATCH] ARM: EXYNOS4: Enable write full line for zeros mode

2011-11-03 Thread Boojin Kim
This patch enables the 'write full line for zeros mode' feature of cortex-A9. The performance of memset() with zero is increased about 10% with this patch. Signed-off-by: Boojin Kim --- arch/arm/mach-exynos4/platsmp.c | 18 ++ 1 files changed, 18 insertions(+), 0

[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 --- drivers/dma/pl330.c |3 ++- 1 files changed, 2 insert

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

2011-10-12 Thread Boojin Kim
Thomas Abraham wrote: > > Dear Mr. Kim, > > On 10 October 2011 23:45, Thomas Abraham > wrote: > > With the 'struct dma_pl330_peri' removed, the platfrom data for dma > > driver can be simplified to a simple list of peripheral request ids. > > > > C

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 suppor

RE: [PATCH v6 02/10] DMA: PL330: Infer transfer direction from transfer request instead of platform data

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 02/10] DMA: PL330: Infer transfer

RE: [PATCH v6 10/10] ARM: S5PV210: 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 10/10] ARM: S5PV210: Modify platform

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

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

2011-09-07 Thread Boojin Kim
x > >> 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 > wrote: > >> >> > Origianl code carries out the start operation after flush > operation. > >> &

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/include/mach/dma.h |4 ++-- arch/arm/mach-s5p64x0/include/mach/dma.h

[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 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |2 +- a

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5p64x0/Kconfig

[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 DMA_TERMINAT

[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 Cc: Jassi Brar Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc

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

2011-09-02 Thread Boojin Kim
(). Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h |4 + arch/arm/plat-samsung/Makefile |6 +- arch/arm/plat

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pc100/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/Kconfig |2

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Acked-by: Grant Likely Signed

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig

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

2011-09-02 Thread Boojin Kim
Signed-off-by: Boojin Kim Acked-by: Jassi Brar Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers/dma/pl330.c | 75 +- 1 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers

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

2011-09-02 Thread Boojin Kim
Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers/dma/pl330.c | 49 + 1 files changed, 37 insertions(+), 12 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Da

[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 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 Cc: Jassi Brar Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc

[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 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5p64x0/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |2 +- a

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Acked-by: Grant Likely Signed

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pc100/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/Kconfig |2

[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 Acked-by: Linus Walleij Acked

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers

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

2011-08-24 Thread Boojin Kim
Signed-off-by: Boojin Kim Acked-by: Jassi Brar Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers/dma/pl330.c | 75 +- 1 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers

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 'SAMS

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

2011-08-24 Thread Boojin Kim
This patch adds to support PL330-DMA driver on DMADEVICE for S5P SoCs. Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/include/mach/dma.h |4 ++-- arch/arm/mach-s5p64x0/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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Da

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

2011-08-24 Thread Boojin Kim
(). Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h |4 + arch/arm/plat-samsung/Makefile |6 +- arch/arm/plat

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig

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: Wednesday, August 24, 2011 12:23 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; kgene@samsung.com; vinod.k...@intel.com; > Jassi Brar > Subject: Re: [PATCH 1/3] DMA: PL330: Infer trans

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

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 > 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- > &

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: R

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- >

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] D

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

2011-08-19 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/plat-samsung/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5p64x0/Kconfig

[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 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Acked-by: Grant Likely 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |2 +- a

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pc100/Kconfig

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s5pv210/Kconfig

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

2011-08-19 Thread Boojin Kim
(). Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h |4 + arch/arm/plat-samsung/Makefile |6 +- arch/arm/plat

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

2011-08-19 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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/Kconfig |2

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/include/mach/dma.h |4 ++-- arch/arm/mach-s5p64x0/include/mach/dma.h

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

2011-08-19 Thread Boojin Kim
Signed-off-by: Boojin Kim Acked-by: Jassi Brar Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers/dma/pl330.c | 75 +- 1 files changed, 73 insertions(+), 2 deletions(-) diff --git a/drivers

[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 Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Da

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

2011-08-19 Thread Boojin Kim
This patchset adds support DMA generic APIs for Samsung DMA. V6 is to fix the build error that is occurred during merging V5 and the latest mainline stream. This changes from V5 is followings. - [PATCH v6 02/15]: Include 'linux/scatterlist.h' - [PATCH v6 06/15]: Include 'linux/scatterlist.h' [P

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

2011-08-19 Thread Boojin Kim
Signed-off-by: Boojin Kim Acked-by: Linus Walleij Acked-by: Vinod Koul Cc: Dan Williams Signed-off-by: Kukjin Kim --- drivers/dma/pl330.c | 56 ++ 1 files changed, 42 insertions(+), 14 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers

[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 --- arch/arm/mach-s5p64x0/clock-s5p6440.c |1 + arch/arm/mach-s5p64x0/clock-s5p6450.c |1 + 2 files changed, 2 insertions(+), 0 deletions

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

2011-08-17 Thread Boojin Kim
our patch. 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. > &g

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 > >

[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 --- arch/arm/mach-exynos4/clock.c |4

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

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/s3c64x

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: Remov

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 com

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

2011-07-26 Thread Boojin Kim
(). Signed-off-by: Boojin Kim Signed-off-by: Kukjin Kim --- arch/arm/mach-s3c2410/include/mach/dma.h |8 ++- arch/arm/mach-s3c64xx/include/mach/dma.h |4 + arch/arm/plat-samsung/Makefile |6 +- arch/arm/plat-samsung/dma-ops.c| 130

  1   2   >