Re: [PATCH] omap_hsmmc: Fix for the db clock failure message

2009-08-17 Thread Adrian Hunter
Madhusudhan Chikkature wrote: This patch applies on top of the series "[PATCH V2 0/32] mmc and omap_hsmmc patches" posted by Adrian Hunter. - This patch removes the error message "Failed to get debounce clock.." printed out by the HSMMC driver o

Re: [RFC][PATCH 1/2] OMAP4: sDMA drvier: adding OMAP kConfig option CONFIG_OMAP_DMA_DESCRIPTOR_LOAD

2009-08-17 Thread Venkatraman S
Kevin, On Thu, Aug 13, 2009 at 5:09 AM, Kevin Hilman wrote: > "S, Venkatraman" writes: > >> The hardware feature is available on OMAP4430 and also expected to be >> in OMAP3630. Hence the feature flag will control the inclusion of the >> additional functions. >> >> Addition of omap kconfig option

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Rabin Vincent
On Mon, Aug 17, 2009 at 03:23:18PM -0500, Aguirre Rodriguez, Sergio Alberto wrote: > #ifndef CONFIG_SPARSEMEM > int pfn_valid(unsigned long pfn) > { > struct meminfo *mi = &meminfo; > unsigned int left = 0, right = mi->nr_banks; > > while (left <= right) { This condition will c

RE: Zoom2 Support on LO Master broken ?

2009-08-17 Thread Pandita, Vikram
Hemanth >-Original Message- >From: linux-omap-ow...@vger.kernel.org >[mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of > > >>I am unable to boot from quad uart and if I try uart3 I get the below error > >For quad uart it stops after downloading kernel (ZOOM2 defconfig), probably >r

[PATCH 0/3] *** SUBJECT HERE ***

2009-08-17 Thread Moiz Sonasath
i2c-omap: I2C clean-up patch This patch includes the following fixes: -Fix I2C status ACK -ACK pending [R/X]DR and [R/X]RDY interrupts in the error/completeion path -Enable workaround for Errata 1.153 based on I2C IP block Signed-off-by: Moiz Sonasath Signed-off-by: Vikram Pandita Moiz Sonasat

[PATCH 2/3] i2c-omap: ACK pending [R/X]DR and [R/X]RDY interrupts

2009-08-17 Thread Moiz Sonasath
ACK any pending read/write interrupts before exiting the ISR either after completing the operation [ARDY interrupt] or in case of an error [NACK|AL interrupt] Signed-off-by: Moiz Sonasath Signed-off-by: Vikram Pandita --- drivers/i2c/busses/i2c-omap.c |3 +++ 1 files changed, 3 insertions

[PATCH 3/3] i2c-omap: Enable workaround for Errata 1.153 based on

2009-08-17 Thread Moiz Sonasath
Silicon Errata 1.153 has been fixed on OMAP 3630|4430 with the use of a later version of I2C IP block. The errata impacts OMAP 2420|2430|3430, enable the workaround for these based on I2C IP block revision number instead of OMAP CPU type Signed-off-by: Moiz Sonasath Signed-off-by: Vikram Pandit

[PATCH 1/3] i2c-omap: Fix I2C status ACK

2009-08-17 Thread Moiz Sonasath
From: Nishanth Menon I2C status ack for [RX]RDR and [RX]RDY could cause race conditions of clearing the event twice and a violation of the programing sequence as defined in TRM This patch fixes the same. Signed-off-by: Nishanth Menon Signed-off-by: Moiz Sonasath --- drivers/i2c/busses/i2c-oma

[PATCH 3/3] i2c-omap: Enable workaround for Errata 1.153 based on

2009-08-17 Thread n
From: Moiz Sonasath Silicon Errata 1.153 has been fixed on OMAP 3630|4430 with the use of a later version of I2C IP block. The errata impacts OMAP 2420|2430|3430, enable the workaround for these based on I2C IP block revision number instead of OMAP CPU type Signed-off-by: Moiz Sonasath Signed

[PATCH 0/3] *** SUBJECT HERE ***

2009-08-17 Thread n
From: Moiz Sonasath i2c-omap: I2C clean-up patch This patch includes the following fixes: -Fix I2C status ACK -ACK pending [R/X]DR and [R/X]RDY interrupts in the error/completeion path -Enable workaround for Errata 1.153 based on I2C IP block Signed-off-by: Moiz Sonasath Signed-off-by: Vikram

[PATCH 2/3] i2c-omap: ACK pending [R/X]DR and [R/X]RDY interrupts

2009-08-17 Thread n
From: Moiz Sonasath ACK any pending read/write interrupts before exiting the ISR either after completing the operation [ARDY interrupt] or in case of an error [NACK|AL interrupt] Signed-off-by: Moiz Sonasath Signed-off-by: Vikram Pandita --- drivers/i2c/busses/i2c-omap.c |3 +++ 1 files

[PATCH 1/3] i2c-omap: Fix I2C status ACK

2009-08-17 Thread n
From: Nishanth Menon I2C status ack for [RX]RDR and [RX]RDY could cause race conditions of clearing the event twice and a violation of the programing sequence as defined in TRM This patch fixes the same. Signed-off-by: Nishanth Menon Signed-off-by: Moiz Sonasath --- drivers/i2c/busses/i2c-oma

[PATCH] omap_hsmmc: Fix for the db clock failure message

2009-08-17 Thread Madhusudhan Chikkature
Hi, This patch applies on top of the series "[PATCH V2 0/32] mmc and omap_hsmmc patches" posted by Adrian Hunter. Regards, Madhu - This patch removes the error message "Failed to get debounce clock.." printed out by the HSMMC driver on OMAP3430.

Re: MUSB regression in 2.6.31-rc6

2009-08-17 Thread ewitcher
Hello, The below referenced patch was helpful to me in resolving the <3>twl4030_usb twl4030_usb: ldo init failed error. Examining the minicom.cap attachment, I can see that twl4030_usb is initialized before regulator. If you move the twl4030_usb initialization to after regulator, you should

RE: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Aguirre Rodriguez, Sergio Alberto
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Russell King - ARM Linux > Sent: Monday, August 17, 2009 1:05 PM > To: Rabin Vincent > Cc: Syed Mohammed, Khasim; linux-arm-ker...@lists.arm.linux.org.uk; linux- > o...@

Question(s) regarding OMAP3 PM and PBIAS

2009-08-17 Thread Peter Barada
Kevin (et al), I have a OMAP35x board that I've done a quick-n-dirty port of 2.6.31-rc5 from Kevin's PM branch (cgit ID 70a1f2249bbe765f78cf5e220e4e3f539b41eb7f), and using the rx51 as a starting pint, added support for the Logic OMAP35x SOM, and using omap3_pm_config defconfig (with my platform a

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2009 at 11:31:45PM +0530, Rabin Vincent wrote: > When mid == 0, the loop exits because the condition you have is : > > while ((mid = (right - left) / 2) > 0) { > ^^ > > Thus bank[0] will never be checked. Ah yes, right. Damn it. Oh well,

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Rabin Vincent
On Mon, Aug 17, 2009 at 06:47:18PM +0100, Russell King - ARM Linux wrote: > On Mon, Aug 17, 2009 at 11:03:44PM +0530, Rabin Vincent wrote: > > On Sat, Aug 15, 2009 at 07:17:11PM +0100, Russell King - ARM Linux wrote: > > > +#ifndef CONFIG_SPARSEMEM > > > +int pfn_valid(unsigned long pfn) > > > +{ >

Duplicate devkit8000 machine database entry

2009-08-17 Thread Russell King - ARM Linux
For people's information: Today, someone has added a new devkit8000 entry for OMAP3 with a useful description of "nothing". I'm expiring this entry right now - the machine database isn't supposed to have multiple entries for the same platform. Please ensure that no code is merged which reference

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2009 at 11:03:44PM +0530, Rabin Vincent wrote: > On Sat, Aug 15, 2009 at 07:17:11PM +0100, Russell King - ARM Linux wrote: > > +#ifndef CONFIG_SPARSEMEM > > +int pfn_valid(unsigned long pfn) > > +{ > > + struct meminfo *mi = &meminfo; > > + unsigned int mid, left = 0, right = mi

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Paul Walmsley
Hello Russell, On Mon, 17 Aug 2009, Russell King - ARM Linux wrote: > On Mon, Aug 17, 2009 at 04:06:44AM -0600, Paul Walmsley wrote: > > > > On Mon, 17 Aug 2009, Russell King - ARM Linux wrote: > > > > > On Mon, Aug 17, 2009 at 03:14:45AM -0600, Paul Walmsley wrote: > > > > What it does remove

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Rabin Vincent
On Sat, Aug 15, 2009 at 07:17:11PM +0100, Russell King - ARM Linux wrote: > +#ifndef CONFIG_SPARSEMEM > +int pfn_valid(unsigned long pfn) > +{ > + struct meminfo *mi = &meminfo; > + unsigned int mid, left = 0, right = mi->nr_banks; > + > + while ((mid = (right - left) / 2) > 0) { > +

RE: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Syed Mohammed, Khasim
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Monday, August 17, 2009 10:21 PM > To: Syed Mohammed, Khasim > Cc: linux-arm-ker...@lists.arm.linux.org.uk; linux-omap@vger.kernel.org > Subject: Re: Exception while handling MEM Hole on OMAP3 /

Re: Pull request for OMAP PM, clock, SDRC 2.6.32 patches

2009-08-17 Thread Russell King - ARM Linux
On Sun, Aug 16, 2009 at 07:45:59AM -0600, Paul Walmsley wrote: > > Hello Russell, > > Here's the pull request for the thirteen patches posted earlier, plus > Hiroshi's clock debugfs error path fix. I'm afraid to say that I think you've left it far too late to send this. I did set a date of the

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2009 at 04:06:44AM -0600, Paul Walmsley wrote: > Hello Russell, > > On Mon, 17 Aug 2009, Russell King - ARM Linux wrote: > > > On Mon, Aug 17, 2009 at 03:14:45AM -0600, Paul Walmsley wrote: > > > What it does remove is the need for internal core code to fake up a > > > struct >

Re: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2009 at 04:40:27PM +0530, Syed Mohammed, Khasim wrote: > This patch seem to be working, I don't see any dump like before. Great. > Can you please advice on how to get this patch into kernel? I mean, > will you be handling it or we need to re-submit them with your signed off? Yes,

RE: Linux-omap PM: Fix dead lock condition in resource_release(vdd1_opp)

2009-08-17 Thread Wang Limei-E12499
Seems like I did not submit the patch in the right way, before I setup my mail correctly, attach the patches in the mail. PATCH1:0001-Add-per-resource-mutex-for-OMAP-resource-framework.patch >From b4e9cc01f9d1aaeec39cc1ee794e5efaec61c781 Mon Sep 17 00:00:00 2001 From: Chunqiu Wang Date: Fri, 14

RE: [PATCH] Fix mismatched ifdefs

2009-08-17 Thread Premi, Sanjeev
> -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Monday, August 17, 2009 8:15 PM > To: Premi, Sanjeev > Cc: linux-omap@vger.kernel.org > Subject: Re: [PATCH] Fix mismatched ifdefs > > * Sanjeev Premi [090817 13:59]: > > The #endif at end of the file was mis

Re: [PATCHv4 16/20] ASoC: OMAP: Enable DMA burst mode

2009-08-17 Thread Eduardo Valentin
Hi Tony On Mon, Aug 17, 2009 at 04:01:29PM +0200, ext Tony Lindgren wrote: > * Jarkko Nikula [090817 16:23]: > > On Mon, 17 Aug 2009 14:51:15 +0300 > > Eduardo Valentin wrote: > > > > > From: Eduardo Valentin > > > > > > Signed-off-by: Eduardo Valentin > > > --- > > > sound/soc/omap/omap-pc

[PATCHv4 15/20] ASoC: OMAP: Make DMA 64 aligned

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Align DMA address to DMA burst transaction sizes. Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-pcm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index dd9e728..f769a52 100644

Re: [PATCH] Fix mismatched ifdefs

2009-08-17 Thread Tony Lindgren
* Sanjeev Premi [090817 13:59]: > The #endif at end of the file was missing. However, an > additional #else ... #endif was causing the compiler to > keep going. > > The problem was found when compiler started reporting > the newly added inline functions were being reported as > redeclared by the

[PATCH] ASoC: OMAP: Enable DMA burst mode

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Improve DMA transfers by enabling Burst transaction. Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-pcm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index eab4533..b9633d5 1006

[PATCH][PM] ARM: OMAP34xx: Fix compilation warning

2009-08-17 Thread Aguirre Rodriguez, Sergio Alberto
From: Sergio Aguirre This fixes the following compilation warnings: In file included from arch/arm/mach-omap2/resource34xx.c:26: arch/arm/mach-omap2/resource34xx.h:32: warning: function declaration isn't a prototype arch/arm/mach-omap2/resource34xx.h:33: warning: function declaration isn't a p

[PATCHv4 20/20] ASoC: OMAP: Use DMA operating mode of McBSP

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Configures DMA sync mode depending on McBSP operating mode value. The value is configurable by McBSP instance. So, depending on McBSP operating mode, the DMA sync mode is passed from omap-mcbsp to omap-pcm. Besides that, it also configures McBSP threshold value depending on

[PATCHv4 02/20] OMAP: McBSP: Add IRQEN, IRQSTATUS, THRESHOLD2 and THRESHOLD1 registers.

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Adding McBSP register definition for IRQEN, IRQSTATUS, THRESHOLD2 and THRESHOLD1 registers. Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/include/mach/mcbsp.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include

[PATCHv5 03/20] OMAP: McBSP: Use appropriate value for startup delay

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Increasing startup delay value as worst case: CLKSRG*2 = 8000khz: (1/8000) * 2 * 2 usec Although, 100us may give enough time for two CLKSRG, due to some unknown PM related, clock gating etc. reason, this patch increases it to 500us. Signed-off-by: Eduardo Valentin ---

Re: [PATCHv4 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Jarkko Nikula
On Mon, 17 Aug 2009 14:50:59 +0300 Eduardo Valentin wrote: > Hello again guys, > > Here is version 4 of these changes. No real changes from previous versions. > The only thing is that now I've rebased on top of Takashi's tree: > http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=sum

[PATCH 3/3] MFD: TWL4030: OMAP: Board-specifc DPS scripts for RX51 board

2009-08-17 Thread Amit Kucheria
Add support for Dynamic Power Switching (DPS) for the RX51 board. These scripts are still a work-in-progress. I'll keep sending patches to update the scripts as they are optimised. Signed-off-by: Amit Kucheria Cc: sa...@linux.intel.com Cc: t...@atomide.com Cc: dbrown...@users.sourceforge.net Cc:

Re: [PATCHv4 20/20] ASoC: OMAP: Use DMA operating mode of McBSP

2009-08-17 Thread Tony Lindgren
* Eduardo Valentin [090817 15:06]: > From: Eduardo Valentin And this one too. > Signed-off-by: Eduardo Valentin > --- > sound/soc/omap/omap-mcbsp.c | 18 +++--- > 1 files changed, 15 insertions(+), 3 deletions(-) > > diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/om

[PATCH 2/3] MFD: TWL4030: print warning for out-of-order script loading

2009-08-17 Thread Amit Kucheria
When the sleep script is loaded before the wakeup script, there is a chance that the system might go to sleep before the wakeup script loading is completed. This will lead to a system that does not wakeup and has been observed to cause non-booting boards. Various options were considered to solve t

[PATCH 1/3] MFD: TWL4030: Add support for TWL4030/5030 dynamic power switching

2009-08-17 Thread Amit Kucheria
The TWL4030/5030 family of multifunction devices allows board-specific control of the the various regulators, clock and reset lines through 'scripts' that are loaded into its memory. This allows for Dynamic Power Switching (DPS). Implement board-independent core support for DPS that is then used b

Re: [PATCHv4 16/20] ASoC: OMAP: Enable DMA burst mode

2009-08-17 Thread Tony Lindgren
* Jarkko Nikula [090817 16:23]: > On Mon, 17 Aug 2009 14:51:15 +0300 > Eduardo Valentin wrote: > > > From: Eduardo Valentin > > > > Signed-off-by: Eduardo Valentin > > --- > > sound/soc/omap/omap-pcm.c |3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > > > diff --git a/sou

Re: [PATCHv4 15/20] ASoC: OMAP: Make DMA 64 aligned

2009-08-17 Thread Tony Lindgren
* Eduardo Valentin [090817 15:06]: > From: Eduardo Valentin Description? > Signed-off-by: Eduardo Valentin > --- > sound/soc/omap/omap-pcm.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c > index dd9e728

Re: [PATCHv4 03/20] OMAP: McBSP: Use appropriate value for startup delay

2009-08-17 Thread Tony Lindgren
* Eduardo Valentin [090817 15:06]: > From: Eduardo Valentin This too is missing a description. Tony > Signed-off-by: Eduardo Valentin > --- > arch/arm/plat-omap/mcbsp.c |8 +++- > 1 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/ar

Re: [Linux-fbdev-devel] Getting DSS2 to mainline

2009-08-17 Thread Geert Uytterhoeven
On Mon, Aug 17, 2009 at 14:17, Florian Tobias Schandinat wrote: > Tomi Valkeinen schrieb: >> As I'm new to sending patches upstream, I'm not sure how to go forward >> with DSS2 now. Should I send it to linux-arm-kernel mailing list, or >> directly to main linux kernel mailing list? Or is there a ro

Re: [PATCHv4 02/20] OMAP: McBSP: Add IRQEN, IRQSTATUS, THRESHOLD2 and THRESHOLD1 registers.

2009-08-17 Thread Tony Lindgren
* Eduardo Valentin [090817 15:06]: > From: Eduardo Valentin Needs a description. Tony > Signed-off-by: Eduardo Valentin > --- > arch/arm/plat-omap/include/mach/mcbsp.h |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/plat-omap/include/mach/mcbsp.h

Re: Getting DSS2 to mainline

2009-08-17 Thread Tony Lindgren
* Tomi Valkeinen [090817 14:25]: > Hi, > > As I'm new to sending patches upstream, I'm not sure how to go forward > with DSS2 now. Should I send it to linux-arm-kernel mailing list, or > directly to main linux kernel mailing list? Or is there a route through > fbdev-devel list for DSS2 to go

Re: [PATCHv4 16/20] ASoC: OMAP: Enable DMA burst mode

2009-08-17 Thread Jarkko Nikula
On Mon, 17 Aug 2009 14:51:15 +0300 Eduardo Valentin wrote: > From: Eduardo Valentin > > Signed-off-by: Eduardo Valentin > --- > sound/soc/omap/omap-pcm.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c > in

Re: MUSB regression in 2.6.31-rc6

2009-08-17 Thread Kalle Valo
Jarkko Nikula writes: > By some reason CONFIG_OMAP_LL_DEBUG_UART3=y and CONFIG_DEBUG_LL=y > don't work in mainline so hard to trace what is make an oops. You need to apply this patch manually: http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commitdiff;h=73e5b252eb179f601f2

Re: Zoom2 Support on LO Master broken ?

2009-08-17 Thread Hemanth V
- Original Message - From: "Hemanth V" To: Sent: Monday, August 17, 2009 5:48 PM Subject: Zoom2 Support on LO Master broken ? I am unable to boot from quad uart and if I try uart3 I get the below error For quad uart it stops after downloading kernel (ZOOM2 defconfig), probably rel

Re: [Linux-fbdev-devel] Getting DSS2 to mainline

2009-08-17 Thread Florian Tobias Schandinat
Hi, Tomi Valkeinen schrieb: Hi, As I'm new to sending patches upstream, I'm not sure how to go forward with DSS2 now. Should I send it to linux-arm-kernel mailing list, or directly to main linux kernel mailing list? Or is there a route through fbdev-devel list for DSS2 to go forward? I am

[PATCHv4 01/20] OMAP: McBSP: Provide functions for ASoC frame syncronization

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala ASoC has an annoying bug letting either L or R channel to be played on L channel. In other words, L and R channels can switch at random. This provides McBSP funtionality that may be used to fix this feature. Signed-off-by: Eero Nurkkala --- arch/arm/plat-omap/include/mach/m

[PATCHv4 18/20] ASoC: Always syncronize audio transfers on frames

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala All these steps are required for ASoC to behave correctly. rccr and xccr are format dependent, for example TDM audio has different values than I2S or DSP_A. Also the omap_mcbsp_xmit_enable and/or omap_mcbsp_recv_enable must be called right after the DMA has started. This provi

[PATCHv4 16/20] ASoC: OMAP: Enable DMA burst mode

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-pcm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index f769a52..f037db0 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/oma

[PATCHv4 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Eduardo Valentin
Hello again guys, Here is version 4 of these changes. No real changes from previous versions. The only thing is that now I've rebased on top of Takashi's tree: http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=summary as there are pending things there which Jarkko has pointed on pre

[PATCHv4 07/20] OMAP: McBSP: Rename thres sysfs symbols

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin This patch renames the symbols that handles threshold sysfs properties. This way we can add more sysfs properties to them. Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/mcbsp.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff

[PATCHv4 17/20] ASoC: Add runtime check for RFIG and XFIG

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala This is, no RFIG or XFIG (Not defined in 34xx), correct initiliazation of rccr and xccr. Signed-off-by: Eero Nurkkala --- sound/soc/omap/omap-mcbsp.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/

[PATCHv4 14/20] OMAP: McBSP: Let element DMA mode hit retention also

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala The device no longer hits retention if element DMA mode is taken for at least the duration of the serial console timeout. Force element DMA mode to shut down through smartidle. Signed-off-by: Eero Nurkkala Acked-by: Eduardo Valentin --- arch/arm/plat-omap/mcbsp.c |9 ++

[PATCHv4 20/20] ASoC: OMAP: Use DMA operating mode of McBSP

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-mcbsp.c | 18 +++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c index 2aec7a6..60c360b 100644 --- a/sound/soc/omap/omap-mcb

[PATCHv4 08/20] OMAP: McBSP: Add link DMA mode selection

2009-08-17 Thread Eduardo Valentin
From: Peter Ujfalusi It adds a new sysfs file, where the user can configure the mcbsp mode to use. If the mcbsp channel is in use, it does not allow the change. Than in omap_pcm_open we can call the omap_mcbsp_get_opmode to get the mode, store it, than use it to implement the different modes. Si

[PATCHv4 05/20] OMAP: McBSP: Create and export max_(r|t)x_thres property

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin This patch export through sysfs two properties to configure maximum threshold for transmission and reception on each mcbsp instance. Also, it exports two helper functions to allow mcbsp users to read this values. Signed-off-by: Eduardo Valentin --- arch/arm/mach-omap2/mc

[PATCHv4 12/20] OMAP: McBSP: Configure NO IDLE mode for DMA mode different of threshold

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Use dma mode property to configure NO IDLE or SMART IDLE of McBSPs. Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/mcbsp.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c in

[PATCHv4 06/20] OMAP3: McBSP: Lower the maximum buffersize for McBSP1,3,4,5

2009-08-17 Thread Eduardo Valentin
From: Peter Ujfalusi Do not allow applications to use the full buffer found on McBSP1,3,4,5. Using the full buffer in threshold mode causes the McBSP buffer to run dry, which can be observed as channels are switching (in reality the channels are shifting). Signed-off-by: Peter Ujfalusi --- arc

[PATCHv4 15/20] ASoC: OMAP: Make DMA 64 aligned

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Signed-off-by: Eduardo Valentin --- sound/soc/omap/omap-pcm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c index dd9e728..f769a52 100644 --- a/sound/soc/omap/omap-pcm.c +++ b/sound/soc/om

[PATCHv4 10/20] OMAP: McBSP: Change wakeup signals

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Configure only XRDYEN and RRDYEN wakeup signals in order to get better power consumption. Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/include/mach/mcbsp.h |3 --- arch/arm/plat-omap/mcbsp.c |7 ++- 2 files changed, 2 insertions(+), 8 d

[PATCHv4 13/20] OMAP: McBSP: Do not enable wakeups for no-idle mode

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala When no-idle mode is taken, wakeups need not to be enabled. Moreover, CLOCKACTIVITY bits are unnecessary with this mode also. Signed-off-by: Eero Nurkkala Acked-by: Eduardo Valentin --- arch/arm/plat-omap/mcbsp.c | 13 +++-- 1 files changed, 7 insertions(+), 6 de

[PATCHv4 19/20] ASoC: OMAP: Use McBSP threshold to playback and capture

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin This patch changes the way DMA is done in omap-pcm.c in order to reduce power consumption. There is no need to have so much SW control in order to have DMA in idle state during audio streaming. Configuring McBSP threshold value and DMA to FRAME_SYNC are sufficient. Signed-

[PATCHv4 03/20] OMAP: McBSP: Use appropriate value for startup delay

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/mcbsp.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 0aa2524..e9dd703 100644 --- a/arch/arm/plat-omap/mcbsp.c +++ b/arch

[PATCHv4 09/20] OMAP: McBSP: Wakeups utilized

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala This patch enables the smart idle mode while McBPS is being utilized. Once it's done, force idle mode is taken instead. Apart of it, it also configures what signals will wake mcbsp up. Signed-off-by: Eero Nurkkala Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/incl

[PATCHv4 11/20] OMAP: McBSP: Retain McBSP FCLK clockactivity

2009-08-17 Thread Eduardo Valentin
From: Eero Nurkkala FCLK may get autogated so that it prevents the McBSP to work properly. It is the bit 9 that must be set for maintaining the McBSP FCLK. Signed-off-by: Eero Nurkkala Signed-off-by: Eduardo Valentin Acked-by: Jarkko Nikula --- arch/arm/plat-omap/include/mach/mcbsp.h |1

[PATCHv4 04/20] OMAP: McBSP: Add transmit/receive threshold handler

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin This patch adds a way to handle transmit/receive threshold. It export to mcbsp users a callback registration procedure. Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/include/mach/mcbsp.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --

[PATCHv4 02/20] OMAP: McBSP: Add IRQEN, IRQSTATUS, THRESHOLD2 and THRESHOLD1 registers.

2009-08-17 Thread Eduardo Valentin
From: Eduardo Valentin Signed-off-by: Eduardo Valentin --- arch/arm/plat-omap/include/mach/mcbsp.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/mach/mcbsp.h b/arch/arm/plat-omap/include/mach/mcbsp.h index b85e6e6..ceaf9ee 100644 --- a/a

Re: [alsa-devel] [PATCHv3 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Eduardo Valentin
On Mon, Aug 17, 2009 at 01:52:58PM +0200, ext Mark Brown wrote: > On Mon, Aug 17, 2009 at 02:36:59PM +0300, Eduardo Valentin wrote: > > > Cool. I've rebased and tested the series with beagle using Takashi's tree. > > I'm about to send version #4 based on his tree then. Forgot to mention that I've

Re: [alsa-devel] [PATCHv3 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Mark Brown
On Mon, Aug 17, 2009 at 02:36:59PM +0300, Eduardo Valentin wrote: > Cool. I've rebased and tested the series with beagle using Takashi's tree. > I'm about to send version #4 based on his tree then. Please could you use --no-chain-reply-to when sending? It works a lot better with threaded mail re

Re: [PATCHv3 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Eduardo Valentin
On Mon, Aug 17, 2009 at 11:07:37AM +0200, Jarkko Nikula wrote: > On Mon, 17 Aug 2009 11:22:30 +0300 > Peter Ujfalusi wrote: > > > On Thursday 13 August 2009 17:35:13 Valentin Eduardo (Nokia-D/Helsinki) > > wrote: > > > Hello again guys, > > > > > > Here is version 3 of these changes. I've change

[PATCH v2] Runtime detection of Si features

2009-08-17 Thread Sanjeev Premi
The OMAP35x family has multiple variants differing in the HW features. This patch detects these features at runtime and prints information during the boot. Since most of the code seemed repetitive, macros have been used for readability. Signed-off-by: Sanjeev Premi --- arch/arm/mach-omap2/id.c

Re: [PATCH 3/3] MFD: TWL4030: OMAP: Board-specifc DPS scripts for RX51 board

2009-08-17 Thread Amit Kucheria
On 09 Aug 04, Samuel Ortiz wrote: > Hi Amit, > > On Wed, Jul 08, 2009 at 01:49:39PM +0300, Amit Kucheria wrote: > > Add support for Dynamic Power Switching (DPS) for the RX51 board. > Could I have an Acked-by from Tony or someone from Nokia maintaining this > board (e.g. Lauri) ? > I'll cc Tony

Re: [PATCH 2/3] MFD: TWL4030: print warning for out-of-order script loading

2009-08-17 Thread Amit Kucheria
On 09 Aug 04, Samuel Ortiz wrote: > Hi Amit, > > On Wed, Jul 08, 2009 at 01:49:35PM +0300, Amit Kucheria wrote: > > When the sleep script is loaded before the wakeup script, there is a > > chance that the system might go to sleep before the wakeup script > > loading is completed. This will lead to

Re: [PATCH 1/3] MFD: TWL4030: Add support for TWL4030/5030 dynamic power switching

2009-08-17 Thread Amit Kucheria
Hi Samuel, On 09 Aug 04, Samuel Ortiz wrote: > Hi Amit, > > My apologies for the late answer, but I'm going through my mail backlog after > a 3 weeks holidays. And you replied just when I was away :) Replies inline. Refreshed patchset follows in a new thread. > On Wed, Jul 08, 2009 at 01:49:

Getting DSS2 to mainline

2009-08-17 Thread Tomi Valkeinen
Hi, As I'm new to sending patches upstream, I'm not sure how to go forward with DSS2 now. Should I send it to linux-arm-kernel mailing list, or directly to main linux kernel mailing list? Or is there a route through fbdev-devel list for DSS2 to go forward? Tomi -- To unsubscribe from this l

RE: [PATCH] Runtime detection of Si features

2009-08-17 Thread Premi, Sanjeev
> -Original Message- > From: Menon, Nishanth > Sent: Thursday, August 13, 2009 11:29 PM > To: Kevin Hilman > Cc: Pandita, Vikram; Premi, Sanjeev; linux-omap@vger.kernel.org > Subject: Re: [PATCH] Runtime detection of Si features > > Nishanth Menon had written, on 08/13/2009 11:43 AM, t

RE: Exception while handling MEM Hole on OMAP3 / ARM Cortex A8

2009-08-17 Thread Syed Mohammed, Khasim
Hi Russell, > -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Saturday, August 15, 2009 11:47 PM > To: Syed Mohammed, Khasim > Cc: linux-arm-ker...@lists.arm.linux.org.uk; linux-omap@vger.kernel.org > Subject: Re: Exception while handling MEM Hol

[PATCH] Fix mismatched ifdefs

2009-08-17 Thread Sanjeev Premi
The #endif at end of the file was missing. However, an additional #else ... #endif was causing the compiler to keep going. The problem was found when compiler started reporting the newly added inline functions were being reported as redeclared by the compiler. Signed-off-by: Sanjeev Premi --- a

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Tony Lindgren
* Paul Walmsley [090817 13:06]: > Hello Russell, > > On Mon, 17 Aug 2009, Russell King - ARM Linux wrote: > > > On Mon, Aug 17, 2009 at 03:14:45AM -0600, Paul Walmsley wrote: > > > What it does remove is the need for internal core code to fake up a > > > struct > > > device simply to access a

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Paul Walmsley
Hello Russell, On Mon, 17 Aug 2009, Russell King - ARM Linux wrote: > On Mon, Aug 17, 2009 at 03:14:45AM -0600, Paul Walmsley wrote: > > What it does remove is the need for internal core code to fake up a struct > > device simply to access a clock. It also allows us to harmonize the > > clock

Re: [PATCH 3/3 v3] ASoC: OMAP: Enhance OMAP1510 DMA progress software counter

2009-08-17 Thread Mark Brown
On Mon, Aug 17, 2009 at 12:26:05PM +0300, Jarkko Nikula wrote: > I'm fine with this 3rd version. Probably Mark would like to have git > format-patch formatted version for avoiding manual commit log editing. > Acked-by: Jarkko Nikula Applied both 2-3, thanks. -- To unsubscribe from this list: se

RE: [RFC][PATCH 0/4] TWL6030 patch series

2009-08-17 Thread Krishnamoorthy, Balaji T
> -Original Message- > From: Samuel Ortiz [mailto:sa...@linux.intel.com] > On Mon, Aug 17, 2009 at 10:46:55AM +0530, Krishnamoorthy, Balaji T wrote: > > > From: Samuel Ortiz [mailto:sa...@linux.intel.com] > > > * Why are you moving twl_init_irq and twl_exit_irq to twl.h ? > > > > > twl_init

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Russell King - ARM Linux
On Mon, Aug 17, 2009 at 03:14:45AM -0600, Paul Walmsley wrote: > What it does remove is the need for internal core code to fake up a struct > device simply to access a clock. It also allows us to harmonize the > clock names, used internally in core code, with the hardware reality, > which uses

Re: [PATCH 3/3 v3] ASoC: OMAP: Enhance OMAP1510 DMA progress software counter

2009-08-17 Thread Jarkko Nikula
On Tue, 11 Aug 2009 21:44:29 +0200 Janusz Krzysztofik wrote: > Enhance period_index accuracy, particularly just before buffer rewind, by > making use of DMA interrupt status flags in addition to simply counting up > interrupts. > > Changes since v2: > > > > -   } > > > > +   } else if (stat == O

Re: [RFC][PATCH 2/3] ASoC: OMAP: Make use of DMA channel self linking on OMAP1510

2009-08-17 Thread Jarkko Nikula
On Mon, 10 Aug 2009 10:50:04 +0200 Janusz Krzysztofik wrote: > Use newly implemented DMA channel self linking on OMAP1510 like on other OMAP > models. Remove unnecessary DMA transfer restart from interrupt handler > routine. > > The interrupt routine used to maintain a period index, originally n

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Paul Walmsley
Hi Tony, On Mon, 17 Aug 2009, Tony Lindgren wrote: > * Paul Walmsley [090815 14:26]: > > After the clkdev conversion, struct clk .name fields are free to be > > unique and to reflect the underlying hardware naming convention. This > > is important since it is useful for some core code that is u

Re: [RFC][PATCH 1/3] ARM: OMAP: DMA: Add support for DMA channel self linking on OMAP1510

2009-08-17 Thread Jarkko Nikula
On Mon, 10 Aug 2009 10:50:00 +0200 Janusz Krzysztofik wrote: > Implement DMA channel self linking on OMAP1510 using AUTO_INIT and REPEAT > flags of the DMA CCR register. > > Created against linux-2.6.31-rc5. > > Tested on Amstrad Delta. > > Signed-off-by: Janusz Krzysztofik > Tony, I'm fine

Re: [RFC][PATCH 0/4] TWL6030 patch series

2009-08-17 Thread Samuel Ortiz
On Mon, Aug 17, 2009 at 10:46:55AM +0530, Krishnamoorthy, Balaji T wrote: > > -Original Message- > > From: Samuel Ortiz [mailto:sa...@linux.intel.com] > > Sent: Monday, August 17, 2009 5:30 AM > > To: Krishnamoorthy, Balaji T > > Cc: linux-omap@vger.kernel.org; t...@atomide.com; > > khil..

Re: [PATCHv3 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Jarkko Nikula
On Mon, 17 Aug 2009 11:22:30 +0300 Peter Ujfalusi wrote: > On Thursday 13 August 2009 17:35:13 Valentin Eduardo (Nokia-D/Helsinki) wrote: > > Hello again guys, > > > > Here is version 3 of these changes. I've changed just 2 > > things: > > - all mcbsp instances are in element mode by default > >

Re: [PATCH 04/13] OMAP2/3 clock: ensure each clock has a unique name

2009-08-17 Thread Tony Lindgren
* Paul Walmsley [090815 14:26]: > After the clkdev conversion, struct clk .name fields are free to be > unique and to reflect the underlying hardware naming convention. This > is important since it is useful for some core code that is unrelated > to the platform_device subsystem, such as the cloc

Re: [PATCHv3 00/20] OMAP ASoC changes in DMA utilization

2009-08-17 Thread Peter Ujfalusi
On Thursday 13 August 2009 17:35:13 Valentin Eduardo (Nokia-D/Helsinki) wrote: > Hello again guys, > > Here is version 3 of these changes. I've changed just 2 > things: > - all mcbsp instances are in element mode by default > - moved all mcbsp related code to omap-mcbsp.c > (although a single callb

RE: [PATCH] Runtime detection of Si features

2009-08-17 Thread Premi, Sanjeev
> -Original Message- > From: Kevin Hilman [mailto:khil...@deeprootsystems.com] > Sent: Thursday, August 13, 2009 9:43 PM > To: Premi, Sanjeev > Cc: linux-omap@vger.kernel.org > Subject: Re: [PATCH] Runtime detection of Si features > > Sanjeev Premi writes: > > > The OMAP35x family has m

Re: [PATCHv2] OMAP3: PM: Ensure MUSB is accessible before we attempt to reset it

2009-08-17 Thread Tony Lindgren
* Kevin Hilman [090814 21:11]: > Jon Hunter writes: > > > Kevin Hilman wrote: > >> Jon, you're raising the bar and spoiling us with such descriptive > >> changelogs. If everyone was as thorough as you, the world would be a > >> merrier place. :) > >> > >> Thanks, pushing to PM branch and pm-2.6

Re: [PATCH 10/10] OMAP: PM: Added suspend target state control to debugfs for OMAP3

2009-08-17 Thread Tony Lindgren
* Kevin Hilman [090813 19:54]: > From: Tero Kristo > > Target state can be read / programmed via files under: > [debugfs]/pm_debug/[pwrdm]/suspend Does this compile when CONFIG_DEBUG_FS is not set? Tony > > Signed-off-by: Tero Kristo > Signed-off-by: Kevin Hilman > --- > arch/arm/mach

Re: [PATCH 09/10] OMAP3: Add debug observablity (debobs) Kconfig item

2009-08-17 Thread Tony Lindgren
* Kevin Hilman [090813 19:53]: > From: Peter 'p2' De Schrijver > > Signed-off-by: Peter 'p2' De Schrijver > Signed-off-by: Kevin Hilman > --- > arch/arm/mach-omap2/Makefile |3 +++ > arch/arm/plat-omap/Kconfig |7 +++ > 2 files changed, 10 insertions(+), 0 deletions(-) > > diff

  1   2   >