[PATCH v2] ARM: OMAP: SDMA: Fix omap_stop_dma() API for channel linking

2009-10-15 Thread Santosh Shilimkar
OMAP sDMA driver API omap_stop_dma() doesn't really stop the dma when used in linking scenario. This patch fixes the same. Signed-off-by: Santosh Shilimkar Signed-off-by: Venkatraman S Reviewed-By: Tony Lindgren CC: Hari n CC: Jarkko Nikula --- arch/arm/plat-omap/dma.c |5 + 1 files

Re: [PATCH] OMAP3: Fix McBSP poll read and write for 32bit reg access

2009-10-15 Thread Peter Ujfalusi
On Thursday 15 October 2009 09:10:54 ext Shilimkar, Santosh wrote: > > > > > > - writew(buf, base + OMAP_MCBSP_REG_DXR1); > > > > > > + OMAP_MCBSP_WRITE(base, DXR, buf); > > > > > > > > > > Why do you need this? Is writew()/readw() not doing 16 bit > > > > > operations ? > > > > > > > > The in

RE: [PATCH] OMAP3: Fix McBSP poll read and write for 32bit reg access

2009-10-15 Thread Shilimkar, Santosh
Charu, > -Original Message- > From: Peter Ujfalusi [mailto:peter.ujfal...@nokia.com] > Sent: Thursday, October 15, 2009 12:56 PM > To: Shilimkar, Santosh > Cc: Varadarajan, Charu Latha; linux-omap@vger.kernel.org; Syed, Rafiuddin > Subject: Re: [PATCH] OMAP3: Fix McBSP poll read and write f

Re: [alsa-devel] [PATCH 5/8] board-rx51-peripherals: split vaux3 and vmmc2 supplies

2009-10-15 Thread Mark Brown
On Wed, Oct 14, 2009 at 10:15:48AM -0700, Tony Lindgren wrote: > * Mark Brown [091012 02:18]: > > On Mon, Oct 12, 2009 at 11:08:58AM +0300, Eduardo Valentin wrote: > > > I'm afraid using dev_name is not that easy. The mmc driver generates > > > device > > > name at runtime. That's why this board

RE: [PATCH v2] OMAP3: introduce OMAP3630

2009-10-15 Thread Pais, Allen
Muxes for OMAP 3630. Signed-off-by: Allen Pais diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index b5fac32..93abb74 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -551,6 +551,42 @@ MUX_CFG_34XX("AF13_3430_MMC3_DAT3", 0x5e2, MUX_CFG_34XX("AF26_34XX_

[RFC][Patch V1] OMAP3: Mux Changes.

2009-10-15 Thread Pais, Allen
Please ignore my previous mail. Muxes for OMAP 3630. Signed-off-by: Allen Pais diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index b5fac32..93abb74 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -551,6 +551,42 @@ MUX_CFG_34XX("AF13_3430_MMC3_DAT3

RE: [PATCH V2] OMAP3: PM: Fix for MPU power domain MEM BANK position

2009-10-15 Thread Gopinath, Thara
Thanks Paul. The bit positions are goofed up only in PWRSTS and PREPWRSTS not in PWSTCTRL register. As per the approach you have suggested below, if we change the mem bank number from 0 to 1 , we will have to change the logic for read/write into PWSTCTRL for mpu pwr domain. Regards Thara >>---

RE: [PATCH v2] OMAP3: introduce OMAP3630

2009-10-15 Thread Hemanth V
> Muxes for OMAP 3630. What is the plan to add omap_cfg_reg calls for these new pins, which actually configures these pin muxes. Thanks Hemanth > > Signed-off-by: Allen Pais > diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c > index b5fac32..93abb74 100644 > --- a/arch/arm/mac

Re: Memory performance / Cache problem

2009-10-15 Thread epsi
> On Wednesday 14 October 2009 17:48:39 ext e...@gmx.de wrote: > > Mem clock is both times 166MHz. I don't know whether are differences in > > cycle access and timing, but memclock is fine. > > > > Following Siarhei hints of initialize the buffers (around 1.2 MByte > each) > > I get different resu

Re: SMP: BUG with PREEMPT enabled

2009-10-15 Thread Russell King - ARM Linux
On Wed, Oct 14, 2009 at 04:56:18PM +0530, Shilimkar, Santosh wrote: > > On the latest ARM kernel(v2.6.32-rc4),I have observed a BUG() dump when Umm... > @@ -350,7 +350,7 @@ static inline void local_flush_tlb_mm(struct mm_struct > *mm) > if (tlb_flag(TLB_WB)) > dsb(); > > -

RE: [PATCH] OMAP3: Fix McBSP poll read and write for 32bit reg access

2009-10-15 Thread Varadarajan, Charu Latha
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Shilimkar, Santosh Sent: Thursday, October 15, 2009 1:01 PM To: Peter Ujfalusi Cc: Varadarajan, Charu Latha; linux-omap@vger.kernel.org; Syed, Rafiuddin Subject: RE: [PATCH] OMA

RE: [RFC][Patch V1] OMAP3: Mux Changes.

2009-10-15 Thread Menon, Nishanth
Please send your patch using git send email. And generate your patch using git format patch > -Original Message- > From: Pais, Allen > Sent: Thursday, October 15, 2009 4:38 AM > > Please ignore my previous mail. > > Muxes for OMAP 3630. > > Signed-off-by: Allen Pais diff --git a/arch/

RE: [RFC][Patch V1] OMAP3: Mux Changes.

2009-10-15 Thread Menon, Nishanth
Hi Allen, a) A simple comment to all my comments: why cant we have these in bootloader and just simply leave the mux file alone? b) Are you doing this for a specific platform or are they generic 3630 pin mux changes? > -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:l

RE: SMP: BUG with PREEMPT enabled

2009-10-15 Thread Shilimkar, Santosh
The patch submitted to patch-system I based it on 2.6.32-rc4 Have you tried that patch ? The one attached was in email was based on 2.6.31 Regards, Santosh > -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Thursday, October 15, 2009 5:11 PM >

RE: SMP: BUG with PREEMPT enabled

2009-10-15 Thread Shilimkar, Santosh
> -Original Message- > From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm- > kernel-boun...@lists.infradead.org] On Behalf Of Shilimkar, Santosh > Sent: Thursday, October 15, 2009 6:55 PM > To: Russell King - ARM Linux > Cc: linux-omap@vger.kernel.org; linux-arm-ker...@lis

[PATCH v2 0/2] OMAP3: PM: Make PRM setup times and CPUidle latencies/threshold board specific

2009-10-15 Thread Nayak, Rajendra
Hi, The setup times to be programmed in the PRM module on OMAP (for clksetup, voltsetup etc) are board specific. They depend heavily on the PMIC used and even on different boards with the same PMIC, they vary based on the sleep/wake sequence used, system clock speed et al. The CPUidle latencie

[PATCH v2 2/2] OMAP3: PM: Configure CPUidle latencies/thresholds from board file

2009-10-15 Thread Rajendra Nayak
The CPUidle C state latencies and thresholds are dependent on various board specific details. This patch makes it possible to configure these values from the respective board files. omap3_pm_init_cpuidle() can now be optionally called from board files to pass board specific cpuidle parameters. If

[PATCH v2 1/2] OMAP3: PM: Configure PRM setup times from board files

2009-10-15 Thread Rajendra Nayak
The setup times to be programmed in the PRM module on OMAP (for clksetup, voltsetup etc) are board specific. They depend heavily on the PMIC used and even on different boards with the same PMIC, they vary based on the sleep/wake sequence used, system clock speed et al. This patch makes it possible

[PATCH] OMAP3: PM: Removing redundant and potentially dangerous PRCM configration

2009-10-15 Thread Sripathy, Vishwanath
As part of Core domain context restoration while coming out of off mode there are some registers being restored which are not required to be restored. ROM code should have restored them already. Overwriting some of them can have potential side effect. Eg: CM_CLKEN_PLL register should not be written

Re: [PATCH] ARM: OMAP: SDMA: Fix omap_stop_dma() API for channel linking

2009-10-15 Thread Tony Lindgren
* Shilimkar, Santosh [091014 21:40]: > > -Original Message- > > From: Tony Lindgren [mailto:t...@atomide.com] > > Sent: Wednesday, October 14, 2009 10:36 PM > > To: Shilimkar, Santosh > > Cc: linux-omap@vger.kernel.org; S, Venkatraman; Hari n; Jarkko Nikula > > Subject: Re: [PATCH] ARM: OM

MMC_CAP_SDIO_IRQ for omap 3430

2009-10-15 Thread John Rigby
I have seen several discussions about lack of sdio irq support in the hsmmc driver but no patches. Has anyone on this list implemented this and/or can anyone point me to patches? Thanks John -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to major

[PATCH] OMAP3: PM: Removing redundant and potentially dangerous PRCM configration

2009-10-15 Thread Sripathy, Vishwanath
As part of Core domain context restoration while coming out of off mode there are some registers being restored which are not required to be restored. ROM code should have restored them already. Overwriting some of them can have potential side effect. Eg: CM_CLKEN_PLL register should not be written

24xx/n8x0 booting again, linux-omap updated to -rc5

2009-10-15 Thread Tony Lindgren
Hi all, Thanks to Paul's "OMAP2xxx clock: set up clockdomain pointer in struct clk" patch, we got 24xx booting again both in mainline and in linux-omap. The following patch is also needed to change the n8x0 serial console CMDLINE from ttyS0 to ttyS2 as the port numbering now matches the physical

RE: [RFC][Patch V1] OMAP3: Mux Changes.

2009-10-15 Thread Pais, Allen
Hi Allen, a) A simple comment to all my comments: why cant we have these in bootloader and just simply leave the mux file alone? [Allen] Yes Nishanth, this would be a much cleaner approach. Even Santosh had suggested The same, if we can conclude on a approach here, I can go ahead and do the M

Re: [RFC][Patch V1] OMAP3: Mux Changes.

2009-10-15 Thread Nishanth Menon
Pais, Allen had written, on 10/15/2009 11:53 PM, the following: a) A simple comment to all my comments: why cant we have these in bootloader and just simply leave the mux file alone? [Allen] Yes Nishanth, this would be a much cleaner approach. Even Santosh had suggested The same, if we can conc

RE: [PATCH] ARM: OMAP: SDMA: Fix omap_stop_dma() API for channel linking

2009-10-15 Thread Shilimkar, Santosh
> > > This fix should be tested in linux-omap before we send this to > mainline. > > Yes ofcourse. That what I meant by merge. > > Yeah, we should still have enough time to get it into mainline kernel > as a fix during this -rc cycle. OK. Also please merge other two patches in linux-omap master

RE: [PATCH v2 2/2] OMAP3: PM: Configure CPUidle latencies/thresholds from board file

2009-10-15 Thread Nayak, Rajendra
I missed updating omap_init_power_states() to look into cpuidle_params_table at init, as part of this patch. Will send a fixed patch shortly. Thanks to Thara for catching this. >-Original Message- >From: Nayak, Rajendra >Sent: Thursday, October 15, 2009 8:19 PM >To: linux-omap@vger.kernel