Re: [GIT PULL] Samsung S5P for v3.1 merge window

2011-08-19 Thread Tushar Behera
Hi Arnd, On Thursday 21 July 2011 03:21 PM, Kukjin Kim wrote: Hi Arnd Please pull Samsung S5P updates from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-arm-soc Or if you want to merge each branch into arm-soc, please use following. As per your suggestion, I made

RE: [GIT PULL] Samsung S5P for v3.1 merge window

2011-08-19 Thread Kukjin Kim
Tushar Behera wrote: Hi Arnd, On Thursday 21 July 2011 03:21 PM, Kukjin Kim wrote: Hi Arnd Please pull Samsung S5P updates from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-arm-soc Or if you want to merge each branch into arm-soc, please use

Re: [PATCH] ARM: S3C64XX: Remove un-used code

2011-08-19 Thread Banajit Goswami
Hi Mark, On Fri, Aug 19, 2011 at 10:23 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, Aug 19, 2011 at 09:40:29AM +0530, Banajit Goswami wrote: On Fri, Aug 19, 2011 at 7:29 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Aug 16, 2011 at 06:11:28PM +0530,

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

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

[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

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

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

[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

[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

[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

[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

Re: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Tushar Behera
Hi, On Thursday 18 August 2011 03:55 PM, Marek Szyprowski wrote: clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system reset by watchdog call working again. Signed-off-by: Marek

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Marek Szyprowski
Hello, On Friday, August 19, 2011 11:38 AM Tushar Behera wrote: Hi, On Thursday 18 August 2011 03:55 PM, Marek Szyprowski wrote: clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes

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

2011-08-19 Thread Alim Akhtar
On Tue, Aug 9, 2011 at 9:43 AM, Alim Akhtar alim.akh...@gmail.com wrote: On Mon, Aug 8, 2011 at 11:17 PM, Jassi Brar jassisinghb...@gmail.com wrote: On Wed, Jul 27, 2011 at 11:01 AM, Boojin Kim boojin@samsung.com wrote: This patch adds to support DMA generic API to transfer raw SPI data.

Re: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Kyungmin Park
Interesting. there's no s5p_reset_hook at exynos4. Anyway, after implement the s5p_reset_hook, it's working without hacking of v7-fin. Send it another mail. Thank you, Kyungmin Park On Fri, Aug 19, 2011 at 7:25 PM, Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Friday, August 19,

[PATCH] ARM: SAMSUNG: TSADC: Remove unnecessary duplication of plat_data

2011-08-19 Thread Naveen Krishna Chatradhi
The default plat_data struct for TSADC is added in devs-ts and duplication is removed from the following machines. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Note: Only build tested on mini6410, real6410. arch/arm/mach-s3c64xx/mach-mini6410.c |8 +---

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

2011-08-19 Thread Koul, Vinod
On Fri, 2011-08-19 at 10:54 +0530, Kukjin Kim wrote: Koul, Vinod wrote: OK, Boojin will send whole series soon. Then if you make a branch for me, I will merge it too. Sure, I have created a branh for you off my next git://git.infradead.org/users/vkoul/slave-dma.git samsung_dma I will

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Kukjin Kim
Marek Szyprowski wrote: clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system reset by watchdog call working again. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com

RE: [PATCH] ARM: S5P: fix bug in spdif_clk_get_rate

2011-08-19 Thread Kukjin Kim
Naveen Krishna Chatradhi wrote: Should be passing the parent clk object when calling for parent rate. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- arch/arm/plat-s5p/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[RFC PATCH 0/4] ARM: EXYNOS4: Use cpuidle common save/restore framework code

2011-08-19 Thread Amit Daniel Kachhap
These patch adds support for samsung exynos4 platform cpuidle driver to use the common cpuidle framework submitted earlier by Lorenzo Pieralisi. Basically a single interface cpu_enter_idle takes care of saving and restoring single cpu or whole cluster information. The link to the framework

[RFC PATCH 1/4] ARM: kernel: Small fixes in save/restore common code.

2011-08-19 Thread Amit Daniel Kachhap
These changes are necessary to make the retention cpuidle state work. This adds support for saving more L2 registers. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- arch/arm/common/gic.c|1 - arch/arm/kernel/sr_helpers.h |2 +- arch/arm/mm/cache-l2x0.c | 10

[RFC PATCH 2/4] ARM: EXYNOS4: Fix to work with origen boards.

2011-08-19 Thread Amit Daniel Kachhap
This adds a function to get the revision id. Signed-off-by: Jaecheol Lee jc@samsung.com Signed-off-by: Changhwan Youn chaos.y...@samsung.com --- arch/arm/mach-exynos4/cpu.c | 10 ++ arch/arm/plat-s5p/include/plat/exynos4.h |1 + 2 files changed, 11 insertions(+), 0

[RFC PATCH 3/4] ARM: EXYNOS4: Add support AFTR mode cpuidle state on EXYNOS4210

2011-08-19 Thread Amit Daniel Kachhap
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in cpuidle driver. L2 cache keeps their data in this mode. Signed-off-by: Jaecheol Lee jc@samsung.com Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- arch/arm/mach-exynos4/Makefile |2 +-

[RFC PATCH 4/4] ARM: EXYNOS4: Modify cpuidle code to adapt to save/restore common code

2011-08-19 Thread Amit Daniel Kachhap
The L2 retention cpuidle state is modified to use the interfaces exposed by the lorenzo's cpuidle consolidation code. As can be seen lot of code is reduced in the machine directory. Signed-off-by: Amit Daniel Kachhap amit.kach...@linaro.org --- arch/arm/Kconfig |1 +

[PATCH] ARM: EXYNOS4: Remove useless codes on NURI board

2011-08-19 Thread Kukjin Kim
The 'nuri_cm_devices' is defined but not used. Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/mach-nuri.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos4/mach-nuri.c

[PATCH] ARM: EXYNOS4: Turn the mach-smdkc210.c into mach-smdv310.c

2011-08-19 Thread Kukjin Kim
Since the components on SMDKC210 are similar with SMDKV310 even though its memory is different. So we can support the SMDKC210 and SMDKV310 on mach-smdkv310.c, one machine file. Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-exynos4/Kconfig | 17 +--

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Marek Szyprowski
Hello, On Friday, August 19, 2011 3:06 PM Kukjin Kim wrote: Marek Szyprowski wrote: clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system reset by watchdog call working again.

RE: [PATCH] ARM: EXYNOS4: Remove useless codes on NURI board

2011-08-19 Thread Kukjin Kim
Kyungmin Park wrote: Maybe charger manager codes are not merged. it's used for charger managers. OK, if this is required on charger manager, will drop this. Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior Engineer, SW Solution Development Team, Samsung Electronics

RE: [PATCH] ARM: EXYNOS4: Add usb ehci device to the SMDKC210

2011-08-19 Thread Kukjin Kim
Jingoo Han wrote: This patch is to support usb ehci device to the SMDKC210 board. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/mach-exynos4/Kconfig |2 ++ arch/arm/mach-exynos4/mach-smdkc210.c | 16 2 files changed, 18 insertions(+), 0

RE: [PATCH 0/5] S5P64X0 PM Support

2011-08-19 Thread Kukjin Kim
Abhilash Kesavan wrote: The patchset adds Power Mangement support for S5P64X0. The first four patches lay the groundwork for adding PM support, while the final patch adds the SoC specific PM code. Tested using external interrupts as wake-up sources on SMDK6440 and SMDK6450. Abhilash

Re: [RFC PATCH 2/4] ARM: EXYNOS4: Fix to work with origen boards.

2011-08-19 Thread Kyungmin Park
On Fri, Aug 19, 2011 at 10:09 PM, Amit Daniel Kachhap amit.kach...@linaro.org wrote: This adds a function to get the revision id. Signed-off-by: Jaecheol Lee jc@samsung.com Signed-off-by: Changhwan Youn chaos.y...@samsung.com ---  arch/arm/mach-exynos4/cpu.c              |   10

RE: [PATCH v4 0/4] Updated s5p-tv platform definitions

2011-08-19 Thread Kukjin Kim
Tomasz Stanislawski wrote: Hello, This patch series contains platform definitions for s5p-tv driver rebased onto latest for-next branch (including generic GIC and clockdev changes). Changes since v3: - vpll code was fixed and moved back to mach-dependant code - changed naming from IIC

RE: [PATCH] ARM: EXYNOS4: ADD USB EHCI device to SMDKV310

2011-08-19 Thread Kukjin Kim
Sachin Kamat wrote: Signed-off-by: Bhuvana Kakunoori bhuvana.kakuno...@linaro.org Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- arch/arm/mach-exynos4/Kconfig |2 ++ arch/arm/mach-exynos4/mach-smdkv310.c | 16

RE: [PATCH v3] ARM: Samsung: fix watchdog reset issue with clk_get()

2011-08-19 Thread Kukjin Kim
Marek Szyprowski wrote: Hello, On Friday, August 19, 2011 3:06 PM Kukjin Kim wrote: Marek Szyprowski wrote: clkdev framework uses global mutex to protect clock tree, so it is not possible to call clk_get() in interrupt context. This patch fixes this issue and makes system

Re: [RFC PATCH 1/4] ARM: kernel: Small fixes in save/restore common code.

2011-08-19 Thread Amit Kucheria
This patch is redundant with Lorenzo's new series[1]. Adding him to cc. I suggest you rebase on top of his latest series. On 11 Aug 19, Amit Daniel Kachhap wrote: These changes are necessary to make the retention cpuidle state work. This adds support for saving more L2 registers.

[GIT PULL] Samsung Fixes for v3.1-rc3

2011-08-19 Thread Kukjin Kim
Hi Arnd, This is pull request for Samsung fixes for v3.1-rc3. Please pull Samsung fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git samsung-fixes These things are for _real_ fixing. And as a note, following is only for v3.1: 5d747c6 ARM: S5P: fix bug in

[PATCH] ARM: EXYNOS4: Fix wrong pll type for vpll

2011-08-19 Thread jhbird . choi
From: Jonghwan Choi jhbird.c...@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/mach-exynos4/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos4/clock.c b/arch/arm/mach-exynos4/clock.c index 851dea0..0b39860 100644

[PATCH] ARM: S5P: Remove duplicate kdiv calculation

2011-08-19 Thread jhbird . choi
From: Jonghwan Choi jhbird.c...@samsung.com Signed-off-by: Jonghwan Choi jhbird.c...@samsung.com --- arch/arm/plat-s5p/include/plat/pll.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-s5p/include/plat/pll.h b/arch/arm/plat-s5p/include/plat/pll.h index

[PATCH 0/4] ARM: SAMSUNG: Add support CPU ID and Rev. at runtime

2011-08-19 Thread Kukjin Kim
This patch adds support handling of CPU ID and varialble silicon revision at runtime. [PATCH 1/4] ARM: SAMSUNG: Add support for detecting CPU at runtime [PATCH 2/4] ARM: S5P64X0: Use cpu_is_s5p64x0() to distinguish cpu at runtime [PATCH 3/4] ARM: SAMSUNG: Add support for handling of cpu revision

[PATCH 2/4] ARM: S5P64X0: Use cpu_is_s5p64x0() to distinguish cpu at runtime

2011-08-19 Thread Kukjin Kim
Signed-off-by: Kukjin Kim kgene@samsung.com --- arch/arm/mach-s5p64x0/dev-spi.c |8 +++- arch/arm/mach-s5p64x0/dma.c |7 ++- arch/arm/mach-s5p64x0/gpiolib.c |7 ++- arch/arm/mach-s5p64x0/irq-eint.c |3 ++- 4 files changed, 9 insertions(+), 16 deletions(-)

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

2011-08-19 Thread Kukjin Kim
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 kgene@samsung.com ---

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

2011-08-19 Thread Kukjin Kim
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 kgene@samsung.com ---

[PATCH 1/4] ARM: SAMSUNG: Add support for detecting CPU at runtime

2011-08-19 Thread Kukjin Kim
The cpu_is_[name]() can be used to distinguish cpu at runtime. 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 kgene@samsung.com --- arch/arm/mach-s3c64xx/cpu.c