RE: [PATCH] ARM: OMAP3: cm-t35: add EHCI support

2009-10-23 Thread Gadiyar, Anand
> This patch adds support for EHCI on CM-T35. > It depends on basic CM-T35 board support ([1]) and EHCI updates > in the linux-omap tree. > > [1] http://thread.gmane.org/gmane.linux.ports.arm.omap/24938 > --- > > Signed-off-by: Mike Rapoport > --- > arch/arm/mach-omap2/board-cm-t35.c | 17 +++

Re: [PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

2009-10-23 Thread Grazvydas Ignotas
On Fri, Oct 23, 2009 at 2:09 AM, Kevin Hilman wrote: > From: Tero Kristo > > For HS/EMU devices, these additional features are also used: > > - DMA interrupt disable routine added > - Added DMA controller reset to DMA context restore > > Signed-off-by: Tero Kristo > Signed-off-by: Kevin Hilman

RE: [PATCH 2/2 v2] OMAP3:PM:SR: SmartReflex Refactor Rev3.0

2009-10-23 Thread Imberton Guilhem-gimb01
> -Original Message- > From: Nishanth Menon [mailto:n...@ti.com] > Sent: Friday, October 23, 2009 4:40 AM > Imberton Guilhem-gimb01 had written, on 10/22/2009 04:04 PM, > the following: > > I have one small comment on the actual implementation > >> + do { > >> + value

Re: [PATCHv1 1/3] OMAP UART: Adds omap-serial driver support.

2009-10-23 Thread Govindraj
On Wed, Oct 14, 2009 at 2:26 AM, Tony Lindgren wrote: > * kishore kadiyala [091012 23:54]: >> Tony, >> >> On Fri, Oct 9, 2009 at 11:16 PM, Tony Lindgren wrote: >> > * G, Manjunath Kondaiah [091008 00:41]: >> >> >> >> Govind, >> >> > -Original Message- >> >> > From: linux-omap-ow...@vger

Re: [alsa-devel] [PATCH 4/4 v2] ASoC: TWL4030: Driver registration via twl4030_codec MFD

2009-10-23 Thread Mark Brown
On Fri, Oct 23, 2009 at 08:27:55AM +0300, Peter Ujfalusi wrote: > Hmm, what do you mean by that? > I have checked it, and selecting the machine driver will enables the MFD_CORE > and TWL4030_CODEC in .config, also disabling the machine driver will also > disable the MFD_CORE and the TWL4030_CODE

Re: [PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

2009-10-23 Thread Venkatraman S
On Fri, Oct 23, 2009 at 4:39 AM, Kevin Hilman wrote: > From: Tero Kristo > > For HS/EMU devices, these additional features are also used: > > - DMA interrupt disable routine added > - Added DMA controller reset to DMA context restore > > Signed-off-by: Tero Kristo > Signed-off-by: Kevin Hilman

Re: [PATCH 1/4 v2] MFD: twl4030: add twl4030_codec MFD as a new child to the core

2009-10-23 Thread Samuel Ortiz
Hi Peter, On Thu, Oct 22, 2009 at 01:26:45PM +0300, Peter Ujfalusi wrote: > New MFD child to twl4030 MFD device. > > Reason for the twl4030_codec MFD: the vibra control is actually in the codec > part of the twl4030. If both the vibra and the audio functionality is needed > from the twl4030 at th

Re: [PATCH v2] twl4030: Enable low-power mode to 32kHz oscillator

2009-10-23 Thread Samuel Ortiz
Hi Ilkka, On Thu, Oct 22, 2009 at 02:14:09PM +0300, Ilkka Koskinen wrote: > Allows TWL's 32kHz oscillator to go in low-power mode when > main battery voltage is running low. Patch applied, thanks a lot. Cheers, Samuel. > Signed-off-by: Ilkka Koskinen > --- > drivers/mfd/twl4030-core.c |9

RE: [PATCH V4 3/3] OMAP: I2C: Add mpu wake up latency constraint in i2c

2009-10-23 Thread Sonasath, Moiz
Hello Jokiniemi! > -Original Message- > From: Kalle Jokiniemi [mailto:kalle.jokini...@digia.com] > Sent: Wednesday, October 21, 2009 6:51 AM > To: khil...@deeprootsystems.com > Cc: linux-omap@vger.kernel.org; Kalle Jokiniemi; Sonasath, Moiz; Jarkko > Nikula; Paul Walmsley; Menon, Nishanth

[PATCH] [OMAP] GPIO Module disable if all pins inactive

2009-10-23 Thread charu
From: Charulatha V This patch disables a GPIO module when all the pins of GPIO module are inactive (clock gating forced at module level) and enables the module when any gpio in the module is requested. Signed-off-by: Charulatha V --- arch/arm/plat-omap/gpio.c | 22 ++ 1 f

[PATCH] [OMAP] GPIO Module is reset during initialization

2009-10-23 Thread charu
From: Charulatha V During initialization, GPIO module is reset using soft reset bit of SYSCONFIG register Signed-off-by: Charulatha V --- arch/arm/plat-omap/gpio.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-oma

[PATCHv2 0/11] Misc fixes [for PM branch]

2009-10-23 Thread Tero Kristo
From: Tero Kristo This set is now missing following patches compared to the previous set: - IVA2 suspend fix - Dynamic check for core target state - Block core off when DSS active - Next state check for IVA2, USB and PER - USBHOST powerdomain force to sleep after warm reset Also removed one of

[PATCH 02/11] OMAP3: Disable Smartreflex before pwrdm enters RET

2009-10-23 Thread Tero Kristo
From: Tero Kristo Smartreflex for the corresponding powerdomain (MPU/CORE) must be disabled before the domain enters retention, otherwise the device may hang. This is caused by overlapping smartreflex / auto retention command on the voltage channel resulting in incorrect voltage. This fix has be

[PATCH 04/11] OMAP3: PM: Ack pending interrupts before entering suspend

2009-10-23 Thread Tero Kristo
From: Tero Kristo Suspending drivers may still generate interrupts just before their suspend is completed. Any pending interrupts here will prevent sleep. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/irq.c |6 ++ arch/arm/mach-omap2/pm34xx.c |2 +- arch

[PATCH 03/11] OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer

2009-10-23 Thread Tero Kristo
From: Tero Kristo OMAP GP timers keep running for a few cycles after they are stopped, which can cause the timer to expire and generate an interrupt. The pending interrupt will prevent e.g. OMAP from entering suspend, thus we ack it manually. Signed-off-by: Tero Kristo --- arch/arm/plat-omap/d

[PATCH 06/11] OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI

2009-10-23 Thread Tero Kristo
From: Tero Kristo OMAP interrupt controller goes to unknown state when there is right combination of l3,l4 sleep/wake-up transitions, l4 autoidle in interrupt controller and some interrupt. When this happens, interrupts are not delivered to ARM anymore and ARM will remain in WFI (wait for interru

[PATCH 07/11] OMAP3: Fixed ARM aux ctrl register save/restore

2009-10-23 Thread Tero Kristo
From: Tero Kristo Current value is stored on SDRAM and it is written back during wakeup. Previously a static value of 0x72 was written there. Signed-off-by: Tero Kristo Signed-off-by: Jouni Hogander --- arch/arm/mach-omap2/control.c |1 + arch/arm/mach-omap2/sleep34xx.S | 23 +

[PATCH 08/11] OMAP3: PM: Disabled I2C4 repeated start operation mode

2009-10-23 Thread Tero Kristo
From: Tero Kristo Repeated start forces I2C4 pads low during idle, which increases power consumption through external pull-ups. On the other hand, this change increases I2C4 command latencies a bit. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c |2 +- 1 files changed, 1 inser

[PATCH 11/11] OMAP3: PM: Disable OTG autoidle when waking up from off-mode

2009-10-23 Thread Tero Kristo
From: Tero Kristo OMAP3 sleep can be prevented in some cases where OTG autoidle is enabled. This patch force disables autoidle during wakeup from off-mode. See omap errata 1.164. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c |6 ++ arch/arm/mach-omap2/usb-musb.c

[PATCH 05/11] OMAP3: PM: Enable system control module autoidle

2009-10-23 Thread Tero Kristo
From: Tero Kristo This saves some power. Signed-off-by: Mika Westerberg --- arch/arm/mach-omap2/pm34xx.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 53544d3..492458e 100644 --- a/arch/arm/mach-omap2

[PATCH 09/11] OMAP3: PM: Added support for L2 aux ctrl register save and restore

2009-10-23 Thread Tero Kristo
From: Tero Kristo This patch adds a save and restore mechanism for ARM L2 auxiliary control register. This feature is enabled via Kconfig option OMAP3_L2_AUX_SECURE_SAVE_RESTORE and the service ID for PPA can be provided via option OMAP3_L2_AUX_SECURE_SERVICE_SET_ID. If bootloader does not modify

[PATCH 10/11] OMAP3: PM: Write voltage and clock setup times dynamically in idle loop

2009-10-23 Thread Tero Kristo
From: Tero Kristo It is suggested by TI (SWPA152 February 2009) to write clksetup, voltsetup_time1, voltsetup_time2, voltsetup2 dynamically in idle loop. This allows us to optimize the voltage + clock setup times according to the used power save mode. Signed-off-by: Tero Kristo --- arch/arm/m

[PATCH 01/11] OMAP3: PM: Fixed padconf save done check

2009-10-23 Thread Tero Kristo
From: Carlos Chinea Previously the operator precedence dictated that the delay loop was exited immediately, potentially causing off-mode to be entered too soon. Signed-off-by: Carlos Chinea Signed-off-by: Jouni Hogander --- arch/arm/mach-omap2/pm34xx.c |4 ++-- 1 files changed, 2 insertio

[PATCH 00/10] OMAP3: PM: add CPUidle support

2009-10-23 Thread Kevin Hilman
This series adds CPUidle support for OMAP3. This includes power states for full-chip retention and full-chip OFF during idle. This series is based on top of Tony's for-next branch plus the recently posted off-mode series. [PATCH v2 00/32] OMAP3: PM: base off-mode support This series is also a

[PATCH 01/10] OMAP3: PM: CPUidle: base driver and support for C1-C2

2009-10-23 Thread Kevin Hilman
From: Rajendra Nayak Basic CPUidle driver for OMAP3 with deepest sleep state supported being MPU CSWR. Signed-off-by: Rajendra Nayak Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/cpuidle34xx.c | 255 + arc

[PATCH 02/10] OMAP3: PM: CPUidle: support retention and off-mode C-states

2009-10-23 Thread Kevin Hilman
From: Rajendra Nayak This patch adds support and enables state C4(MPU RET + CORE RET) and MPU OFF states (C3 and C5.) Signed-off-by: Rajendra Nayak Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/cpuidle34xx.c | 28 arch/arm/mach-omap2/pm.h |2 +

[PATCH 03/10] OMAP3: PM: CPUidle: obey enable_off_mode flag

2009-10-23 Thread Kevin Hilman
If 'enable_off_mode' is not set, force powerdomain states to RET instead of OFF. Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/cpuidle34xx.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuid

[PATCH 04/10] OMAP3: PM: CPUidle: check activity for C2, C3, correct accounting

2009-10-23 Thread Kevin Hilman
Use the activity check for states C2 and C3 as well. This is primarily to prevent deeper states during UART activity. Also, if a different state is chosen than the target state, update the 'last_state' accordingly so that CPUidle state accounting is coorect. Signed-off-by: Kevin Hilman --- arc

[PATCH 05/10] OMAP3: PM: CPUidle: fix init sequencing

2009-10-23 Thread Kevin Hilman
From: Kalle Jokiniemi Previously omap3_idle_init() was called in device_init, while omap_pm_init() is called at late_initcall. This causes the cpu idle driver to call omap_sram_idle before it is properly initialized. This patch fixes the issue by moving omap3_idle_init into omap3_pm_init. Signed

[PATCH 06/10] OMAP3: PM: CPUidle: Add new lower-latency C1 state

2009-10-23 Thread Kevin Hilman
From: Peter 'p2' De Schrijver This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher power consumption. Signed-off-by: Peter 'p2' De Schrijver Sign

[PATCH 07/10] OMAP3: PM: CPUidle: Start C-state definitions from base 0

2009-10-23 Thread Kevin Hilman
From: Sanjeev Premi The current definition of C-states starts from base 1. Whereas, the cpuidle driver uses base 0. This patch eliminates need for explicit mapping (add/ sbutract) due to different base values. Signed-off-by: Sanjeev Premi Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/cp

[PATCH 08/10] OMAP3: PM: Use pwrdm_set_next_pwrst instead of set_pwrdm_state in idle loop

2009-10-23 Thread Kevin Hilman
From: Jouni Hogander It is more efficient to use pwrdm_set_next_pwrst for mpu, core and neon instead of set_pwrdm_state in idle loop. It is anyway known that those are active in idle loop. So no need to use set_pwrdm_state. Signed-off-by: Jouni Hogander Signed-off-by: Kevin Hilman --- arch/ar

[PATCH 09/10] OMAP3: PM: idle: Remove fclk check for idle loop

2009-10-23 Thread Kevin Hilman
From: Peter 'p2' De Schrijver This patch removes the check to see if some functional clocks are still enabled before entering sleep. This is no longer needed when using safe state (C1) that keeps CORE active. Signed-off-by: Peter 'p2' De Schrijver Signed-off-by: Kevin Hilman --- arch/arm/mac

[PATCH 10/10] OMAP3: PM: Added resched check into idle calls

2009-10-23 Thread Kevin Hilman
From: Tero Kristo Fixes a bug where scheduling is delayed until next wakeup due to race condition (e.g. interrupt requests scheduling just before omap_sram_idle is entered.) Signed-off-by: Tero Kristo Signed-off-by: Kevin Hilman --- arch/arm/mach-omap2/cpuidle34xx.c |3 ++- arch/arm/mach-

RE: [PATCH]Omap3630: Add hsmmc related checks

2009-10-23 Thread Madhusudhan
> -Original Message- > From: Pandita, Vikram [mailto:vikram.pand...@ti.com] > Sent: Thursday, October 22, 2009 7:08 PM > To: Chikkature Rajashekar, Madhusudhan; 'Tony Lindgren' > Cc: linux-omap@vger.kernel.org > Subject: RE: [PATCH]Omap3630: Add hsmmc related checks > > Madhu/Tony > > >

[ANNOUNCE] updated PM branch, 2.6.32-rc5 + l-o master

2009-10-23 Thread Kevin Hilman
Hello, I've rebased/updated the PM branch based on current linux-omap master branch (2.6.32-rc1 based.) The only changes this time were related to the #include path changes and the IO_ADDRESS changes. There were no (intentional) functional changes. I've also updated the OMAP Power Management wi

Re: [PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

2009-10-23 Thread Kevin Hilman
Grazvydas Ignotas writes: >>  static int __init omap_init_dma(void) >> diff --git a/arch/arm/plat-omap/include/plat/dma.h >> b/arch/arm/plat-omap/include/plat/dma.h >> old mode 100644 >> new mode 100755 > > ^^ whoops? > Good catch, I'll fix this up in my pm-off branch. Kevin >> index 72f680b.

Re: [PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

2009-10-23 Thread Kevin Hilman
Venkatraman S writes: > On Fri, Oct 23, 2009 at 4:39 AM, Kevin Hilman > wrote: >> From: Tero Kristo >> >> For HS/EMU devices, these additional features are also used: >> >> - DMA interrupt disable routine added >> - Added DMA controller reset to DMA context restore >> >> Signed-off-by: Tero Kri

Re: [PATCHv1 1/3] OMAP UART: Adds omap-serial driver support.

2009-10-23 Thread Tony Lindgren
* Govindraj [091023 05:22]: > On Wed, Oct 14, 2009 at 2:26 AM, Tony Lindgren wrote: > > * kishore kadiyala [091012 23:54]: > >> Tony, > >> > >> On Fri, Oct 9, 2009 at 11:16 PM, Tony Lindgren wrote: > >> > * G, Manjunath Kondaiah [091008 00:41]: > >> >> > >> >> Govind, > >> >> > -Original M

Re: [PATCH 05/10] omap1: Fix DSP public peripherals support for ams-delta

2009-10-23 Thread Tony Lindgren
* Jon Hunter [091022 16:22]: > > Tony Lindgren wrote: >> From: Janusz Krzysztofik >> >> DSP public peripherals used to work on OMAP1510 based (or all OMAP1 class?) >> machines as long as old dspgateway code were present in the l-o tree. For >> several months it is no longer included, breaking sup

[PATCH 0/3] Introduce Zoom3 board

2009-10-23 Thread Vikram Pandita
Zoom3 is the next versoin of Zoom2 board. There has been a silicon update from zoom2 to zoom3. Zoom2 has OMAP34xx Zoom3 has OMAP3630 Zoom3 = OMAP3630 SOM board + same zoom2 main board + same debugboard We want to reuse the zoom2 files as much for zoom3, as at board level, there is no change at

[PATCH 1/3] omap: zoom: reuse zoom2 board file for zoom3

2009-10-23 Thread Vikram Pandita
Move: arch/arm/mach-omap2/board-zoom2.c -> arch/arm/mach-omap2/board-zoom2-zoom3.c Zoom2 has an omap3430 SOM board attached to a (main board + debug board) Zoom3 has an omap3630 SOM board attached to same (main board + debug board) The main board/peripherals/debug board remain exactly the same. O

[PATCH 2/3] omap: zoom2: update makefile for boardfile name change

2009-10-23 Thread Vikram Pandita
Accomodate the board file change in Kconfig arch/arm/mach-omap2/board-zoom2.c -> arch/arm/mach-omap2/board-zoom2-zoom3.c Signed-off-by: Vikram Pandita --- arch/arm/mach-omap2/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/ar

[PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Vikram Pandita
Add machine type support for zoom3 board Add board type in Kconfig and Makefile Reused the zoom board file for zoom2 and zoom3 Signed-off-by: Vikram Pandita --- arch/arm/mach-omap2/Kconfig |4 arch/arm/mach-omap2/Makefile|3 +++ arch/arm/mach-omap2/board-zoom

[PATCH] omap: zoom3: defconfig creation

2009-10-23 Thread Vikram Pandita
Create zoom3 defconfig file Signed-off-by: Vikram Pandita --- Forgot to include the defconfig file. consider this as [PATCH 4/4] of the previous zoom3 series arch/arm/configs/omap_zoom3_defconfig | 1605 + 1 files changed, 1605 insertions(+), 0 deletions(-) cre

RE: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Aguirre Rodriguez, Sergio Alberto
Vikram, Just some comments I came across below. From: linux-omap-ow...@vger.kernel.org [linux-omap-ow...@vger.kernel.org] On Behalf Of Pandita, Vikram Sent: Friday, October 23, 2009 2:23 PM > Add machine type support for zoom3 board > Add board type in Kconfig and Makefile > Reused the zoom boar

Re: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Nishanth Menon
Aguirre Rodriguez, Sergio Alberto had written, on 10/23/2009 02:39 PM, the following: Vikram, Just some comments I came across below. From: linux-omap-ow...@vger.kernel.org [linux-omap-ow...@vger.kernel.org] On Behalf Of Pandita, Vikram Sent: Friday, October 23, 2009 2:23 PM Add machine type

RE: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Aguirre Rodriguez, Sergio Alberto
From: Menon, Nishanth Sent: Friday, October 23, 2009 2:46 PM > Aguirre Rodriguez, Sergio Alberto had written, on 10/23/2009 02:39 PM, > the following: > > Vikram, > > > > Just some comments I came across below. > > > > From: linux-omap-ow...@vger.kernel.org [linux-omap-ow...@vger.kernel.org] > > O

Re: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Nishanth Menon
Aguirre Rodriguez, Sergio Alberto had written, on 10/23/2009 03:07 PM, the following: [...] Linux-OMAP build allows for both boards to be defined at the same time.. so in theory you could have a single uImage. the strategy followed here will fail it.. since the board file is the same one.. it co

Re: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Felipe Balbi
Hi, On Fri, Oct 23, 2009 at 02:23:26PM -0500, Vikram Pandita wrote: > diff --git a/arch/arm/mach-omap2/board-zoom2-zoom3.c > b/arch/arm/mach-omap2/board-zoom2-zoom3.c > index 4ad9b94..d806dbf 100644 > --- a/arch/arm/mach-omap2/board-zoom2-zoom3.c > +++ b/arch/arm/mach-omap2/board-zoom2-zoom3.c >

Re: [PATCH] [OMAP] GPIO Module is reset during initialization

2009-10-23 Thread Felipe Balbi
On Fri, Oct 23, 2009 at 09:25:29PM +0530, ch...@ti.com wrote: > From: Charulatha V > > During initialization, GPIO module is reset using soft reset bit > of SYSCONFIG register > > Signed-off-by: Charulatha V > --- > arch/arm/plat-omap/gpio.c | 12 +++- > 1 files changed, 11 insertion

Re: [PATCH 3/3] omap: zoom3: add zoom3 board support

2009-10-23 Thread Felipe Balbi
On Fri, Oct 23, 2009 at 04:17:08PM -0500, Nishanth Menon wrote: > Aguirre Rodriguez, Sergio Alberto had written, on 10/23/2009 03:07 > PM, the following: > [...] > >>Linux-OMAP build allows for both boards to be defined at the same time.. > >>so in theory you could have a single uImage. the strateg

Re: [PATCH 05/10] omap1: Fix DSP public peripherals support for ams-delta

2009-10-23 Thread Janusz Krzysztofik
Friday 23 October 2009 21:19:40 Tony Lindgren napisał(a): > * Jon Hunter [091022 16:22]: > > > > Tony Lindgren wrote: > >> From: Janusz Krzysztofik > >> > >> DSP public peripherals used to work on OMAP1510 based (or all OMAP1 class?) > >> machines as long as old dspgateway code were present in th

Re: [PATCH 1/3] omap: zoom: reuse zoom2 board file for zoom3

2009-10-23 Thread Felipe Balbi
On Fri, Oct 23, 2009 at 02:23:24PM -0500, Vikram Pandita wrote: > Move: > arch/arm/mach-omap2/board-zoom2.c -> arch/arm/mach-omap2/board-zoom2-zoom3.c > > Zoom2 has an omap3430 SOM board attached to a (main board + debug board) > Zoom3 has an omap3630 SOM board attached to same (main board + debug

n8x0 idle power problem

2009-10-23 Thread Felix Xiaozhu Lin
I am trying to compile a linux-omap kernel for n810 that can do good idle power management. However, this seems to be harder than I expected. I've done all following measurements with /sys/power/sleep_while_idle set to 1. Compiler is arm-linux-gnueabi-gcc 4.2. I use n8x0_defconfig. * Maemo kern

Re: [PATCH] [OMAP] GPIO Module disable if all pins inactive

2009-10-23 Thread Nishanth Menon
Varadarajan, Charu Latha had written, on 10/23/2009 10:55 AM, the following: From: Charulatha V This patch disables a GPIO module when all the pins of GPIO module are inactive (clock gating forced at module level) and enables the module when any gpio in the module is requested. Signed-off-by:

Re: [PATCH] [OMAP] GPIO Module is reset during initialization

2009-10-23 Thread Nishanth Menon
Felipe Balbi had written, on 10/23/2009 05:56 PM, the following: On Fri, Oct 23, 2009 at 09:25:29PM +0530, ch...@ti.com wrote: From: Charulatha V During initialization, GPIO module is reset using soft reset bit of SYSCONFIG register Signed-off-by: Charulatha V --- arch/arm/plat-omap/gpio.c

RE: [PATCH] [OMAP] GPIO Module disable if all pins inactive

2009-10-23 Thread Varadarajan, Charu Latha
>Varadarajan, Charu Latha had written, on 10/23/2009 10:55 AM, the following: >> From: Charulatha V > >> >> This patch disables a GPIO module when all the pins of GPIO >> module are inactive (clock gating forced at module level) and >> enables the module when any gpio in the module is requested. >>

[PATCH 0/2 v3] OMAP3: PM: refactor Smart Reflex

2009-10-23 Thread Nishanth Menon
Hi, Based on linux-omap PM branch(kevin's tree) commit 25c7b64bf80176463aa741407318e0e6b21cfd71 V4 - More changes: * Guilhem's review comments for timeout return value * Changes to make sr_list and OPP table dynamic selection based on cpu_type * vsel dbgfs entry added for fo

[PATCH 1/2 v3] OMAP3: PM: SR: prepare: remove old SR code

2009-10-23 Thread Nishanth Menon
Preparation: remove original smart reflex code base. This prevents the refactor appearing as a confusing diff and hindering patch review process. Signed-off-by: Nishanth Menon Cc: Rajendra Nayak Cc: Roger Quadros Cc: Kalle Jokiniemi Cc: Teerth Reddy Cc: Kevin Hilman Cc: Paul Walmsley Cc: Hö

Re: [PATCH] [OMAP] GPIO Module disable if all pins inactive

2009-10-23 Thread Nishanth Menon
Varadarajan, Charu Latha had written, on 10/23/2009 11:05 PM, the following: #endif + if (cpu_is_omap24xx() || cpu_is_omap34xx() || cpu_is_omap44xx()) { + if (!bank->>gpio_status) { + ctrl = __raw_readl(bank->>base + OMAP24XX_GPIO_CTRL); +