Re: [PATCH V4 0/2] arm: samsung: Move FIMD headers to include/video/

2012-08-07 Thread Russell King - ARM Linux
On Tue, Aug 07, 2012 at 06:04:30PM +0530, Leela Krishna Amudala wrote: > arch/arm/plat-samsung/include/plat/regs-fb-v4.h| 159 > > drivers/gpu/drm/exynos/exynos_drm_fimd.c |2 +- > drivers/video/s3c-fb.c |2 +- > .../plat/reg

Re: Re: [PATCH V2 0/1] dmaengine/amba-pl08x: Add support for s3c64xx DMAC

2012-05-29 Thread Russell King - ARM Linux
;2">.  > class="Apple-style-span" style="line-height: 18px; "> > class="Apple-style-span" style="line-height: 18px; > ">Regards, > class="Apple-style-span" style="line-height: 18px; ">Alim > > >   &g

Re: [PATCH V2 0/1] dmaengine/amba-pl08x: Add support for s3c64xx DMAC

2012-05-28 Thread Russell King - ARM Linux
On Mon, May 28, 2012 at 12:41:42PM +0800, Linus Walleij wrote: > On Thu, Dec 8, 2011 at 9:03 AM, Alim Akhtar wrote: > > > Hello Linus, > > sorry for the delay in submitting V3 of the pl080 patches for s3c64xx. > > I am very busy with my current assignment. > > I will come back to my patch series

Re: [PATCH v2 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-18 Thread Russell King - ARM Linux
On Thu, May 17, 2012 at 08:40:08PM +0530, Thomas Abraham wrote: > +err_clk: > + if (!IS_ERR(host->ciu_clk)) > + clk_disable_unprepare(host->ciu_clk); > + if (!IS_ERR(host->biu_clk)) > + clk_disable_unprepare(host->biu_clk); > + clk_put(host->ciu_clk); > + clk

Re: [PATCH v2] serial: samsung: Fixed wrong comparison for baudclk_rate

2012-05-15 Thread Russell King - ARM Linux
On Tue, May 15, 2012 at 09:37:16PM +0900, Kyoungil Kim wrote: > port->baudclk_rate should be compared to the rate of port->baudclk, > because port->baudclk_rate was assigned as the rate of port->baudclk > previously. > So to check that the current baudclk rate is same as previous rate, > the targe

Re: [PATCH] serial: samsung: Fixed wrong comparison for baudclk_rate

2012-05-15 Thread Russell King - ARM Linux
On Tue, May 15, 2012 at 08:52:39PM +0900, Kyoungil Kim wrote: > Russell King wrote: > > On Tue, May 15, 2012 at 07:13:28PM +0900, Kyoungil Kim wrote: > > > port->baudclk_rate should be compared to the rate of port->baudclk, > > > because port->baudclk_rate was assigned as the rate of port->baudclk

Re: [PATCH] serial: samsung: Fixed wrong comparison for baudclk_rate

2012-05-15 Thread Russell King - ARM Linux
On Tue, May 15, 2012 at 07:13:28PM +0900, Kyoungil Kim wrote: > port->baudclk_rate should be compared to the rate of port->baudclk, > because port->baudclk_rate was assigned as the rate of port->baudclk > previously. > So to check that the current baudclk rate is same as previous rate, > the targe

Re: [PATCH] ARM: EXYNOS: PD: Fix duplicate variable

2012-05-13 Thread Russell King - ARM Linux
On Wed, May 09, 2012 at 01:50:28PM +0100, Sangwook Lee wrote: > struct generic_pm_domain already has a field for name. Use that field > instead of creating another field in struct exynos_pm_domain Argh. No. > @@ -99,7 +98,7 @@ static __init int exynos_pm_dt_parse_domains(void) > >

Re: [PATCH 1/7] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-10 Thread Russell King - ARM Linux
On Wed, May 02, 2012 at 03:53:53PM +0100, James Hogan wrote: > Hi > > On 2 May 2012 06:07, Thomas Abraham wrote: > > +       if (IS_ERR(host->biu_clk)) > > +               dev_info(&host->dev, "biu clock not available\n"); > > In this case, should it set host->biu_clk to NULL or are clk_disable

Re: [PATCH 1/7] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-05-02 Thread Russell King - ARM Linux
On Tue, May 01, 2012 at 10:07:40PM -0700, Thomas Abraham wrote: > Some platforms allow for clock gating and control of bus interface unit clock > and card interface unit clock. Add support for clock lookup of optional biu > and ciu clocks for clock gating and clock speed determination. As we're mo

Re: [PATCH 00/33] Use common macro to define resources

2012-04-25 Thread Russell King - ARM Linux
On Wed, Apr 25, 2012 at 11:21:47AM +, Arnd Bergmann wrote: > Note that the point of the DEFINE_RES_*() macros is really to prevent > people from coming up with new silly macros to do the same thing, as > we've had in the past. One of the other reaons was to stop the stream of resources with wr

Re: [PATCH] ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

2012-04-19 Thread Russell King - ARM Linux
On Thu, Apr 19, 2012 at 10:25:36AM +0200, Sylwester Nawrocki wrote: > On 04/19/2012 02:12 AM, Kukjin Kim wrote: > >> --- a/arch/arm/plat-samsung/include/plat/watchdog-reset.h > >> +++ b/arch/arm/plat-samsung/include/plat/watchdog-reset.h > >> @@ -25,7 +25,7 @@ static inline void arch_wdt_reset(void

Re: arm: mm: fix faulty calculation of area to perform cache operation

2012-03-29 Thread Russell King - ARM Linux
On Thu, Mar 29, 2012 at 06:55:32PM +0900, Cho KyongHo wrote: > In dma_cache_maint_page(), if offset is larger than PAGE_SIZE, > len becomes PAGE_SIZE - offset. If size is smaller than > PAGE_SIZE - offset, next calcuation of left cause overflow. It is invalid for offset to be larger than PAGE_SIZE

Re: [PATCH] ARM: S3C24XX: Fix Section mismatch

2012-03-07 Thread Russell King - ARM Linux
On Wed, Mar 07, 2012 at 02:36:52AM -0800, Kukjin Kim wrote: > WARNING: arch/arm/mach-s3c24xx/built-in.o(.data+0xf44): Section mismatch in > reference > from the variable s3c2416_irq_interface to the function > .init.text:s3c2416_irq_add() > The variable s3c2416_irq_interface references > the func

Re: [PATCHv7 9/9] ARM: dma-mapping: add support for IOMMU mapper

2012-03-06 Thread Russell King - ARM Linux
On Wed, Feb 29, 2012 at 04:04:22PM +0100, Marek Szyprowski wrote: > +static int arm_iommu_mmap_attrs(struct device *dev, struct vm_area_struct > *vma, > + void *cpu_addr, dma_addr_t dma_addr, size_t size, > + struct dma_attrs *attrs) > +{ > + struct arm_vmregion

Re: [PATCH v3] DMA: PL330: Merge PL330 driver into drivers/dma/

2012-02-22 Thread Russell King - ARM Linux
On Wed, Feb 22, 2012 at 10:50:29PM +0530, Jassi Brar wrote: > > * Based on: > > *       arch/arm/common/pl330.c, arch/arm/include/asm/hardware/pl330.h > > *       Copyright (C) 2010 Samsung Electronics Co Ltd. > > > Doesn't make any sense because arch/arm/common/pl330.c > and arch/arm/include/asm/h

Re: [PATCH v3] DMA: PL330: Merge PL330 driver into drivers/dma/

2012-02-22 Thread Russell King - ARM Linux
On Wed, Feb 22, 2012 at 04:42:08PM +0530, Jassi Brar wrote: > On Wed, Feb 22, 2012 at 3:57 PM, Vinod Koul wrote: > > > > Sadly, what a mess!!! > > > > Jassi, you don't own the copyright, your company did, as they employed > > you to do the job. So both your and Kukjin are not correct in claiming >

Re: [PATCH v3] DMA: PL330: Merge PL330 driver into drivers/dma/

2012-02-22 Thread Russell King - ARM Linux
On Wed, Feb 22, 2012 at 11:11:49AM +0900, Kukjin Kim wrote: > Unfortunately, I couldn't find his name for dma/pl330.c from my side and > if required, he can do it later. Why should I do? > > I'm very unhappy with this talking and I think, there is no more useful > talking with you. I'd like to kno

Re: [PATCH v2 03/11] ARM: EXYNOS: add clock part for EXYNOS5250 SoC

2012-02-13 Thread Russell King - ARM Linux
On Mon, Feb 13, 2012 at 05:47:48AM +, Arnd Bergmann wrote: > On Saturday 11 February 2012, Mark Brown wrote: > > On Sat, Feb 11, 2012 at 08:07:08PM +, Arnd Bergmann wrote: > > > what the risk is in changing exynos4 at the same time. It would > > > be great if we can have all exynos use the

Re: [PATCH] serial: samsung: disable irq before calling free_irq

2012-02-11 Thread Russell King - ARM Linux
On Sat, Feb 11, 2012 at 12:12:33PM +0900, Huisung Kang wrote: > From: Kisang Lee > > Pending UART irq may trigger spurious handling and may lead to > softlockup. This patch will fix following softlockup. > > Signed-off-by: Kisang Lee > Signed-off-by: Huisung Kang > --- > drivers/tty/serial/sa

Re: [GIT PULL] regarding PL330 driver for rmk or arm-soc, and slave-dma

2012-02-10 Thread Russell King - ARM Linux
On Fri, Feb 10, 2012 at 07:47:12PM +0900, Kukjin Kim wrote: > arch/arm/common/Kconfig|3 - > arch/arm/common/Makefile |1 - > arch/arm/common/pl330.c| 1959 > > arch/arm/include/asm/hardware/pl3

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

2012-02-08 Thread Russell King - ARM Linux
On Wed, Feb 08, 2012 at 10:25:13AM +0900, Boojin Kim wrote: > 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

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

2012-02-08 Thread Russell King - ARM Linux
On Wed, Feb 08, 2012 at 10:10:30AM +0900, Boojin Kim wrote: > 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 shou

Re: [PATCH 1/2] ARM: EXYNOS: Add files about definition of C2C

2012-02-04 Thread Russell King - ARM Linux
On Sat, Feb 04, 2012 at 05:13:00PM +0900, Kisang Lee wrote: > Cc: Arnd Bergmann arndb.de> > Cc: Greg Kroah-Hartman kroah.com> > > Following files are added for C2C driver > c2c.h : Definition of C2C platform data and mode > regs-c2c.h : Definition of C2C registers > > Signed-off-by: Kisang Lee

Re: [PATCH 2/2] misc: c2c: Add C2C(Chip to Chip) device driver for EXYNOS

2012-02-04 Thread Russell King - ARM Linux
On Sat, Feb 04, 2012 at 05:15:03PM +0900, Kisang Lee wrote: > Cc: Arnd Bergmann arndb.de> > Cc: Greg Kroah-Hartman kroah.com> > > Signed-off-by: Kisang Lee What follows is a quick review of this driver. I think there's quite a number of issues which need to be fixed before this driver is read

Re: [PATCH 02/13] ARM: SAMSUNG: allow the configuration of KERNEL HZ in plat-samsung

2012-02-03 Thread Russell King - ARM Linux
On Fri, Jan 27, 2012 at 10:44:20AM +0900, Kukjin Kim wrote: > > Cc: Russell King > Signed-off-by: Kukjin Kim This patch really needs some kind of explanation. It's far from obvious from the casual reader why moving from a fixed value of 200Hz for the kernel tick rate to a range from 32 to 1024

Re: [PATCH 1/2] ARM: EXYNOS: add support GPIO for EXYNOS5250

2012-01-31 Thread Russell King - ARM Linux
On Wed, Feb 01, 2012 at 12:50:39AM +0900, Kukjin Kim wrote: > From: Sangsu Park > > This patch adds follwing. > - IO-map for EXYNOS5250 GPIO support > - EXYNOS5250 GPIO bank size/number definitions > - memory map definition for S5P GPIO4 > > Signed-off-by: Sangsu Park > Signed-off-by: Kukjin Ki

Re: [PATCH] ARM: smp: allow get the core count from L2 control on A15

2012-01-31 Thread Russell King - ARM Linux
On Tue, Jan 31, 2012 at 09:11:10PM +0900, Kukjin Kim wrote: > diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c > index 57db122..be4d31d 100644 > --- a/arch/arm/kernel/smp.c > +++ b/arch/arm/kernel/smp.c > @@ -233,6 +233,22 @@ void __ref cpu_die(void) > } > #endif /* CONFIG_HOTPLUG_CPU *

Re: ARM/ARM-SoC plans for v3.4 merge window

2012-01-26 Thread Russell King - ARM Linux
On Tue, Jan 24, 2012 at 09:50:09AM +, Russell King - ARM Linux wrote: > On Mon, Jan 23, 2012 at 11:49:02AM +0000, Russell King - ARM Linux wrote: > > This is an outline of the plan for this cycle, up to the next merge > > window, agreed between Olof and myself. > >

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-26 Thread Russell King - ARM Linux
On Thu, Jan 26, 2012 at 05:37:21PM +, Will Deacon wrote: > Acked-by: Will Deacon Thanks, I'll add that to patch 21 with the fix. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http:/

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-26 Thread Russell King - ARM Linux
On Wed, Jan 25, 2012 at 11:06:47AM +, Russell King - ARM Linux wrote: > Right, so with the stack of amba patches on top, it looks like this, > which to me looks sane. I haven't build-tested it though. Will, Did you see this? Any comment? Thanks. > > diff --git a/arch/

Re: [PATCH 8/8 RESEND] ARM: dma-mapping: add support for IOMMU mapper

2012-01-25 Thread Russell King - ARM Linux
On Mon, Jan 09, 2012 at 04:49:21PM +0100, Marek Szyprowski wrote: > This patch add a complete implementation of DMA-mapping API for > devices that have IOMMU support. All DMA-mapping calls are supported. > > This patch contains some of the code kindly provided by Krishna Reddy > and Andrzej Pietr

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-25 Thread Russell King - ARM Linux
On Wed, Jan 25, 2012 at 10:39:06AM +, Will Deacon wrote: > On Wed, Jan 25, 2012 at 10:22:02AM +0000, Russell King - ARM Linux wrote: > > On Wed, Jan 25, 2012 at 09:58:00AM +, Will Deacon wrote: > > > Sure. Which branch shall I take it against (before or after your

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-25 Thread Russell King - ARM Linux
On Wed, Jan 25, 2012 at 09:58:00AM +, Will Deacon wrote: > Sure. Which branch shall I take it against (before or after your amba > changes)? If it's before them, we can think about putting it in as a fix during this -rc independently of the rest of the changes. If it's after, then it'll proba

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-24 Thread Russell King - ARM Linux
On Tue, Jan 24, 2012 at 05:26:00PM +, Will Deacon wrote: > Right. I took a quick look at the TRM for the PB1176, and I think we do have > an interrupt for GPIO0, it's just on the other GIC. This patch should do the > trick, but I'm not sure what I can do to tickle the GPIO stuff anyway: > > >

Re: [PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-24 Thread Russell King - ARM Linux
On Tue, Jan 24, 2012 at 04:00:44PM +, Will Deacon wrote: > Hi Russell, > > On Fri, Jan 20, 2012 at 09:29:30AM +, Russell King - ARM Linux wrote: > > Signed-off-by: Russell King > > --- > > arch/arm/mach-realview/core.h| 20 ---

Re: ARM/ARM-SoC plans for v3.4 merge window

2012-01-24 Thread Russell King - ARM Linux
On Tue, Jan 24, 2012 at 10:56:45AM +, Will Deacon wrote: > Hi Russell, > > On Tue, Jan 24, 2012 at 09:50:09AM +, Russell King - ARM Linux wrote: > > Right, although it's out there - but I'd like to get the AMBA changes > > into it which are already conflicti

Re: ARM/ARM-SoC plans for v3.4 merge window

2012-01-24 Thread Russell King - ARM Linux
On Mon, Jan 23, 2012 at 11:49:02AM +, Russell King - ARM Linux wrote: > This is an outline of the plan for this cycle, up to the next merge > window, agreed between Olof and myself. > > As Nicolas' idle changes weren't merged before the last merge window > opened, we

ARM/ARM-SoC plans for v3.4 merge window

2012-01-23 Thread Russell King - ARM Linux
This is an outline of the plan for this cycle, up to the next merge window, agreed between Olof and myself. As Nicolas' idle changes weren't merged before the last merge window opened, we have decided that Nicolas will resubmit his changes after -rc1 (in other words, now) and they will be merged i

Re: [PATCH 05/31] ARM: amba: mxs: convert to use amba_device_alloc

2012-01-20 Thread Russell King - ARM Linux
On Fri, Jan 20, 2012 at 08:25:39PM +0800, Shawn Guo wrote: > On Fri, Jan 20, 2012 at 09:24:05AM +0000, Russell King - ARM Linux wrote: > > Convert MXS to use the new amba_device_alloc APIs. > > > > Signed-off-by: Russell King > > --- > > arch/arm/mach-mxs/devic

Re: [PATCH] S3C24XX DMA resume regression fix

2012-01-20 Thread Russell King - ARM Linux
On Fri, Jan 20, 2012 at 06:49:02AM -0500, Sergey Lapin wrote: > On Sun, Jan 15, 2012 at 01:52:17AM +0400, Sergei Shtylyov wrote: > > Hello. > > > > On 13-01-2012 17:47, Gusakov Andrey wrote: > > > > >In commit bb072c3cf21d1c9a5a2eeb5a00679ee7bf39675b suspend/resume > > > >Please also specify

[PATCH] ARM: move CP15 definitions to separate header file

2012-01-20 Thread Russell King - ARM Linux
Avoid namespace conflicts with drivers over the CP15 definitions by moving CP15 related prototypes and definitions to a private header file. Signed-off-by: Russell King --- arch/arm/include/asm/cp15.h | 87 ++ arch/arm/include/asm/system.h| 77 ---

[PATCH 31/31] ARM: amba: samsung: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-exynos/dma.c | 38 ++ arch/arm/mach-s5p64x0/dma.c | 22 +- arch/arm/mach-s5pc100/dma.c | 38 ++ arch/arm/mach-s5pv210/dma.c | 38 ++---

[PATCH 30/31] ARM: amba: spear: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-spear3xx/spear300.c | 14 ++ arch/arm/mach-spear3xx/spear3xx.c | 27 --- 2 files changed, 6 insertions(+), 35 deletions(-) diff --git a/arch/arm/mach-spear3xx/spear300.c b/arch/arm/mach-spear3xx/spear300.c ind

[PATCH 29/31] ARM: amba: nomadik: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-nomadik/board-nhk8815.c | 17 - arch/arm/mach-nomadik/cpu-8815.c |9 ++--- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-nomadik/board-nhk8815.c b/arch/arm/mach-nomadik/board-nhk8815.c in

[PATCH 28/31] ARM: amba: u300: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-u300/core.c | 85 1 files changed, 16 insertions(+), 69 deletions(-) diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index ed92967..b986560 100644 --- a/arch/arm/mach-u300/core.c +++ b

[PATCH 27/31] ARM: amba: lpc32xx: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-lpc32xx/phy3250.c | 32 1 files changed, 4 insertions(+), 28 deletions(-) diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index 025eb21..5d51c10 100644 --- a/arch/arm/mach-lpc32xx/phy3

[PATCH 26/31] ARM: amba: netx: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-netx/fb.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-netx/fb.c b/arch/arm/mach-netx/fb.c index eda856c..2cdf6ef 100644 --- a/arch/arm/mach-netx/fb.c +++ b/arch/arm/mach-netx/fb.c @@ -92,18 +92,7

[PATCH 25/31] ARM: amba: bcmring: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-bcmring/core.c | 23 ++- 1 files changed, 2 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-bcmring/core.c b/arch/arm/mach-bcmring/core.c index 6b67b7e..22e4e0a 100644 --- a/arch/arm/mach-bcmring/core.c +++ b/arch/arm/

[PATCH 24/31] ARM: amba: ep93xx: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-ep93xx/core.c | 46 +- 1 files changed, 6 insertions(+), 40 deletions(-) diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 1a8397a..903edb0 100644 --- a/arch/arm/mach-ep93xx/core.c

[PATCH 23/31] ARM: amba: omap2: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-omap2/emu.c | 26 ++ 1 files changed, 2 insertions(+), 24 deletions(-) diff --git a/arch/arm/mach-omap2/emu.c b/arch/arm/mach-omap2/emu.c index 9c442e2..ce91aad 100644 --- a/arch/arm/mach-omap2/emu.c +++ b/arch/arm/mach-omap

[PATCH 22/31] ARM: amba: integrator: use common amba device initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-integrator/core.c | 70 ++ arch/arm/mach-integrator/integrator_cp.c | 49 - 2 files changed, 22 insertions(+), 97 deletions(-) diff --git a/arch/arm/mach-integrator/core.c b/arch/arm/mach-i

[PATCH 21/31] ARM: amba: realview: get rid of private platform amba_device initializer

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-realview/core.h| 20 --- arch/arm/mach-realview/realview_eb.c | 38 +++--- arch/arm/mach-realview/realview_pb1176.c | 38 +++--- arch/arm/mach-realview/realview_pb11mp.c

[PATCH 20/31] ARM: amba: versatile: get rid of private platform amba_device initializer

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-versatile/core.c | 36 arch/arm/mach-versatile/core.h | 20 - arch/arm/mach-versatile/versatile_pb.c | 10 3 files changed, 28 insertions(+), 38 deletions(-) diff --git a

[PATCH 19/31] ARM: amba: vexpress: get rid of private platform amba_device initializer

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-vexpress/core.h | 17 - arch/arm/mach-vexpress/ct-ca9x4.c |8 arch/arm/mach-vexpress/v2m.c | 20 ++-- 3 files changed, 14 insertions(+), 31 deletions(-) diff --git a/arch/arm/mach-vexpress/cor

[PATCH 18/31] ARM: amba: provide common initializers for static amba devices

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- include/linux/amba/bus.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index e192962..a9fab83 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/a

[PATCH 17/31] ARM: amba: make use of -1 IRQs warn

2012-01-20 Thread Russell King - ARM Linux
Make the core warn about the use of -1 (NO_IRQ) Signed-off-by: Russell King --- drivers/amba/bus.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index d15acbb..01c2cf4 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@

[PATCH 16/31] ARM: amba: u300: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-u300/core.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index b4c6926..ed92967 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -105,7 +10

[PATCH 15/31] ARM: amba: spear: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-spear3xx/spear300.c |2 +- arch/arm/mach-spear3xx/spear3xx.c |4 ++-- arch/arm/mach-spear6xx/spear6xx.c | 10 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-spear3xx/spear300.c b/arch/arm/mach-spear3

[PATCH 14/31] ARM: amba: netx: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-netx/fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-netx/fb.c b/arch/arm/mach-netx/fb.c index b991323..eda856c 100644 --- a/arch/arm/mach-netx/fb.c +++ b/arch/arm/mach-netx/fb.c @@ -102,7 +102,7 @@ static

[PATCH 13/31] ARM: amba: nomadik: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-nomadik/board-nhk8815.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-nomadik/board-nhk8815.c b/arch/arm/mach-nomadik/board-nhk8815.c index 7c878bf..721e51c 100644 --- a/arch/arm/mach-nomadik/board-nhk8815.

[PATCH 12/31] ARM: amba: mxs: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-mxs/devices/amba-duart.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mxs/devices/amba-duart.c b/arch/arm/mach-mxs/devices/amba-duart.c index a559db0..a5479f7 100644 --- a/arch/arm/mach-mxs/devices/amba-duar

[PATCH 11/31] ARM: amba: lpc32xx: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-lpc32xx/phy3250.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c index bfee5b4..025eb21 100644 --- a/arch/arm/mach-lpc32xx/phy3250.c +++ b/arch/arm/mach-lpc

[PATCH 10/31] ARM: amba: integrator/realview/versatile/vexpress: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-integrator/core.c| 10 +++--- arch/arm/mach-integrator/integrator_cp.c |4 +- arch/arm/mach-realview/realview_eb.c | 40 arch/arm/mach-realview/realview_pb1176.c | 40 +++

[PATCH 09/31] ARM: amba: samsung: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-exynos/dma.c |4 ++-- arch/arm/mach-s5p64x0/dma.c |2 +- arch/arm/mach-s5pc100/dma.c |4 ++-- arch/arm/mach-s5pv210/dma.c |4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-exynos/dma.c b/arch/arm/ma

[PATCH 08/31] ARM: amba: get rid of NO_IRQ initializers

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King --- arch/arm/mach-ep93xx/core.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 24203f9..1a8397a 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c @@

[PATCH 07/31] ARM: amba: ux500: get rid of NO_IRQ

2012-01-20 Thread Russell King - ARM Linux
irq 0 now means no irq, so get rid of this unnecessary initializer. Signed-off-by: Russell King --- arch/arm/mach-ux500/devices-common.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-ux500/devices-common.c b/arch/arm/mach-ux500/devices-common.c index e8c

[PATCH 06/31] ARM: amba: make irq 0 invalid

2012-01-20 Thread Russell King - ARM Linux
Fix core bus and MMCI such that irq 0 means that there is no IRQ attached. Signed-off-by: Russell King --- drivers/amba/bus.c |4 ++-- drivers/mmc/host/mmci.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 82b65e1.

[PATCH 05/31] ARM: amba: mxs: convert to use amba_device_alloc

2012-01-20 Thread Russell King - ARM Linux
Convert MXS to use the new amba_device_alloc APIs. Signed-off-by: Russell King --- arch/arm/mach-mxs/devices.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mxs/devices.c b/arch/arm/mach-mxs/devices.c index fe3e847..052d8dd 100644 --- a/arch/arm/ma

[PATCH 04/31] ARM: amba: integrator: convert to use amba_device_alloc

2012-01-20 Thread Russell King - ARM Linux
Convert Integrator IM/PD-1 to use the new amba_device_alloc APIs. Signed-off-by: Russell King --- arch/arm/mach-integrator/impd1.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c index 8cbb75a..3

[PATCH 03/31] ARM: amba: ux500: convert to use amba_device_alloc

2012-01-20 Thread Russell King - ARM Linux
Convert ux500 to use the new amba_device_alloc APIs. Signed-off-by: Russell King --- arch/arm/mach-ux500/devices-common.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach-ux500/devices-common.c b/arch/arm/mach-ux500/devices-common.c index c563e54

[PATCH 02/31] ARM: amba: of: convert to use amba_device_alloc

2012-01-20 Thread Russell King - ARM Linux
Convert DT code to use the new amba_device_alloc APIs. Signed-off-by: Russell King --- drivers/of/platform.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 63b3ec4..cae9477 100644 --- a/drivers/of/platform.c +++ b

[PATCH 01/31] ARM: amba: add amba_device allocation/add/put functions

2012-01-20 Thread Russell King - ARM Linux
Add functions to allocate and initialize AMBA device structures, and add them to the Linux device manager. This allows us to kill this type of operation from individual platforms, moving it to core code. Signed-off-by: Russell King --- drivers/amba/bus.c | 100 +++

[PATCH 00/31] Clean up amba/primecell bus support

2012-01-20 Thread Russell King - ARM Linux
This patch set cleans up the AMBA/Primecell bus support. Contained within this set are: 1. Patches 1-5 - Allocation APIs It seems several places in the kernel want to allocate and register amba_device structures. Let's make this official, and common code. So we introduce amba_device_all

Re: [PATCH v2 0/8] S3C24XX: remove global plat/s3c24??.h SoC-headers

2012-01-17 Thread Russell King - ARM Linux
On Tue, Jan 17, 2012 at 10:10:51PM +0100, Heiko Stübner wrote: > 53 files changed, 485 insertions(+), 509 deletions(-) > delete mode 100644 arch/arm/mach-s3c2410/common.h > create mode 100644 arch/arm/mach-s3c2410/s3c2410.h Given the amount of pain we've recently been through creating common.h

Re: [PATCH 7/8] S3C2412: move io-init to SoC specific files

2012-01-17 Thread Russell King - ARM Linux
On Tue, Jan 17, 2012 at 10:16:06PM +0100, Heiko Stübner wrote: > @@ -103,15 +83,6 @@ static struct map_desc s3c_iodesc[] __initdata = { > > /* read cpu identificaiton code */ > > -static unsigned long s3c24xx_read_idcode_v5(void) > -{ > -#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3

Re: [PATCH 4/8] S3C2416: move io-init to SoC specific files

2012-01-17 Thread Russell King - ARM Linux
On Tue, Jan 17, 2012 at 10:13:26PM +0100, Heiko Stübner wrote: > +/* minimal IO mapping */ > + > +static struct map_desc s3c_iodesc[] __initdata = { > + IODESC_ENT(GPIO), > + IODESC_ENT(IRQ), > + IODESC_ENT(MEMCTRL), > + IODESC_ENT(UART) > +}; > + > +void __init s3c2416_init_io(stru

Re: [PATCH] watchdog: fix error in probe() of s3c2410_wdt (reset at booting)

2012-01-13 Thread Russell King - ARM Linux
On Fri, Jan 13, 2012 at 02:14:23PM +0900, MyungJoo Ham wrote: > Probe function of s3c2410 watchdog calls request_irq before initializing > required value (wdt_count). This incurs resetting watchdog counter value > and watchdog-reboot during booting up. > > This patch addresses such an issue by cal

Re: [GIT PULL] Samsung devel for v3.3

2012-01-10 Thread Russell King - ARM Linux
On Mon, Jan 09, 2012 at 08:11:54AM -0800, Mark Brown wrote: > On Mon, Jan 09, 2012 at 03:56:34PM +, Arnd Bergmann wrote: > > > Of course we will take all bug fixes. Just rebase the rest on top of 3.3-rc1 > > and we can take it right away for 3.4. > > I've sent a pull request earlier in the th

Re: [GIT PULL] Samsung devel for v3.3

2012-01-09 Thread Russell King - ARM Linux
On Sun, Jan 08, 2012 at 08:49:53PM +, Mark Brown wrote: > On Fri, Jan 06, 2012 at 01:58:29PM -0800, Olof Johansson wrote: > > > > Please pull Samsung devel for v3.3 from: > > > ?git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git > > > next-samsung-devel-samsung > > > Thanks

Re: [PATCH] ARM: EXYNOS: Fix build error which was from common.c and old cpu.c

2012-01-09 Thread Russell King - ARM Linux
On Mon, Jan 09, 2012 at 10:27:27AM +0900, Kukjin Kim wrote: > This fixes build error and wrong merge conflicts. > arch/arm/mach-exynos/common.c: In function 'exynos4_gic_irq_fix_base': > arch/arm/mach-exynos/common.c:393: error: dereferencing pointer to incomplete > type > arch/arm/mach-exynos/com

Re: [PATCH] backlight: lcd: add driver for raster-type lcd's with gpio controlled panel reset

2012-01-07 Thread Russell King - ARM Linux
On Thu, Jan 05, 2012 at 09:12:26PM +0530, Thomas Abraham wrote: > Add a lcd panel driver for simple raster-type lcd's which uses a gpio > controlled panel reset. The driver controls the nRESET line of the panel > using a gpio connected from the host system. The Vcc supply to the panel > is (optiona

Re: [PATCH] ARM: S3C24XX: Fix build error for missing

2012-01-07 Thread Russell King - ARM Linux
On Sat, Jan 07, 2012 at 08:47:47PM +0900, Kukjin Kim wrote: > Since the arch/arm/mach-s3c2410/include/mach/system-reset.h has > been removed by commit f88b8979 ("ARM: restart: remove the now > empty arch_reset()"), so the inclusion of > should be removed at the plat-s3c24xx/cpu.c file. > > The bu

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

2012-01-05 Thread Russell King - ARM Linux
On Mon, Dec 12, 2011 at 10:51:08AM +0900, Boojin Kim wrote: > Currently there were two part of DMAC PL330 driver for > support old styled s3c-pl330 which has been merged into > drivers/dma/pl330.c driver. Actually, there is no reason > to separate them now. > > Basically this patch merges arch/arm

Re: [PATCH 1/4] ARM: SAMSUNG: cleanup of rtc register definitions

2012-01-04 Thread Russell King - ARM Linux
On Wed, Jan 04, 2012 at 03:15:44PM +0100, Heiko Stübner wrote: > regs-rtc.h uses a mixture of tabs and spaces and also (x< to format bits. So, before adding new stuff clean up the formatting > and also add spaces to the bit definitions (i.e. (x << y) ) Ok, so this is just a formatting change - and

Re: [PATCH v8 0/2] ommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2012-01-04 Thread Russell King - ARM Linux
On Wed, Jan 04, 2012 at 04:01:01PM +0100, Joerg Roedel wrote: > On Tue, Jan 03, 2012 at 09:55:27AM +0000, Russell King - ARM Linux wrote: > > It comes through when I stick it in my tree because of a month of asking > > for help to fix something and getting zero response from

Re: [PATCH 09/12] ARM: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]

2012-01-03 Thread Russell King - ARM Linux
On Tue, Jan 03, 2012 at 08:54:17PM +0900, Kukjin Kim wrote: > Russell King - ARM Linux wrote: > > > > On Tue, Jan 03, 2012 at 08:01:15PM +0900, Kukjin Kim wrote: > > > If any problems, please kindly let me know. > > > > Right, this looks better.

Re: [PATCH 02/12] ARM: restart: S3C64XX: use new restart hook

2012-01-03 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 09:48:26PM +0900, Kukjin Kim wrote: > diff --git a/arch/arm/mach-s3c64xx/include/mach/system.h > b/arch/arm/mach-s3c64xx/include/mach/system.h > index d8ca578..353ed43 100644 > --- a/arch/arm/mach-s3c64xx/include/mach/system.h > +++ b/arch/arm/mach-s3c64xx/include/mach/syst

Re: [PATCH 09/12] ARM: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]

2012-01-03 Thread Russell King - ARM Linux
On Tue, Jan 03, 2012 at 08:01:15PM +0900, Kukjin Kim wrote: > If any problems, please kindly let me know. Right, this looks better. I'm now left with one remaining bit: arch/arm/mach-exynos/include/mach/system.h:#include arch/arm/plat-s3c24xx/cpu.c:#include arch/arm/mach-s3c64xx/include/mach/s

Re: [PATCH 09/12] ARM: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]

2012-01-03 Thread Russell King - ARM Linux
On Tue, Jan 03, 2012 at 07:49:18PM +0900, Kukjin Kim wrote: > Russell King - ARM Linux wrote: > > Right, so this is _still_ giving me problems. 7257/1 now applies. 7258/1 > > combines my patch "ARM: restart: exynos4: use new restart hook XXX WIP XXX > > WHY IS THERE NO

Re: [PATCH 09/12] ARM: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]

2012-01-03 Thread Russell King - ARM Linux
On Tue, Dec 27, 2011 at 04:31:52PM +0900, Kukjin Kim wrote: > Kukjin Kim wrote: > > > > Russell King - ARM Linux wrote: > > > > > > > It looks like there's some changes made to exynos stuff between -rc1 > > > > Yes, some bug has been fixed

Re: [PATCH v8 0/2] ommu/exynos: Add IOMMU/System MMU driver for Samsung Exynos

2012-01-03 Thread Russell King - ARM Linux
On Mon, Jan 02, 2012 at 04:58:20PM +0100, Joerg Roedel wrote: > On Tue, Jan 03, 2012 at 12:21:30AM +0900, KyongHo Cho wrote: > > > I still get > > > > > >  LD      .tmp_vmlinux1 > > > /data/cross/gcc-4.6.0-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ld: > > > no machine record d

Re: [PATCH] ARM: EXYNOS: Adds Samsung TRATS board support

2012-01-03 Thread Russell King - ARM Linux
On Mon, Dec 26, 2011 at 12:49:21PM +0900, HeungJun, Kim wrote: > If you don't mind, I want to let you know additional information. > > I also agree with Mr.Park. > > Generally in the robot field, the term "machine" means the total things > including the machinery part and even the brain "board",

Re: [PATCH] S3C: fix order of MACH_S3C* checks on GPIO count define

2012-01-03 Thread Russell King - ARM Linux
On Thu, Dec 29, 2011 at 05:07:14PM +0400, Gusakov Andrey wrote: > Differnt S3C24XX SoC have different number of GPIO. When building > kernel for many S3C24XX SoCs GPIO number defined to minimun possible. > This patch reordef ifdef's to define GPIO number to muximum possible. This is error prome.

Re: [PATCH 09/12] ARM: EXYNOS: introduce arch/arm/mach-exynos/common.[ch]

2011-12-23 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 09:48:33PM +0900, Kukjin Kim wrote: > This patch introduces common.[ch] which are used only in the > arch/arm/mach-exynos/ directory. The common.c file merges > the cpu.c, init.c, irq-combiner.c and irq-eint.c files which > are used commonly on EXYNOS SoCs and the common.h f

Re: [PATCH 07/12] ARM: S5PV210: introduce arch/arm/mach-s5pv210/common.[ch]

2011-12-23 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 09:48:31PM +0900, Kukjin Kim wrote: > This patch introduces common.[ch] which are used only in the > arch/arm/mach-s5pv210/ directory. The common.c file merges > the cpu.c and init.c which are used commonly on S5PCV210/S5PC100 > SoC and the common.h local header file replace

Re: [PATCH 7/8] s3c-hsudc: use release_mem_region instead of release_resource

2011-12-20 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 11:09:48PM +0200, Felipe Balbi wrote: > On Tue, Dec 20, 2011 at 08:10:49PM +0000, Russell King - ARM Linux wrote: > > On Mon, Dec 19, 2011 at 07:42:52PM +0100, Heiko Stübner wrote: > > > As the memory region is requested through request_mem_region >

Re: [PATCH 00/12] ARM: restart: SAMSUNG: use new restart hook

2011-12-20 Thread Russell King - ARM Linux
On Tue, Dec 20, 2011 at 09:48:24PM +0900, Kukjin Kim wrote: > This patch introduces common.[ch] in each SAMSUNG mach- directories > and implements using new restart hook for Samsung stuff. > > This is against on rmk/devel-stable branch. > > [PATCH 01/12] ARM: S3C64XX: introduce arch/arm/mach-s3c6

Re: [PATCH 7/8] s3c-hsudc: use release_mem_region instead of release_resource

2011-12-20 Thread Russell King - ARM Linux
On Mon, Dec 19, 2011 at 07:42:52PM +0100, Heiko Stübner wrote: > As the memory region is requested through request_mem_region > use the correct paired method to release it in the error path > and don't go "beneath the API" as pointed out by Russel King. Please correct the spelling, thanks. -- To u

Re: [PATCH] ARM: restart: S3C64XX: use new restart hook

2011-12-19 Thread Russell King - ARM Linux
On Mon, Dec 19, 2011 at 08:58:20PM +0900, Kukjin Kim wrote: > Hook these platforms restart code into the new restart hook rather > than using arch_reset(). > > Cc: Ben Dooks > Cc: Russell King > Signed-off-by: Kukjin Kim It would be _much_ better if you could prepare a set of patches against m

<    1   2   3   4   5   6   7   >