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
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 +++
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
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
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
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
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.
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
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
@@
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
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 +++
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
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
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.
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
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
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
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
@@
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
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
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
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
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
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
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
On 1/20/2012 2:57 PM, Russell King - ARM Linux wrote:
> 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(-)
>
>
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/
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
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
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
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
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
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 ++---
On 1/20/2012 3:02 PM, Russell King - ARM Linux wrote:
> 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/a
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 ---
Good day.
It looks like Atmel MXT initialisation code on nuri board is broken. I
don't have a datasheet for this touchscreen, but from what I can see in
atmel mxt driver code(drivers/input/touchscreen/atmel_mxt_ts.c), I make
assumption that MXT must have a mandatory MXT_GEN_MESSAGE_T5 object.
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 that commit's summary in parens.
Could you please point me in direction of p
On Fri, Jan 20, 2012 at 09:24:05AM +, Russell King - ARM Linux wrote:
> 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-m
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
On Fri, Jan 20, 2012 at 09:26:28AM +, Russell King - ARM Linux wrote:
> Signed-off-by: Russell King
Acked-by: Shawn Guo
> ---
> 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
On Fri, Jan 20, 2012 at 08:25:39PM +0800, Shawn Guo wrote:
> On Fri, Jan 20, 2012 at 09:24:05AM +, Russell King - ARM Linux wrote:
> > Convert MXS to use the new amba_device_alloc APIs.
> >
> > Signed-off-by: Russell King
> > ---
> > arch/arm/mach-mxs/devices.c |8 +---
> > 1 files c
In commit bb072c3cf21d1c9a5a2eeb5a00679ee7bf39675b
(Use struct syscore_ops for "core" power management)
suspend/resume hooks for each DMA channels were replaced with
hooks that suspend/resume all channels. s3c2410_dma_suspend
suspends channels from 0 to dma_channels. s3c2410_dma_resume
resumes chan
> > > >In commit bb072c3cf21d1c9a5a2eeb5a00679ee7bf39675b suspend/resume
> > >
> > >Please also specify that commit's summary in parens.
> >
> > Could you please point me in direction of patch submission
> > guide where that is explained.
>
> It's something that's been asked for by Linus - a
On 01/20/2012 03:23 AM, Russell King - ARM Linux wrote:
> Convert DT code to use the new amba_device_alloc APIs.
>
> Signed-off-by: Russell King
Acked-by: Rob Herring
> ---
> drivers/of/platform.c |6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/of/p
* Russell King - ARM Linux [120120 00:58]:
> Signed-off-by: Russell King
Acked-by: Tony Lindgren
> ---
> 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
> i
Russell King wrote at Friday, January 20, 2012 3:04 AM:
> 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
For Tegra,
Acked-by: Stephen Warren
Tested-by: Stephen Warr
On Friday, January 20, 2012 2:31 AM, Russell King wrote:
>
> Signed-off-by: Russell King
> ---
> arch/arm/mach-ep93xx/core.c | 46 +-
> 1 files changed, 6 insertions(+), 40 deletions(-)
Acked-by: H Hartley Sweeten
--
To unsubscribe from this list: send
On Friday, January 20, 2012 3:04 AM, Russell King wrote:
> 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
For EP93xx,
Acked-by: H Hartley Sweeten
Tested-by: H Hartle
On Friday, January 20, 2012 2:29 AM, Russell King wrote:
>
> Signed-off-by: Russell King
> ---
> include/linux/amba/bus.h | 33 +
> 1 files changed, 33 insertions(+), 0 deletions(-)
Acked-by: H Hartley Sweeten
--
To unsubscribe from this list: send the line "u
Commit cc511b8d84d88ab788cddbfe8d21485b1c387493 replaced plat/exynos4.h
with common.h, requiring all boards to be adjusted appropriately.
This commit fixes exynos4-dt.c, missed out in original patch.
Signed-off-by: Karol Lewandowski
Signed-off-by: Kyungmin Park
Cc: Marek Szyprowski
Cc: Thomas
On Fri, 20 Jan 2012, Russell King - ARM Linux wrote:
> 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
Acked-by: Nicolas Pitre
> ---
> arch/arm/include/asm/cp15.h
> - .irq = {IRQ_UART0, NO_IRQ},
> + .irq = {IRQ_UART0},
Acked-by: Alessandro Rubini
--
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://vger.kernel.org/majordomo-info.html
> +static AMBA_APB_DEVICE(uart0, "uart0", 0, NOMADIK_UART0_BASE,
> + { IRQ_UART0 }, NULL);
Acked-by: Alessandro Rubini
thanks
/alessandro
--
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
Russell King wrote:
>
> 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
For exynos:
Acked-by: Kukjin Kim
Thanks.
Best regards,
Kgene.
--
Kukjin Kim , Senior Engine
Russell King wrote:
>
> Signed-off-by: Russell King
Acked-by: Kukjin Kim
Thanks.
Best regards,
Kgene.
--
Kukjin Kim , Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> ---
> arch/arm/mach-exynos/dma.c |4 ++--
> arch/arm/mach-s5p64x0/dma.c |2 +-
> arch
Russell King wrote:
>
> Signed-off-by: Russell King
Acked-by: Kukjin Kim
Thanks.
Best regards,
Kgene.
--
Kukjin Kim , Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> ---
> arch/arm/mach-exynos/dma.c | 38 ++
> arch/arm/ma
Russell King - ARM Linux wrote:
>
> 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
Signed-off-by: Kukjin Kim
---
arch/arm/mach-exynos/clock-exynos4210.c|2 +-
arch/arm/mach-exynos/clock-exynos4212.c|2 +-
arch/arm/mach-exynos/clock.c |2 +-
arch/arm/mach-exynos/common.c |2 +-
arch/arm/mach-exynos/dma.c | 12
Signed-off-by: Kukjin Kim
---
arch/arm/mach-s3c2410/mach-h1940.c| 12 ++--
arch/arm/mach-s3c2416/clock.c |6 --
arch/arm/mach-s3c2416/mach-smdk2416.c |8
arch/arm/mach-s3c2440/mach-gta02.c|4 ++--
arch/arm/mach-s3c2440/mach-rx1950.c | 12 +++
Signed-off-by: Kukjin Kim
---
arch/arm/mach-s3c64xx/common.c |2 +-
arch/arm/mach-s3c64xx/common.h |2 --
arch/arm/mach-s3c64xx/irq-pm.c |2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c
index 4a7394d
Signed-off-by: Kukjin Kim
---
arch/arm/mach-s5p64x0/clock.c | 11 ++-
arch/arm/mach-s5p64x0/dma.c| 10 +-
arch/arm/mach-s5p64x0/include/mach/s5p64x0-clock.h |7 ---
3 files changed, 11 insertions(+), 17 deletions(-)
diff -
Signed-off-by: Kukjin Kim
---
arch/arm/mach-s5pc100/clock.c | 28 ++--
arch/arm/mach-s5pc100/dma.c | 12 ++--
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/mach-s5pc100/clock.c b/arch/arm/mach-s5pc100/clock.c
index 247194d..16eca4
Signed-off-by: Kukjin Kim
---
arch/arm/mach-s5pv210/dma.c | 12 ++--
arch/arm/mach-s5pv210/mach-goni.c |2 +-
arch/arm/mach-s5pv210/mach-smdkv210.c |2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-s5pv210/dma.c b/arch/arm/mach-s5
Signed-off-by: Kukjin Kim
---
arch/arm/plat-s5p/irq-eint.c|2 +-
arch/arm/plat-s5p/irq-gpioint.c |2 +-
arch/arm/plat-samsung/devs.c| 13 +
arch/arm/plat-samsung/dma-ops.c |2 +-
4 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/arm/plat-s5p/i
64 matches
Mail list logo