Re: [PATCH 0/5] uart updates

2012-01-20 Thread Govindraj
On Mon, Jan 16, 2012 at 3:52 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: The patch series does the following - Make the Make the suspend/resume functions depend on    CONFIG_PM_SLEEP - Fix the serial omap probe's error handling - Make he context_loss_cnt signed so that error handling is  

Re: [PATCH 0/3] coupled cpuidle state support

2012-01-20 Thread Daniel Lezcano
On 12/21/2011 01:09 AM, Colin Cross wrote: On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the cpus cannot be independently powered down, either due to sequencing restrictions (on Tegra 2, cpu 0 must be the last to power down), or due to HW bugs (on OMAP4460, a cpu powering up will

Re: [PATCH 3/5] omap-serial: Fix the error handling in the omap_serial probe

2012-01-20 Thread Govindraj
On Mon, Jan 16, 2012 at 3:52 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: The patch does the following - The pm_runtime_disable is called in the remove not in the error  case of probe.The patch calls the pm_runtime_disable in the error  case. - The  up is not freed in the error path. Fix

Re: [PATCH 5/5] OMAP : serial : Check for error in get_context_loss_count

2012-01-20 Thread Govindraj
On Mon, Jan 16, 2012 at 3:52 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: In serial_omap_runtime_resume in case of errors returned by get_context_loss_count print a warning and do a restore. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com ---  drivers/tty/serial/omap-serial.c |   10

Re: [PATCH 4/5] ARM : OMAP : serial : Make context_loss_cnt signed

2012-01-20 Thread Govindraj
On Mon, Jan 16, 2012 at 3:52 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: get_context_loss_count returns an int however it is stored in unsigned integer context_loss_cnt . This patch tries to make context_loss_cnt int. So that in case of errors(which may be negative) the value is not

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-20 Thread Joe Woodward
So I re-iterate that we need to have solution to this problem. ... I don't want to be a pain, but it seems to me that this dicussion didn't reach a full conclussion? I think it was left with the open options being: 1) Leave the L2/outer cache enabled in the bootloader (not ideal and may

[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

[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 rmk+ker...@arm.linux.org.uk --- drivers/amba/bus.c | 100

[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 rmk+ker...@arm.linux.org.uk --- 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 ---

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- arch/arm/mach-integrator/impd1.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-integrator/impd1.c

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 +++

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- arch/arm/mach-integrator/core.c| 10 +++--- arch/arm/mach-integrator/integrator_cp.c |4 +- arch/arm/mach-realview/realview_eb.c | 40

[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 rmk+ker...@arm.linux.org.uk --- 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 ---

[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 rmk+ker...@arm.linux.org.uk --- 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 ---

[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 rmk+ker...@arm.linux.org.uk --- 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 ---

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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 +++

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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 ---

[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 rmk+ker...@arm.linux.org.uk --- 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

[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 rmk+ker...@arm.linux.org.uk --- 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(+),

[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 rmk+ker...@arm.linux.org.uk --- arch/arm/mach-realview/core.h| 20 --- arch/arm/mach-realview/realview_eb.c | 38 +++--- arch/arm/mach-realview/realview_pb1176.c | 38 +++---

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

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

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 ---

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

2012-01-20 Thread Viresh Kumar
On 1/20/2012 2:57 PM, Russell King - ARM Linux wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 ---

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 +++

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 ---

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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 ---

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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

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

2012-01-20 Thread Russell King - ARM Linux
Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- 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

Re: [PATCH 3/5] omap-serial: Fix the error handling in the omap_serial probe

2012-01-20 Thread Shubhrajyoti
On Friday 20 January 2012 02:19 PM, Govindraj wrote: On Mon, Jan 16, 2012 at 3:52 PM, Shubhrajyoti D shubhrajy...@ti.com wrote: The patch does the following - The pm_runtime_disable is called in the remove not in the error case of probe.The patch calls the pm_runtime_disable in the error

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

2012-01-20 Thread Viresh Kumar
On 1/20/2012 3:02 PM, Russell King - ARM Linux wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-spear3xx/spear300.c | 14 ++ arch/arm/mach-spear3xx/spear3xx.c | 27 --- 2 files changed, 6 insertions(+), 35 deletions(-)

OMAP4 hwmod problem when unloading omapdss

2012-01-20 Thread Tomi Valkeinen
Hi Benoit, I see the below WARNING on v3.3-rc1, running on OMAP4460 Panda, when I unload the DSS modules. This didn't happen on v3.2, or linux-next from a few weeks ago. Tomi [ 29.667572] [ cut here ] [ 29.667572] WARNING: at arch/arm/mach-omap2/omap_hwmod.c:1604

PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Tomi Valkeinen
Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy, it often takes many seconds until the key pressed appears so it's more or less unusable. Second, I compile DSS as modules, and don't load

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Govindraj
On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy, it often takes many seconds until the key pressed appears

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Tomi Valkeinen
On Fri, 2012-01-20 at 16:19 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy,

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Govindraj
On Fri, Jan 20, 2012 at 4:37 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 16:19 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Govindraj
On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy, it often takes many seconds until the key pressed appears

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Tomi Valkeinen
On Fri, 2012-01-20 at 17:26 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Is there a way to lock the OPP to the full power OPP? btw, I think enabling cpu_idle and performance governor to should ensure that. However enabling

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

2012-01-20 Thread Shawn Guo
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 rmk+ker...@arm.linux.org.uk --- arch/arm/mach-mxs/devices.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff

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

2012-01-20 Thread Shawn Guo
On Fri, Jan 20, 2012 at 09:26:28AM +, Russell King - ARM Linux wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Shawn Guo shawn@linaro.org --- arch/arm/mach-mxs/devices/amba-duart.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Jean Pihet
Govindraj, On Fri, Jan 20, 2012 at 12:21 PM, Govindraj govindraj...@gmail.com wrote: On Fri, Jan 20, 2012 at 4:37 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 16:19 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote:

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Jean Pihet
Tomi, On Fri, Jan 20, 2012 at 1:01 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 17:26 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Is there a way to lock the OPP to the full power OPP? btw, I think

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 +, Russell King - ARM Linux wrote: Convert MXS to use the new amba_device_alloc APIs. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-mxs/devices.c |8

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Tomi Valkeinen
On Fri, 2012-01-20 at 13:34 +0100, Jean Pihet wrote: Tomi, On Fri, Jan 20, 2012 at 1:01 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 17:26 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Is there a way to

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Govindraj
On Fri, Jan 20, 2012 at 6:02 PM, Jean Pihet jean.pi...@newoldbits.com wrote: Govindraj, On Fri, Jan 20, 2012 at 12:21 PM, Govindraj govindraj...@gmail.com wrote: On Fri, Jan 20, 2012 at 4:37 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 16:19 +0530, Govindraj wrote:

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Govindraj
On Fri, Jan 20, 2012 at 5:31 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 17:26 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Is there a way to lock the OPP to the full power OPP? btw, I think enabling

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Shubhrajyoti
On Friday 20 January 2012 05:26 PM, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy, it

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Jean Pihet
Tomi, On Fri, Jan 20, 2012 at 1:40 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 13:34 +0100, Jean Pihet wrote: Tomi, On Fri, Jan 20, 2012 at 1:01 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 17:26 +0530, Govindraj wrote: On Fri, Jan 20,

Re: oprofile and ARM A9 hardware counter

2012-01-20 Thread stephane eranian
Started afresh from: 90a4c0f uml: fix compile for x86-64 And added 3, 4, 5, 6: 603c316 arm: omap4: pmu: support runtime pm 4899fbd arm: omap4: support pmu d737bb1 arm: omap4: create pmu device via hwmod 4e0259e arm: omap4: hwmod: introduce emu hwmod Still no interrupts firing. I am using your

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

2012-01-20 Thread Rob Herring
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 rmk+ker...@arm.linux.org.uk Acked-by: Rob Herring rob.herr...@calxeda.com --- drivers/of/platform.c |6 +++--- 1 files changed, 3 insertions(+),

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

2012-01-20 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [120120 00:58]: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/emu.c | 26 ++ 1 files changed, 2 insertions(+), 24 deletions(-) diff --git

Re: [PATCH 0/6] OMAPDSS: HDMI PHY burnout fix

2012-01-20 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [120117 04:16]: The main patch in this set is the last one, which implements a fix for the HW bug on OMAP4 which causes physical damage to the board if the HDMI cable is not connected but HDMI output is enabled. The preceding patches are small

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Tomi Valkeinen
On Fri, 2012-01-20 at 14:36 +0100, Jean Pihet wrote: Tomi, On Fri, Jan 20, 2012 at 1:40 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri, 2012-01-20 at 13:34 +0100, Jean Pihet wrote: Tomi, On Fri, Jan 20, 2012 at 1:01 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On Fri,

[PATCH] i2c: OMAP: Fix OMAP1 build error

2012-01-20 Thread Cousson, Benoit
CONFIG_OF is not defined for OMAP1 yet and thus the omap1_defconfig build generate an error for 3.3-rc1. drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe': drivers/i2c/busses/i2c-omap.c:1021:26: error: 'omap_i2c_of_match' undeclared (first use in this function)

Re: [PATCH] i2c: OMAP: Fix OMAP1 build error

2012-01-20 Thread Tony Lindgren
* Cousson, Benoit b-cous...@ti.com [120120 07:22]: CONFIG_OF is not defined for OMAP1 yet and thus the omap1_defconfig build generate an error for 3.3-rc1. drivers/i2c/busses/i2c-omap.c: In function 'omap_i2c_probe': drivers/i2c/busses/i2c-omap.c:1021:26: error: 'omap_i2c_of_match'

Re: GPMC: fix device size setup

2012-01-20 Thread Tony Lindgren
* Yegor Yefremov yegor_s...@visionsystems.de [120120 07:29]: following statement can only change device size from 8-bit(0) to 16-bit(1), but not vice versa: regval |= GPMC_CONFIG1_DEVICESIZE(wval); so as this field has 1 reserved bit, that could be used in future, just clear both bits and

GPMC: fix device size setup

2012-01-20 Thread Yegor Yefremov
following statement can only change device size from 8-bit(0) to 16-bit(1), but not vice versa: regval |= GPMC_CONFIG1_DEVICESIZE(wval); so as this field has 1 reserved bit, that could be used in future, just clear both bits and then OR with the desired value Signed-off-by: Yegor Yefremov

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

2012-01-20 Thread H Hartley Sweeten
On Friday, January 20, 2012 2:31 AM, Russell King wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mach-ep93xx/core.c | 46 +- 1 files changed, 6 insertions(+), 40 deletions(-) Acked-by: H Hartley Sweeten

Re: [PATCH] ARM: OMAP: fix erroneous mmc2 clock change on mmc3 setup

2012-01-20 Thread Grazvydas Ignotas
Hi Tony, Would be nice to have this for -rc as this used to work several releases back when hsmmc23_before_set_reg() was checking for a regulator, which wasn't set for MMC3 so the function would return early, not causing the problem it causes now. On Sun, Dec 18, 2011 at 2:35 AM, Grazvydas

Re: [PATCH] ARM: OMAP: fix erroneous mmc2 clock change on mmc3 setup

2012-01-20 Thread Tony Lindgren
* Grazvydas Ignotas nota...@gmail.com [120120 08:51]: Hi Tony, Would be nice to have this for -rc as this used to work several releases back when hsmmc23_before_set_reg() was checking for a regulator, which wasn't set for MMC3 so the function would return early, not causing the problem it

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

2012-01-20 Thread H Hartley Sweeten
On Friday, January 20, 2012 2:29 AM, Russell King wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- include/linux/amba/bus.h | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) Acked-by: H Hartley Sweeten hswee...@visionengravers.com

Re: DSS2/PM on 3.2 broken?

2012-01-20 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@ti.com writes: On Thu, 2012-01-19 at 11:24 -0800, Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@ti.com writes: Now, you already said using pm_runtime_put_sync version is the correct way when suspending. But to use that I need to either always use

Re: [PATCH] ARM: OMAP4: clock: fix mult and div mask for USB_DPLL

2012-01-20 Thread Palande, Ameya
Any update on this? On Wed, Jan 18, 2012 at 3:39 PM, Ameya Palande ameya.pala...@ti.com wrote: Signed-off-by: Ameya Palande ameya.pala...@ti.com ---  arch/arm/mach-omap2/clock44xx_data.c |    4 ++--  1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] OMAP4: Clock: Force a DPLL clkdm/pwrdm ON before a relock

2012-01-20 Thread Palande, Ameya
Any update on this? On Thu, Jan 19, 2012 at 11:22 AM, Ameya Palande ameya.pala...@ti.com wrote: From: Rajendra Nayak rna...@ti.com All DPLLs except USB are in ALWON powerdomain. Make sure the clkdm/pwrdm for USB DPLL (l3init) is turned on before attempting a DPLL relock. So, mark the

Re: [PATCH 0/3] coupled cpuidle state support

2012-01-20 Thread Colin Cross
On Fri, Jan 20, 2012 at 12:46 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: Hi Colin, this patchset could be interesting to resolve in a generic way the cpu dependencies. What is the status of this patchset ? I can't do much with it right now, because I don't have any devices that can

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

2012-01-20 Thread Alessandro Rubini
- .irq = {IRQ_UART0, NO_IRQ}, + .irq = {IRQ_UART0}, Acked-by: Alessandro Rubini rub...@unipv.it -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

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

2012-01-20 Thread Alessandro Rubini
+static AMBA_APB_DEVICE(uart0, uart0, 0, NOMADIK_UART0_BASE, + { IRQ_UART0 }, NULL); Acked-by: Alessandro Rubini rub...@unipv.it thanks /alessandro -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo

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

2012-01-20 Thread Kukjin Kim
Russell King wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Kukjin Kim kgene@samsung.com Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. ---

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

2012-01-20 Thread Kukjin Kim
Russell King wrote: Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Acked-by: Kukjin Kim kgene@samsung.com Thanks. Best regards, Kgene. -- Kukjin Kim kgene@samsung.com, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. ---

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

2012-01-20 Thread Kukjin Kim
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 common

Re: oprofile and ARM A9 hardware counter

2012-01-20 Thread Ming Lei
On Fri, Jan 20, 2012 at 9:47 PM, stephane eranian eran...@googlemail.com wrote: Started afresh from: 90a4c0f uml: fix compile for x86-64 And added 3, 4, 5, 6: 603c316 arm: omap4: pmu: support runtime pm 4899fbd arm: omap4: support pmu d737bb1 arm: omap4: create pmu device via hwmod

Re: [RFC v3 PATCH 1/3] dt: device tree bindings for DDR memories

2012-01-20 Thread Olof Johansson
On Thu, Jan 19, 2012 at 12:56 PM, Aneesh V ane...@ti.com wrote: Hi Olof, On Friday 20 January 2012 01:01 AM, Olof Johansson wrote: Hi, Sorry for the delay in responding, I know you pinged me about it yesterday. On Thu, Jan 19, 2012 at 6:31 AM, Aneesh Vane...@ti.com  wrote: device tree

[PATCH 1/2] tty: serial: OMAP: ensure FIFO levels are set correctly in non-DMA mode

2012-01-20 Thread Paul Walmsley
Ensure FIFO levels are set correctly in non-DMA mode (the default). This patch will cause a receive FIFO threshold interrupt to be raised when there is at least one byte in the RX FIFO. It will also cause a transmit FIFO threshold interrupt when there is only one byte remaining in the TX FIFO.

[PATCH 0/2] tty: serial: OMAP: work around broken driver, IP block

2012-01-20 Thread Paul Walmsley
[ This series is targeted for merging during v3.3-rc ] On v3.3-rc1, the OMAP serial console doesn't behave properly when power management is enabled (the default with omap2plus_defconfig). This seems to be due to a combination of a silicon bug in the UART IP block and broken FIFO settings in the

[PATCH 2/2] tty: serial: OMAP: transmit FIFO threshold interrupts don't wake the chip

2012-01-20 Thread Paul Walmsley
It seems that when the transmit FIFO threshold is reached on OMAP UARTs, it does not result in a PRCM wakeup. This appears to be a silicon bug. This means that if the MPU powerdomain is in a low-power state, the MPU will not be awakened to refill the FIFO until the next interrupt from another

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Paul Walmsley
On Fri, 20 Jan 2012, Tomi Valkeinen wrote: I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when I boot up, the console (via USB serial) is very laggy, it often takes many seconds until the key pressed appears so it's more or less unusable. Have

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Paul Walmsley
On Fri, 20 Jan 2012, Tomi Valkeinen wrote: On Fri, 2012-01-20 at 16:19 +0530, Govindraj wrote: On Fri, Jan 20, 2012 at 4:03 PM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I'm testing v3.3-rc1 on OMAP3 overo, and I'm having problems probably related to PM. First, when

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Paul Walmsley
On Fri, 20 Jan 2012, Govindraj wrote: 3.3-rc1 has uart runtime patches merged we have removed uart dependency for system to enter low powers states and used pm_qos calls, but pm_qos api's seem do get activated only by enabling config_cpu_idle. Question to kevin/Paul, Shouldn't system be

Re: PM(?) problems on v3.3-rc1 on OMAP3

2012-01-20 Thread Paul Walmsley
On Fri, 20 Jan 2012, Tomi Valkeinen wrote: Third, when I load the DSS modules, I see only ON state increasing for dss_pwrdm, as it should be. However, I'm getting constant stream of sync losts from DSS, and the display doesn't basically work at all. I can see MPU pwrdm going into RET a lot,