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

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

[PATCH 0/2] Universal C210 workaround/fix

2011-07-25 Thread Marek Szyprowski
Hello, Commit 069d4e743 removed support for local timers and forced to use MCT as event source. However MCT is not operating properly on early revision (EVT0) of Exynos4 SoCs, what broke support for all UniversalC210 boards (they are EVT0 based). This short patch series adds a simple workaround fo

[PATCH 1/2] ARM: Samsung: Add chained enrty/exit call to timer interrupt handler

2011-07-25 Thread Marek Szyprowski
This patch adds chained IRQ enter/exit functions to timer interrupt handler in order to function correctly on primary controllers with different methods of flow control. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --- arch/arm/plat-samsung/irq-vic-timer.c |5 + 1 files

[PATCH 2/2] ARM: Exynos4: use s5p-timer for UniversalC210 board

2011-07-25 Thread Marek Szyprowski
Commit 069d4e743 removed support for local timers and forced to use MCT as event source. However MCT is not operating properly on early revision (EVT0) of Exynos4 SoCs. All UniversalC210 boards are based on Exynos4 EVT0, so that commit broke support for it. This patch provides a workaround that ena

[RFC][PATCH] spi: s3c64xx: Use clkdev for bus clock lookup

2011-07-25 Thread Padmavathi Venna
Create a clkdev alias for spi bus clock and modify the spi driver to lookup the clock using the alias name instead of passing clock name from platform data. Signed-off-by: Padmavathi Venna --- This patch is tested for S5PV210 platform and similar changes can be adopted for rest of the Samsung's s

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

2011-07-25 Thread Grant Likely
On Mon, Jul 25, 2011 at 05:38:37PM +0530, Jassi Brar wrote: > On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > > This patch removes the samsung specific enum type 's3c2410_dmasrc' > > and uses 'dma_data_direction' instead. > > > > Signed-off-by: Boojin Kim > > Signed-off-by: Kukjin Kim > >

[PATCH V2 7/7] ARM: S5P6450: Enable LCD-LTE480 and Framebuffer support

2011-07-25 Thread Ajay Kumar
This patch enables s3c-fb support and platform-lcd support for SMDK6450. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig |3 +++ arch/arm/mach-s5p64x0/mach-smdk6450.c |5 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/Kconfi

[PATCH V2 6/7] ARM: S5P6440: Enable LCD-LTE480 and Framebuffer support

2011-07-25 Thread Ajay Kumar
This patch enables s3c-fb support and platform-lcd support for SMDK6440. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig |3 +++ arch/arm/mach-s5p64x0/mach-smdk6440.c |5 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/Kconfi

[PATCH V2 5/7] ARM: S5P64X0: Add file to hold common Framebuffer and LCD code

2011-07-25 Thread Ajay Kumar
This patch creates a file which holds the framebuffer and LCD code which is common for SMDK6440 and SMDK6450. It mainly includes: -- Basic FB window definition. -- platform data for FB and LCD. -- platform_device support for LCD. Signed-off-by: Ajay Kumar --- arch/arm/mac

[PATCH V2 4/7] ARM: S5P64X0: Add GPIO and SPCON settings for LCD

2011-07-25 Thread Ajay Kumar
This patch adds: -- GPIO lines settings(HSYNC, VSYNC, VCLK and VD) for LCD. -- Function to select LCD interface (RGB/i80) Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig |6 +++ arch/arm/mach-s5p64x0/Makefile |1 + arch/arm/mac

[PATCH RESEND 3/7] ARM: S5P64X0: Set s3c_device_fb name

2011-07-25 Thread Ajay Kumar
Set s3c_device_fb name as "s5p64x0-fb" for S5P6440 and S5P6450. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/cpu.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/cpu.c b/arch/arm/mach-s5p64x0/cpu.c index a5c0095..617da3b 100644 --- a/arch/

[PATCH V2 2/7] ARM: S5P64X0: Add register base and IRQ for Framebuffer

2011-07-25 Thread Ajay Kumar
This patch adds: -- Framebuffer register mappings. -- IRQ number being used. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/include/mach/irqs.h |4 arch/arm/mach-s5p64x0/include/mach/map.h |3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/a

[PATCH RESEND 1/7] video: s3c-fb: Add S5P64X0 specific s3c_fb_driverdata

2011-07-25 Thread Ajay Kumar
This patch: Adds s3c_fb_driverdata for S5P64X0, which supports 3 windows. Also, register "s5p64x0-fb" type driver_data. Existing s3c_fb_driverdata definitions in s3c-fb.c supports 5 or 2 windows. Signed-off-by: Ajay Kumar acked-by: Jingoo Han --- drivers/video/s3c-fb.c | 27 ++

[PATCH V2 0/7] ARM: S5P64X0: Add Framebuffer support

2011-07-25 Thread Ajay Kumar
The patches are created against "for-next" branch of Kukjin Kim's tree at: git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git Changes since V1: - Remove mach/regs-fb.h, instead use plat/regs-fb.h. - Add common pdata for FB and LCD in SMDK6440 and SMDK6450.

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 21:51 +0900, Boojin Kim wrote: > Vinod Koul Wrote: > > Sent: Monday, July 25, 2011 7:27 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 W

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

2011-07-25 Thread Boojin Kim
Jassi Brar Wrote: > Sent: Monday, July 25, 2011 9:00 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 07/14] ARM: EXYNOS4: Use generic DMA PL330 > driver >

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 12:39 +0100, Russell King - ARM Linux wrote: > On Mon, Jul 25, 2011 at 04:31:57PM +0530, Vinod Koul wrote: > > > I know that very well thank you. Please look at my previous post in the > > > previous round of patches, and the response from Boojin Kim to see why > > > I used t

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

2011-07-25 Thread Boojin Kim
Vinod Koul Wrote: > Sent: Monday, July 25, 2011 7:27 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 DMA_S

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

2011-07-25 Thread Boojin Kim
Vinod Koul Wrote: > Sent: Monday, July 25, 2011 7:48 PM > To: Russell King - ARM Linux > Cc: vinod.k...@intel.com; Boojin Kim; '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

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

2011-07-25 Thread Boojin Kim
Russell King - ARM Linux Wrote: > Sent: Monday, July 25, 2011 7:36 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung- > s...@vger.kernel.org; 'Kukjin Kim'; 'Vinod Koul'; 'Jassi Brar'; 'Grant > Likely'; 'Mark Brown'; 'Dan Williams' > Subject: Re: [PATCH V4 04/14] DMA: PL3

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > This patch removes the samsung specific enum type 's3c2410_dmasrc' > and uses 'dma_data_direction' instead. > > Signed-off-by: Boojin Kim > Signed-off-by: Kukjin Kim Acked-by: Jassi Brar If this patch was first in the patchset, probably it

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > diff --git a/arch/arm/mach-exynos4/dma.c b/arch/arm/mach-exynos4/dma.c > index 564bb53..e1c00cf 100644 > --- a/arch/arm/mach-exynos4/dma.c > +++ b/arch/arm/mach-exynos4/dma.c > @@ -21,151 +21,250 @@ >  * Foundation, Inc., 675 Mass Ave, Cambridg

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > + > +static bool pl330_filter(struct dma_chan *chan, void *param) > +{ > +       struct dma_pl330_peri *peri = (struct dma_pl330_peri *)chan->private; > +       unsigned dma_ch = (unsigned)param; > + > +       if (peri->peri_id != dma_ch) > +  

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 04:31:57PM +0530, Vinod Koul wrote: > > I know that very well thank you. Please look at my previous post in the > > previous round of patches, and the response from Boojin Kim to see why > > I used this as an *EXAMPLE* to get this fixed. > Russell, > Sorry that was not inte

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig > index 4d79519..cb170a6 100644 > --- a/arch/arm/plat-samsung/Kconfig > +++ b/arch/arm/plat-samsung/Kconfig > @@ -300,6 +300,14 @@ config S3C_PL330_DMA >        help >  

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > This patch adds DMA_CYCLIC capability that is used for audio driver. > DMA driver with DMA_CYCLIC capability reuses the dma requests that > were submitted through tx_submit(). > > Signed-off-by: Boojin Kim > --- >  drivers/dma/pl330.c |  111 >

[PATCH] ARM: EXYNOS4: Enable MFC on Samsung SMDKV310

2011-07-25 Thread Sachin Kamat
Signed-off-by: Sachin Kamat --- This patch is based on Kukjin's for-arm-soc branch. arch/arm/mach-exynos4/Kconfig |1 + arch/arm/mach-exynos4/mach-smdkv310.c | 11 +++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 10:28 +0900, Boojin Kim wrote: > This patch adds to support DMA generic API to transfer raw > SPI data. Basiclly the spi driver uses DMA generic API if > architecture supports it. Otherwise, uses Samsung specific > S3C-PL330 APIs. > > Signed-off-by: Boojin Kim > Cc: Grant Li

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 15:47 +0530, Vinod Koul wrote: > On Mon, 2011-07-25 at 10:28 +0900, Boojin Kim wrote: > > This patchset adds support DMA generic APIs for Samsung DMA > > and is re-sent by the request of DMA maintainer, Vinod Koul. > > > > V4 has the changes about 3 patches from V3. > > Chang

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 11:57 +0100, Russell King - ARM Linux wrote: > On Mon, Jul 25, 2011 at 04:18:04PM +0530, Vinod Koul wrote: > > On Mon, 2011-07-25 at 11:36 +0100, Russell King - ARM Linux wrote: > > > On Mon, Jul 25, 2011 at 07:31:45PM +0900, Boojin Kim wrote: > > > > > On Mon, Jul 25, 2011 at

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 04:18:04PM +0530, Vinod Koul wrote: > On Mon, 2011-07-25 at 11:36 +0100, Russell King - ARM Linux wrote: > > On Mon, Jul 25, 2011 at 07:31:45PM +0900, Boojin Kim wrote: > > > > On Mon, Jul 25, 2011 at 10:28:22AM +0900, Boojin Kim wrote: > > > > > +static void pl330_tasklet_c

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 10:28 +0900, Boojin Kim wrote: > This patch adds to support PL330-DMA driver on DMADEVICE for S5P SoCs. > > Signed-off-by: Boojin Kim > Signed-off-by: Kukjin Kim > --- > arch/arm/mach-exynos4/include/mach/dma.h |4 +- > arch/arm/mach-s5p64x0/include/mach/dma.

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 11:36 +0100, Russell King - ARM Linux wrote: > On Mon, Jul 25, 2011 at 07:31:45PM +0900, Boojin Kim wrote: > > > On Mon, Jul 25, 2011 at 10:28:22AM +0900, Boojin Kim wrote: > > > > +static void pl330_tasklet_cyclic(unsigned long data) > > > > +{ > > > > + struct dma_pl33

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 10:28 +0900, Boojin Kim wrote: > This patch adds support DMA_SLAVE_CONFIG command. > > Signed-off-by: Boojin Kim > --- > drivers/dma/pl330.c | 53 +- > 1 files changed, 39 insertions(+), 14 deletions(-) > > diff --git a/dri

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

2011-07-25 Thread Vinod Koul
On Mon, 2011-07-25 at 10:28 +0900, Boojin Kim wrote: > This patchset adds support DMA generic APIs for Samsung DMA > and is re-sent by the request of DMA maintainer, Vinod Koul. > > V4 has the changes about 3 patches from V3. > Changes from V3: > - Divided '[03/13 patch] DMA: PL330: Add DMA capabi

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 07:31:45PM +0900, Boojin Kim wrote: > > On Mon, Jul 25, 2011 at 10:28:22AM +0900, Boojin Kim wrote: > > > +static void pl330_tasklet_cyclic(unsigned long data) > > > +{ > > > + struct dma_pl330_chan *pch = (struct dma_pl330_chan *)data; > > > + struct dma_pl330_desc *desc, *

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

2011-07-25 Thread Boojin Kim
Russell King - ARM Linux Wrote: > Sent: Monday, July 25, 2011 6:40 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung-soc@vger.kernel.org; > Kukjin Kim; Vinod Koul; Jassi Brar; Grant Likely; Mark Brown; Dan Williams > Subject: Re: [PATCH V4 12/14] spi/s3c64xx: Add suppor

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

2011-07-25 Thread Boojin Kim
Russell King - ARM Linux Wrote: > Sent: Monday, July 25, 2011 6:28 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung-soc@vger.kernel.org; > Kukjin Kim; Vinod Koul; Jassi Brar; Grant Likely; Mark Brown; Dan Williams > Subject: Re: [PATCH V4 04/14] DMA: PL330: Add DMA_CYC

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

2011-07-25 Thread Boojin Kim
Russell King - ARM Linux Wrote: > Sent: Monday, July 25, 2011 6:36 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung-soc@vger.kernel.org; > Kukjin Kim; Vinod Koul; Jassi Brar; Grant Likely; Mark Brown; Dan Williams > Subject: Re: [PATCH V4 06/14] ARM: SAMSUNG: Add commo

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

2011-07-25 Thread Boojin Kim
> -Original Message- > From: Jassi Brar [mailto:jassisinghb...@gmail.com] > Sent: Monday, July 25, 2011 5:58 PM > To: Boojin Kim > Cc: linux-arm-ker...@lists.infradead.org; linux-samsung-soc@vger.kernel.org; > Vinod Koul; Dan Williams; Kukjin Kim; Grant Likely; Mark Brown > Subject: Re: [

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 10:28:30AM +0900, Boojin Kim wrote: > +static void s3c64xx_spi_dma_rxcb(void *data) > +{ > + struct s3c64xx_spi_driver_data *sdd > + = (struct s3c64xx_spi_driver_data *)data; You never need explicit casts from void * or to void *. Please remove these. -- To

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 10:28:24AM +0900, Boojin Kim wrote: > +static unsigned samsung_dmadev_request(enum dma_ch dma_ch, > + struct samsung_dma_info *info) > +{ > + struct dma_chan *chan; > + dma_cap_mask_t mask; > + struct dma_slave_config slave_config; > +

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

2011-07-25 Thread Russell King - ARM Linux
On Mon, Jul 25, 2011 at 10:28:22AM +0900, Boojin Kim wrote: > +static void pl330_tasklet_cyclic(unsigned long data) > +{ > + struct dma_pl330_chan *pch = (struct dma_pl330_chan *)data; > + struct dma_pl330_desc *desc, *_dt; > + unsigned long flags; > + LIST_HEAD(list); > + > + s

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

2011-07-25 Thread Jassi Brar
On Mon, Jul 25, 2011 at 6:58 AM, Boojin Kim wrote: > diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c > index b7ecf47..586ab39 100644 > --- a/drivers/dma/pl330.c > +++ b/drivers/dma/pl330.c > @@ -455,7 +455,7 @@ static struct dma_pl330_desc *pl330_get_desc(struct > dma_pl330_chan *pch) >  

[PATCH 1/4] ARM: Samsung: add i2c hdmiphy controller definitions

2011-07-25 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds hdmiphy dedicated i2c controller definitions. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park [m.szyprowski: renamed to i2c-hdmiphy and squashed Exynos4 and S5PV210 patches] Signed-off-by: Marek Szyprowski --- arch/arm/mach-exynos4/cl

[PATCH 2/4] ARM: S5P: add support for tv device

2011-07-25 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds all the resources for TV drivers and devices for Samsung Exynos4 and S5PV210 platforms. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park [m.szyprowski: moved common vpll code to plat-s5p/clocks-vpll.c, squashed Exynos4 and S5PV210 patche

[PATCH 4/4] ARM: S5PV210: enable TV support on GONI board

2011-07-25 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds platform devices and regulators for TV devices on Samsung Goni board. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-s5pv210/Kconfig |1 + arch/arm/mach-s5pv210/mach-goni.c |

[PATCH 3/4] ARM: Exynos4: enable TV support on Universal_C210 board

2011-07-25 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds platform devices and regulators for TV devices on Samsung Universal C210 board. Signed-off-by: Tomasz Stanislawski Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- arch/arm/mach-exynos4/Kconfig |2 + arch/arm/mach-ex

[PATCHv3 0/4] Updated s5p-tv platform definitions

2011-07-25 Thread Marek Szyprowski
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 v2: - moved vpll code to plat-s5p/clock-vpll.c Changes since v1: - renamed i2c8 to common i2c-hdmiphy - moved common vpll code