[PATCH 2/2] DSPBRIDGE: Set VDD1 OPP1 while MPU initiated OFF mode

2009-07-24 Thread Ameya Palande
Signed-off-by: Ameya Palande ameya.pala...@nokia.com --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c index 7aa58d1..dfac5b6 100644

[PATCH 1/2] DSPBRIDGE: Cleanup SleepDSP

2009-07-24 Thread Ameya Palande
Signed-off-by: Ameya Palande ameya.pala...@nokia.com --- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 33 ++ 1 files changed, 20 insertions(+), 13 deletions(-) diff --git a/drivers/dsp/bridge/wmd/tiomap3430_pwr.c b/drivers/dsp/bridge/wmd/tiomap3430_pwr.c index

Re: OMAP PM question

2009-07-24 Thread Roger Quadros
ext Peter Barada wrote: Kevin, I'm trying to port over the 2.6.30 OMAP PM branch on Logic's SOM, pulled from just a few days ago before the rebase to 2.6.31-rc1: http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=commit;h=e0cffc298098263630b83c458b8fce754badb9a3

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

2009-07-24 Thread Mark Brown
On Fri, Jul 24, 2009 at 09:46:27AM +0530, Shilimkar, Santosh wrote: Mark, Liam, Can you please your comments of regulator patches. I'd really like to see the ifdefs go as someone else requested earlier in the thread. Allowing both twl4030 and twl6030 support to be built simultaneously is much

[PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Hiroshi DOYU
From: Hiroshi DOYU hiroshi.d...@nokia.com CONFIG_DSP_TRACEBUF is introduced as a kernel config option to save some amount of unused memory and #ifndef DSP_TRACEBUF_DISABLED was not easy to understand. Signed-off-by: Hiroshi DOYU hiroshi.d...@nokia.com --- drivers/dsp/bridge/Kconfig |7

Re: [PATCH]OMAP4: McSPI Support for OMAP4430

2009-07-24 Thread Syed Rafiuddin
David, This patch adds McSPI support for OMAP4430 SDP platform. All the base addresses are changed between OMAP1/2/3 and OMAP4.The fields of the resource structures are filled at runtime to have McSPI support on OMAP4. Signed-off-by: Syed Rafiuddin rafiuddin.s...@ti.com Acked-by: Kevin

Re: [RESUBMIT][PATCH-v2][RFC] OMAP4: I2C Support for OMAP4430

2009-07-24 Thread Syed Rafiuddin
Hi Ben, This patch adds OMAP4 support to the I2C driver. All I2C register addresses are different between OMAP1/2/3 and OMAP4. In order to not have #ifdef's at various places in code, as well as to support multi-OMAP build, Array's are created to hold the register addresses.

Re: [PATCH 0/44] includecheck: fix multiple includes

2009-07-24 Thread Eduardo Valentin
On Thu, Jul 09, 2009 at 06:28:31AM +0200, ext Jaswinder Singh Rajput wrote: On Wed, 2009-07-08 at 22:13 +0100, Russell King wrote: On Wed, Jul 08, 2009 at 11:30:59PM +0530, Jaswinder Singh Rajput wrote: I am still waiting ACK/NAK for : includecheck fix: arm, misc.c

Re: [PATCH 0/44] includecheck: fix multiple includes

2009-07-24 Thread Jaswinder Singh Rajput
Hello all, On Fri, 2009-07-24 at 17:45 +0300, Eduardo Valentin wrote: On Thu, Jul 09, 2009 at 06:28:31AM +0200, ext Jaswinder Singh Rajput wrote: On Wed, 2009-07-08 at 22:13 +0100, Russell King wrote: On Wed, Jul 08, 2009 at 11:30:59PM +0530, Jaswinder Singh Rajput wrote: I am still

[RFC][PATCH 0/3]ARM:OMAP4 iommu-provide support for OMAP4

2009-07-24 Thread Kanigeri, Hari
Hi, This series of patches provides IOMMU support for OMAP4 co-processors (Ducati and Tesla). This series is based of kernel.org 2.6.31-rc1 kernel. [PATCH 1/3] ARM:OMAP4 iommu:changes in iommu for OMAP4 [PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu [PATCH 3/3] ARM:OMAP4 iommu:provide

[RFC][PATCH 1/3] ARM:OMAP4 iommu:changes in iommu for OMAP4

2009-07-24 Thread Kanigeri, Hari
This patch has the changes to iommu module to make iommu functional on OMAP4 simulator. The changes included using stubbed clock interface and commenting out reading the MMU soft reset register. Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/iommu2.c |8 ++--

[RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu

2009-07-24 Thread Kanigeri, Hari
This patch adds omap4 support in iommu module. This creates OMAP4 platform specific file for iommu and defines the Ducati MMU fault interrupt. Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/omap4-iommu.c | 112

[RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu

2009-07-24 Thread Kanigeri, Hari
This patch provides build support to build OMAP4 IOMMU module. This also adds the changes to Kconfig file to make iommu option visible in menuconfig. Signed-off-by: Hari Kanigeri h-kanige...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/plat-omap/Kconfig |8 ++-- 2 files

RE: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Kanigeri, Hari
Hi Doyu-san, CONFIG_DSP_TRACEBUF is introduced as a kernel config option to save some amount of unused memory and #ifndef DSP_TRACEBUF_DISABLED was not easy to understand. I think we just use the Bridge DEBUG flag that is used in Bridge instead of introducing a new flag. Thank you, Best

[RFC/RFT v2 0/4] PRCM interrupt handler updates/fixes/cleanups

2009-07-24 Thread Kevin Hilman
This series incoporates various changes/updates/fixes to the PRCM interrupt handler. Applies to current PM branch. These could use some extra review and especially some testing. I did some basic testing on 3430SDP (es3.0) and Zoom2 (es3.1) Updates from previous series: I added a reworked

[RFC/RFT 1/4] OMAP3: PM: Prevent hang in prcm_interrupt_handler

2009-07-24 Thread Kevin Hilman
From: Jon Hunter jon-hun...@ti.com There are two scenarios where a race condition could result in a hang in the prcm_interrupt handler. These are: 1). Waiting for PRM_IRQSTATUS_MPU register to clear. Bit 0 of the PRM_IRQSTATUS_MPU register indicates that a wake-up event is pending for the MPU.

[RFC/RFT 2/4] OMAP3: PM: PRCM interrupt: check MPUGRPSEL register

2009-07-24 Thread Kevin Hilman
From: Paul Walmsley p...@pwsan.com PM_WKST register contents should be ANDed with the contents of the MPUGRPSEL registers. Otherwise the MPU PRCM interrupt handler could wind up clearing wakeup events meant for the IVA PRCM interrupt handler. For a production version of this patch, we should

[RFC/RFT 3/4] OMAP3: PM: PRCM interrupt: only handle selected PRCM interrupts

2009-07-24 Thread Kevin Hilman
From: Paul Walmsley p...@pwsan.com Clearing wakeup sources is now only done when the PRM indicates a wakeup source interrupt. Since we don't handle any other types of PRCM interrupts right now, warn if we get any other type of PRCM interrupt. Either code needs to be added to the PRCM interrupt

[RFC/RFT 4/4] OMAP3: PM: USBHOST: clear wakeup events on both hosts

2009-07-24 Thread Kevin Hilman
From: Vikram Pandita vikram.pand...@ti.com USBHOST module has 2 fclocks (for HOST1 and HOST2), only one iclock and only a single bit in the WKST register to indicate a wakeup event. Because of the single WKST bit, we cannot know whether a wakeup event was on HOST1 or HOST2, so enable both

Re: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Hiroshi DOYU
Hi Hari, From: ext Kanigeri, Hari h-kanige...@ti.com Subject: RE: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option Date: Fri, 24 Jul 2009 19:28:47 +0200 Hi Doyu-san, CONFIG_DSP_TRACEBUF is introduced as a kernel config option to save some amount of unused memory and

Re: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu

2009-07-24 Thread Hiroshi DOYU
From: ext Kanigeri, Hari h-kanige...@ti.com Subject: [RFC][PATCH 3/3]ARM:OMAP4 iommu:provide build support for omap4 iommu Date: Fri, 24 Jul 2009 19:22:56 +0200 This patch provides build support to build OMAP4 IOMMU module. This also adds the changes to Kconfig file to make iommu option

Re: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu

2009-07-24 Thread Hiroshi DOYU
From: ext Kanigeri, Hari h-kanige...@ti.com Subject: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu Date: Fri, 24 Jul 2009 19:22:32 +0200 This patch adds omap4 support in iommu module. This creates OMAP4 platform specific file for iommu and defines the Ducati MMU fault interrupt.

Re: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu

2009-07-24 Thread Felipe Balbi
On Fri, Jul 24, 2009 at 07:22:32PM +0200, ext Kanigeri, Hari wrote: This patch adds omap4 support in iommu module. This creates OMAP4 platform specific file for iommu and defines the Ducati MMU fault interrupt. Signed-off-by: Hari Kanigeri h-kanige...@ti.com ---

Re: [RFC][PATCH 1/3] ARM:OMAP4 iommu:changes in iommu for OMAP4

2009-07-24 Thread Hiroshi DOYU
From: ext Kanigeri, Hari h-kanige...@ti.com Subject: [RFC][PATCH 1/3] ARM:OMAP4 iommu:changes in iommu for OMAP4 Date: Fri, 24 Jul 2009 19:22:09 +0200 This patch has the changes to iommu module to make iommu functional on OMAP4 simulator. The changes included using stubbed clock interface and

Re: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu

2009-07-24 Thread Hiroshi DOYU
Hi Felipe, From: Balbi Felipe (Nokia-D/Helsinki) felipe.ba...@nokia.com Subject: Re: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu Date: Fri, 24 Jul 2009 20:27:02 +0200 On Fri, Jul 24, 2009 at 07:22:32PM +0200, ext Kanigeri, Hari wrote: This patch adds omap4 support in iommu

Re: [RFC][PATCH 2/3] ARM:OMAP4 iommu:add omap4 support in iommu

2009-07-24 Thread Felipe Balbi
hi, On Fri, Jul 24, 2009 at 08:47:57PM +0200, Doyu Hiroshi (Nokia-D/Helsinki) wrote: +static unsigned long iommu_base[] __initdata = { + OMAP4_MMU1_BASE, + OMAP4_MMU2_BASE, +}; + +static int iommu_irq[] __initdata = { + OMAP4_MMU1_IRQ, + OMAP4_MMU2_IRQ, +}; these

Re: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Hiroshi DOYU
From: Hiroshi DOYU hiroshi.d...@nokia.com Subject: Re: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option Date: Fri, 24 Jul 2009 21:00:05 +0300 (EEST) Hi Hari, From: ext Kanigeri, Hari h-kanige...@ti.com Subject: RE: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config

Re: [PATCH 20/32] omap_hsmmc: put MMC regulator to sleep

2009-07-24 Thread Andrew Morton
On Fri, 10 Jul 2009 15:42:27 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: +static int omap_mmc_regsleep_to_enabled(struct mmc_omap_host *host) +{ + unsigned long timeout; + + dev_dbg(mmc_dev(host-mmc), REGSLEEP - ENABLED\n); + + clk_enable(host-fclk); +

Re: [PATCH 26/32] omap_hsmmc: prevent races with irq handler

2009-07-24 Thread Andrew Morton
On Fri, 10 Jul 2009 15:43:09 +0300 Adrian Hunter adrian.hun...@nokia.com wrote: From 242fae6293adec671b14354f215217354f5076a0 Mon Sep 17 00:00:00 2001 From: Adrian Hunter adrian.hun...@nokia.com Date: Sat, 16 May 2009 10:32:34 +0300 Subject: [PATCH] omap_hsmmc: prevent races with irq handler

RE: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Kanigeri, Hari
Hiroshi, The problem here is that now all TRACEBUF code is always compiled in in spite of setting DEBUG. It doesn't print anything, but just wastes some memory That's not true. DSP_TRACEBUF is used to print the traces from DSP. This is used by Socket node developers to print their traces

Re: n800 can't mount rootfs

2009-07-24 Thread Paul Walmsley
Hello Kalle, On Sat, 6 Jun 2009, Kalle Valo wrote: I tested linux-omap (commit 151c7a7fc) on n800 and it can't mount rootfs anymore. Below is the full bootlog. Unfortunately I don't have time to debug this right now, but I can test patches if needed. [0.00] Linux version

[PATCH] OMAP2: N800: don't try to initialize OneNAND twice

2009-07-24 Thread Paul Walmsley
board-n800.c calls board_onenand_init() twice. The second time fails during boot with: kobject (c031e048): tried to init an initialized object, something is seriously wrong. with backtrace, etc. board_onenand_init() should not be called twice. Patch tested on N800. Problem originally

Re: n800 can't mount rootfs

2009-07-24 Thread Paul Walmsley
On Fri, 24 Jul 2009, Paul Walmsley wrote: On Sat, 6 Jun 2009, Kalle Valo wrote: [0.00] kobject (c031e048): tried to init an initialized object, something is seriously wrong. [0.00] [c002c674] (unwind_backtrace+0x0/0xdc) from [c0103654] (kobject_init+0x38/0x70) [

[PATCH 0/8] Fixes for OMAP2/3 SDRC/clock for 2.6.31-rc*

2009-07-24 Thread Paul Walmsley
This series contains fixes for 2.6.31-rc* for the OMAP2/3 SDRC SDRAM controller and the OMAP2/3 clock code. Boot-tested on BeagleBoard rev C2 and N800. Additional CORE DVFS testing run on BeagleBoard rev C2. - Paul --- size: textdata bss dec hex filename 3451158 197824

[PATCH 2/8] OMAP3: Setup MUX settings for SDRC CKE signals

2009-07-24 Thread Paul Walmsley
From: Jean Pihet jpi...@mvista.com This patches ensures the MUX settings are correct for the SDRC CKE signals to SDRAM. This allows the self-refresh to work when 2 chip-selects are in use. A warning is thrown away in case the initial muxing is incorrect, in order to track faulty or old-dated

[PATCH 3/8] OMAP2/3 SDRC: don't set SDRC_POWER.PWDENA on boot

2009-07-24 Thread Paul Walmsley
Stop setting SDRC_POWER.PWDENA on boot. There is a nasty erratum (34xx erratum 1.150) that can cause memory corruption if PWDENA is enabled. Based originally on a patch from Samu P. Onkalo samu.p.onk...@nokia.com. Tested on BeagleBoard rev C2. Signed-off-by: Paul Walmsley p...@pwsan.com Cc:

[PATCH 5/8] OMAP3 SDRC: Move the clk stabilization delay to the right place

2009-07-24 Thread Paul Walmsley
From: Rajendra Nayak rna...@ti.com The clock stabilization delay post a M2 divider change is needed even before a SDRC interface clock re-enable and not only before jumping back to SDRAM. Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Paul Walmsley p...@pwsan.com ---

[PATCH 1/8] OMAP3 SDRC: add support for 2 SDRAM chip selects

2009-07-24 Thread Paul Walmsley
From: Jean Pihet jpi...@mvista.com Some OMAP3 boards (Beagle Cx, Overo, RX51, Pandora) have 2 SDRAM parts connected to the SDRC. This patch adds the following: - add a new argument of type omap_sdrc_params struct* to omap2_init_common_hw and omap2_sdrc_init for the 2nd CS params - adapted the

[PATCH 7/8] OMAP2 clock: 2430 I2CHS uses non-standard CM_IDLEST register

2009-07-24 Thread Paul Walmsley
OMAP2430 I2CHS CM_IDLEST bits are in CM_IDLEST1_CORE, but the CM_*CLKEN bits are in CM_{I,F}CLKEN2_CORE [1]. Fix by implementing a custom clkops .find_idlest function to return the correct slave IDLEST register. ... 1. OMAP2430 Multimedia Device Package-on-Package (POP) Silicon Revision 2.1

[PATCH 4/8] OMAP3 SDRC: Fix freeze when scaling CORE dpll to 83Mhz

2009-07-24 Thread Paul Walmsley
From: Rajendra Nayak rna...@ti.com This patch fixes a bug in the CORE dpll scaling sequence which was errouneously clearing some bits in the SDRC DLLA CTRL register and hence causing a freeze. The issue was observed only on platforms which scale CORE dpll to 83Mhz and hence program the DLL in

[PATCH 8/8] OMAP3 clock: correct module IDLEST bits: SSI; DSS; USBHOST; HSOTGUSB

2009-07-24 Thread Paul Walmsley
Fix two bugs in the OMAP3 clock tree pertaining to the SSI, DSS, USBHOST, and HSOTGUSB devices. These devices are both interconnect initiators and targets. Without this patch, clk_enable()s on clocks for these modules can be very high latency (potentially up to ~200 milliseconds) and message

[PATCH] OMAP2: N800: Fix compilation after recent omap2_init_common_hw() changes

2009-07-24 Thread Paul Walmsley
This patch is intended to be applied after the 2.6.31-rc OMAP2/3 SDRC/clock fixes series is merged to mainline. Since N800 support is not yet in mainline, this chunk had to be split out from Jean's original patch into a linux-omap specific patch. Update board-n800.c after recent

Re: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option

2009-07-24 Thread Hiroshi DOYU
From: ext Kanigeri, Hari h-kanige...@ti.com Subject: RE: [PATCH 1/1] DSPBRIDGE: expose DSP_TRACEBUF as kernel config option Date: Sat, 25 Jul 2009 02:43:41 +0200 Hiroshi, The problem here is that now all TRACEBUF code is always compiled in in spite of setting DEBUG. It doesn't print