Re: [PATCH 0/4] Updates on mcbsp driver (take #2)

2008-05-20 Thread Jarkko Nikula
On Mon, 19 May 2008 11:09:43 -0400 "ext Eduardo Valentin" <[EMAIL PROTECTED]> wrote: > Hi Steve, > > This series is basically a simple transformation of currect mcbsp code > to a platform > driver and a separation of machine specific code. > > It should work for omap1 and omap2 (what is currentl

RE: Power management behavior of linux-2.6.14-omap2-v5

2008-05-20 Thread Woodruff, Richard
> On Mon, May 19, 2008 at 6:48 PM, Woodruff, Richard <[EMAIL PROTECTED]> > wrote: > > You are just talking about your logo disappearing (usually tux)? > > No not just tux. > > If i run tslib (ts_test) and suspend& resume the > board then also the same behavior is happening. > ie. The normal ts_te

Problems with RT pathc s in OMAP kernel

2008-05-20 Thread Luís Vitório Cargnini
Dear fellows: After applied the RT patch set in my kernel tree I get the following error (RT patch origin: http://rt.wiki.kernel.org/index.php/Main_Page) : (enterprise:~/puc/instramed/linux-omap-2.6.dea.rt) lvcargnini% make CHK include/linux/version.h make[1]: `include/asm-arm/mach-types.h'

Re: [PATCH 4/9] OMAP: Add new function to check wether there is irq pending

2008-05-20 Thread Tony Lindgren
* Högander Jouni <[EMAIL PROTECTED]> [080519 23:27]: > "ext Tony Lindgren" <[EMAIL PROTECTED]> writes: > > > * Högander Jouni <[EMAIL PROTECTED]> [080519 01:05]: > >> "ext Tony Lindgren" <[EMAIL PROTECTED]> writes: > >> > >> > Hi, > >> > > >> > * Jouni Hogander <[EMAIL PROTECTED]> [080516 03:57]:

[PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Paul Walmsley
Simplify the IRQ register/IRQ register bit calculations in mach-omap2/irq.c. Test-booted on 3430SDP. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- size: textdata bss dec hex filename 3341347 170992 109008 3621347 3741e3 vmlinux.3430sdp 3341315 170992 109008 362

Re: [PATCH 0/4] Updates on mcbsp driver (take #2)

2008-05-20 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 5 mei 2008, om 23:23 heeft Eduardo Valentin het volgende geschreven: From: Eduardo Valentin <[EMAIL PROTECTED]> Hi Tony, Here is the updated version of my previous patches. DMA and IRQ definitions were left as they are. Chandra is going to send

omap16xxcam module

2008-05-20 Thread Михаил
Hi, there. I work with OMAP5912 OSK. I've found some bugs in latest (16/05/08) snapshot of git tree in omap16xxcam module. Here they are: -omap16xxcam.c---

omap 5912 and mistral touchscreen

2008-05-20 Thread mohammed shareef
Hello, Can i use the ads7846 touchscreen driver built-in in the latest kernels for the q-vga module from mistral for omap5912-osk? after i enable the ads7846 driver how do i calibrate the touchscreen? how can i know which event is attached to the touchscreen? thank you. Regards, Mohammed sharee

Re: [PATCH] Driver for omap34xx temperature sensor.

2008-05-20 Thread Paul Walmsley
Hi Peter, a few quick comments. On Mon, 19 May 2008, Peter 'p2' De Schrijver wrote: > +#define SCM_CONTROL_TEMP_SENSOR (OMAP343X_SCM_BASE + 0x524) Consider moving this to include/asm-arm/arch-omap/control.h ? > +#define CM_FCLKEN3_CORE (OMAP3430_CM_BASE + 0x200 + 0x8) The above define do

Re: Problems with RT pathc s in OMAP kernel

2008-05-20 Thread Kevin Hilman
Luís Vitório Cargnini wrote: Dear fellows: After applied the RT patch set in my kernel tree I get the following error (RT patch origin: http://rt.wiki.kernel.org/index.php/Main_Page) [...] Someone knows how can I fix this ? Someone has a patch ? I've got a series of patches against 2.6.25.4

Re: [PATCH 0/9] 34XX: PM: Support for retention on suspend and idle

2008-05-20 Thread Tony Lindgren
* Högander Jouni <[EMAIL PROTECTED]> [080516 03:54]: > This patch set adds suspend and pm idle support for omap3. There are > still lots of missing stuff so omap doesn't enter full retention > without workaround patches. Workaround patches are sent in separate > set. > > You can try these by apply

[PATCH 0/5] RT: Misc. fixups for ARM/OMAP against 2.6.25.4-rt3

2008-05-20 Thread Kevin Hilman
What follows are a series of minor fixes to get -rt3 building/booting on ARM. The first 3 are ready do be included into the -rt patch, while the last 4th one (cmpxchg duplication) needs a little investigating. The 5th one needs to go upstream via the OMAP tree. This was build/boot tested on

[PATCH 5/5] ARM: OMAP: remove unnecessary locking in clk_get_rate()

2008-05-20 Thread Kevin Hilman
The locking in the get_rate() hook is unnecessary, and causes problems when used with the -rt patch, since it may be called recursively. Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- arch/arm/plat-omap/clock.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/a

[PATCH 1/5] RT: ARM: remove non-existant trace_preempt_*_idle calls from idle loop

2008-05-20 Thread Kevin Hilman
Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- arch/arm/kernel/process.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 9308346..a0aad84 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.

[PATCH 4/5] RT: ARM: disable duplicate cmpxchg

2008-05-20 Thread Kevin Hilman
FIXME: The ARM cmpxchg macro conflicts with the generic ones from cmpxchg-local. Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- include/asm-arm/atomic.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-arm/atomic.h b/include/asm-arm/atomic.h index b5ba735

[PATCH 2/5] RT: wrap BUILD_CHECK_IRQ_FLAGS

2008-05-20 Thread Kevin Hilman
The macros used by BUILD_CHECK_IRQ_FLAGS() are defined in kernel.h, but this file is sometimes included before kernel.h (or even by kernel.h) Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- include/linux/irqflags.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/in

[RFC/PATCH 4/5] RT: ARM: disable duplicate cmpxchg

2008-05-20 Thread Kevin Hilman
FIXME: The ARM cmpxchg macro conflicts with the generic ones from cmpxchg-local. Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- include/asm-arm/atomic.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/asm-arm/atomic.h b/include/asm-arm/atomic.h index b5ba735

[PATCH 3/5] RT: ARM: remove __attribute_used__ from semaphore code

2008-05-20 Thread Kevin Hilman
Signed-off-by: Kevin Hilman <[EMAIL PROTECTED]> --- arch/arm/kernel/semaphore.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/kernel/semaphore.c b/arch/arm/kernel/semaphore.c index 6036f57..11f7d04 100644 --- a/arch/arm/kernel/semaphore.c +++ b/arch/arm/k

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Kyungmin Park
On Wed, May 21, 2008 at 3:21 AM, Paul Walmsley <[EMAIL PROTECTED]> wrote: > > Simplify the IRQ register/IRQ register bit calculations in > mach-omap2/irq.c. > > Test-booted on 3430SDP. > > Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> > > --- > > size: > textdata bss dec hex fi

Re: [PATCH 1/4] PLAT-OMAP: MCBSP: Tranform into platform driver

2008-05-20 Thread Tony Lindgren
Hi, Some comments below. * Eduardo Valentin <[EMAIL PROTECTED]> [080505 14:24]: > From: Eduardo Valentin <[EMAIL PROTECTED]> > > This patch transform mcbsp code into a very initial > implementation of a platform driver. > > It also gets ride of ifdefs on mcbsp.c code. > To do it, a platform dat

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Paul Walmsley
Hello Kyungmin, On Wed, 21 May 2008, Kyungmin Park wrote: > On Wed, May 21, 2008 at 3:21 AM, Paul Walmsley <[EMAIL PROTECTED]> wrote: > > > > static void omap_mask_irq(unsigned int irq) > > { > > - int offset = (irq >> 5) << 5; > > + int offset = irq & (~(IRQ_BITS_PER_REG - 1)); > >

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Philip Balister
Paul Walmsley wrote: Hello Kyungmin, On Wed, 21 May 2008, Kyungmin Park wrote: On Wed, May 21, 2008 at 3:21 AM, Paul Walmsley <[EMAIL PROTECTED]> wrote: static void omap_mask_irq(unsigned int irq) { - int offset = (irq >> 5) << 5; + int offset = irq & (~(IRQ_BITS_PER_REG - 1));

[PATCH 0/6] OMAP2 PM: link clocks to clockdomains, use clkdm/pwrdm code

2008-05-20 Thread Paul Walmsley
This series updates OMAP24xx power management to use the recent clockdomain and powerdomain code that was integrated earlier this year. The series: - associates a clockdomain with each struct clk, - adds a couple of minor powerdomain/clockdomain interface functions to be used by pm.c, - con

[PATCH 3/6] powerdomain: add pwrdm_get_mem_bank_count()

2008-05-20 Thread Paul Walmsley
Add a function pwrdm_get_mem_bank_count() to the powerdomain code to return the number of memory banks contained inside an OMAP powerdomain. This will be used by the PM code to configure the memory bank retention state. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/po

[PATCH 2/6] 24xx clock: add missing SSI L4 interface clock

2008-05-20 Thread Paul Walmsley
This patch adds a missing OMAP24xx clock, the SSI L4 interface clock, as "ssi_l4_ick". Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/clock24xx.h | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock24xx.h b/ar

[PATCH 1/6] 24xx clock: associate clocks with clockdomains

2008-05-20 Thread Paul Walmsley
Associate each OMAP24xx clock in arch/arm/mach-omap2/clock24xx.h with a clockdomain. Also move the L4 clock up higher in the file in preparation to define the SSI L4 iclk. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/clock24xx.h | 238 +++

[PATCH 4/6] clockdomain: add clkdm_get_pwrdm()

2008-05-20 Thread Paul Walmsley
Add clkdm_get_pwrdm() to the clockdomain code. It will return a pointer to the powerdomain struct that the clockdomain is contained within. Used by the PM code. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/clockdomain.c | 16 include/asm-arm

[PATCH 6/6] DSP Gateway: remove manual clockdomain/powerdomain tweaking

2008-05-20 Thread Paul Walmsley
The recent powerdomain and clockdomain layer updates for OMAP24XX should now control the DSP powerdomain and clockdomain automatically when DSP Gateway calls clk_{enable,disable}(). Remove the manual clockdomain/powerdomain register tweaks from DSP Gateway. Signed-off-by: Paul Walmsley <[EMAIL P

[PATCH 5/6] 24xx PM: convert pm24xx.c code to use pwrdm/clkdm interfaces

2008-05-20 Thread Paul Walmsley
Convert the existing OMAP24xx pm24xx.c code to use the recent powerdomain/clockdomain interface code. This mostly consists of removing direct register reads and writes and replacing it with code that can be more generic. Also update some of the comments to better reflect what is actually happenin

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Kyungmin Park
On Wed, May 21, 2008 at 9:39 AM, Philip Balister <[EMAIL PROTECTED]> wrote: > Paul Walmsley wrote: >> >> Hello Kyungmin, >> >> On Wed, 21 May 2008, Kyungmin Park wrote: >> >>> On Wed, May 21, 2008 at 3:21 AM, Paul Walmsley <[EMAIL PROTECTED]> wrote: static void omap_mask_irq(unsigned int

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Paul Mundt
On Tue, May 20, 2008 at 06:12:04PM -0600, Paul Walmsley wrote: > On Wed, 21 May 2008, Kyungmin Park wrote: > > On Wed, May 21, 2008 at 3:21 AM, Paul Walmsley <[EMAIL PROTECTED]> wrote: > > > > > > static void omap_mask_irq(unsigned int irq) > > > { > > > - int offset = (irq >> 5) << 5; > >

Re: [PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Paul Walmsley
Great - thanks everyone for the review, - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] IRQ: simplify OMAP2 mask_irq/unmask_irq code

2008-05-20 Thread Paul Walmsley
Modify mach-omap2/irq.c to simplify the IRQ number-to-IRQ register and IRQ number-to-register bit calculations. Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> Acked-by: Paul Mundt <[EMAIL PROTECTED]> size: textdata bss dec he

Re: [PATCH 0/5] RT: Misc. fixups for ARM/OMAP against 2.6.25.4-rt3

2008-05-20 Thread Luís Vitório Cargnini
well I get the following error in my source code compilation time: à partir de kernel/rtmutex.c:13: include/asm/atomic.h:241:1: attention : « cmpxchg » redéfini Dans le fichier inclus à partir de include/asm/system.h:378, à partir de include/asm/bitops.h:27, à partir de i

[PATCH] ARM: OMAP: Fix compiler error at pm-debug

2008-05-20 Thread Kyungmin Park
Fix compiler error at pm-debug CC arch/arm/mach-omap2/pm-debug.o In file included from arch/arm/mach-omap2/pm-debug.c:30: arch/arm/mach-omap2/prm.h: In function `prm_rmw_reg_bits': arch/arm/mach-omap2/prm.h:107: error: implicit declaration of function `__raw_readl' arch/arm/mach-omap2/prm.

MMC/SD cards hotplug scenario

2008-05-20 Thread Madhusudhan Chikkature Rajashekar
Hi Pierre/All, I have a query regarding one of the MMC/SD cards hotplug use case scenario and its expected behavior. In the case where the MMC/SD card is removed physically from the slot during an active data transfer happening on the card, I notice lot of I/O errors being generated. The number

enabling uart2 on omap5912 osk

2008-05-20 Thread mohammed shareef
Hello, How do i enable UART2 on omap5912_osk in the kernel? and is there a way by which i can test if the uart2 has been recongnised? i dont see uart module being initialized during the kernel boot-up. thank you. regards, Shareef -- To unsubscribe from this list: send the line "unsubscribe lin