[PATCH] ARM: EXYNOS4: Fix return type of local_timer_setup()

2011-08-24 Thread Kukjin Kim
According to commmit af90f10d (ARM: 6759/1: smp: Select local timers vs broadcast timer support), the return type of local_timer_setup() should be int instead of void. Reported-by: Changhwan Youn chaos.y...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com ---

RE: [PATCH 3/4] ARM: SAMSUNG: Add support for handling of cpu revision

2011-08-24 Thread Kukjin Kim
Kukjin Kim wrote: This patch adds plat-samsung/cpu.c for detecting of cpu id and silicon revision. This patch was originally from Changhwan Youn chaos.y...@samsung.com Acked-by: Changhwan Youn chaos.y...@samsung.com Cc: Ben Dooks ben-li...@fluff.org Signed-off-by: Kukjin Kim

RE: [PATCH 4/4] ARM: EXYNOS4: Use samsung_rev() to distinguish silicon revision

2011-08-24 Thread Kukjin Kim
Kukjin Kim wrote: This patch uses samsung_rev() to support variable silicon revision of EXYNOS4210 so that can support for EXYNOS4210 REV0, REV1.0 and REV1.1. Note: Need to change timer setting on REV0. Acked-by: Changhwan Youn chaos.y...@samsung.com Signed-off-by: Kukjin Kim

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

2011-08-24 Thread Rob Herring
Thomas, On 08/22/2011 04:59 PM, Thomas Abraham wrote: The transfer direction for a channel can be inferred from the transfer request and the need for specifying transfer direction in platfrom data can be eliminated. So the structure definition 'struct dma_pl330_peri' is no longer required.

[PATCH 5/5] tty: Add support serial for EXYNOS4212 SoC

2011-08-24 Thread Kukjin Kim
According to add support EXYNOS4212 SoC, we need to enable SERIAL_S5PV210 on EXYNOS4212. Cc: Alan Cox a...@lxorguk.ukuu.org.uk Cc: Greg Kroah-Hartman gre...@suse.de Signed-off-by: Kukjin Kim kgene@samsung.com --- drivers/tty/serial/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 4/5] ARM: EXYNOS4: Add support SMDK4212 Board

2011-08-24 Thread Kukjin Kim
This patch adds mach-smdk4212.c to support SMDK4212 board. Now it can support HSMMCs, I2Cs, RTC, WDT and Keypad. Other features will be supported next time. Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/Kconfig | 25 +++ arch/arm/mach-exynos4/Makefile

[PATCH 1/5] ARM: EXYNOS4: Add support new EXYNOS4212 SoC

2011-08-24 Thread Kukjin Kim
This patch adds Samsung EXYNOS4212 SoC support. The EXYNOS4212 integrates a ARM Cortex A9 multi-core. Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/Kconfig|5 + arch/arm/mach-exynos4/Makefile |6 -- arch/arm/mach-exynos4/cpu.c

[PATCH 2/5] ARM: EXYNOS4: Add support clock for EXYNOS4212

2011-08-24 Thread Kukjin Kim
This patch splits EXYNOS4 clock code to EXYNOS4 common, EXYNOS4210 and EXYNOS4212 for supporting new EXYNOS4212 SoC with one kernel image. Of course, this patch adds some clock codes for EXYNOS4212 SoC. Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/clock-exynos4210.c

[PATCH 3/5] ARM: EXYNOS4: Add support PM for EXYNOS4212

2011-08-24 Thread Kukjin Kim
From: Jonghwan Choi jhbird.c...@samsung.com This patch moves regarding clock stuff of PM into clock file to support PM on EXYNOS4210 and EXYNOS4212 with one single kernel image. Because some clock registers are different on each SoCs. Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com

[PATCH 0/5] ARM: EXYNOS4: Add support new EXYNOS4212 SoC

2011-08-24 Thread Kukjin Kim
This patch adds support new EXYNOS4212 SoC and SMDK4212 Board. [PATCH 1/5] ARM: EXYNOS4: Add support new EXYNOS4212 SoC [PATCH 2/5] ARM: EXYNOS4: Add support clock for EXYNOS4212 [PATCH 3/5] ARM: EXYNOS4: Add support PM for EXYNOS4212 [PATCH 4/5] ARM: EXYNOS4: Add support SMDK4212 Board [PATCH

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

2011-08-24 Thread Thomas Abraham
Hi Rob, On 24 August 2011 17:14, Rob Herring robherri...@gmail.com wrote: Thomas, On 08/22/2011 04:59 PM, Thomas Abraham wrote: The transfer direction for a channel can be inferred from the transfer request and the need for specifying transfer direction in platfrom data can be eliminated.

[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

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

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

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

[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

[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

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

[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

[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

[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

[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