Re: [PATCH v2 09/18] OMAP4: clock data: Remove McASP2, McASP3 and MMC6 clocks

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > From: Jon Hunter > > McASP2, 3 and MMC6 modules are not present in the OMAP4 family. > Remove the fclk and the clksel related to these nodes. > Rename the references that were potentially re-used in order nodes. > > Remove related macros in prcm heade

Re: AM3505/3517 support

2011-07-05 Thread Tony Lindgren
* Raphaël Assénat [110705 07:30]: > On 05/07/11 07:19 AM, Tony Lindgren wrote: > > * Raphaël Assénat [110704 12:51]: > >> > >> The am3505 is apparently so similar to the 3430 that it was treated as > >> such > >> (omap_chip.oc was being set to CHIP_IS_OMAP3430ES3_1). There are however a > >> fe

Re: [PATCH 7/7] 4460sdp/blaze/panda: hwmod: Prevent gpio1 reset during hwmod init

2011-07-05 Thread Tony Lindgren
* Paul Walmsley [110705 14:42]: > On Tue, 5 Jul 2011, Tony Lindgren wrote: > > > > Can't we always reset the registered hwmods automatically one at a time when > > omap_device_build is called? > > The experimental series that I wrote, but haven't posted yet, resets each > IP block during the fi

Re: [PATCH] OMAP: hwmod: add kernel cmdline flag to avoid resetting IP blocks during init

2011-07-05 Thread Tony Lindgren
* Paul Walmsley [110705 18:55]: > On Tue, 5 Jul 2011, Paul Walmsley wrote: > > > For this case, we probably need some board file function to tell the > > hwmod code to disregard a device completely, to tell the kernel to > > pretend that the device does not exist. > > ... and the other problem

Re: [PATCH] OMAP: hwmod: add kernel cmdline flag to avoid resetting IP blocks during init

2011-07-05 Thread Tony Lindgren
* Paul Walmsley [110705 18:37]: > cc'ing Aaro > > On Mon, 4 Jul 2011, Tony Lindgren wrote: > > > Also related is the gptimer12 on secure omaps as reported by Aaro. > > This problem is actually worse. In this case it's not just preventing > reset; we must prevent the kernel from using the devi

Re: [PATCH][RFC] OMAP4: I2C : I2C context save

2011-07-05 Thread Shubhrajyoti
On Wednesday 06 July 2011 12:01 AM, Kevin Hilman wrote: Shubhrajyoti writes: On Monday 20 June 2011 09:05 PM, Kevin Hilman wrote: shubhrajy...@ti.com writes: From: Shubhrajyoti D Currently the OMAP4 doesnot hit device off still the driver may have support for it.Adding support for the same

[PATCH] OMAP4: I2C : I2C context save

2011-07-05 Thread Shubhrajyoti D
Restore of context is not done for OMAP4. This patch adds the OMAP_I2C_FLAG_RESET_REGS_POSTIDLE in the OMAP4 hwmod which activates the restore for OMAP4. Currently the OMAP4 doesnot hit device off still the driver may have support for it. Signed-off-by: Shubhrajyoti D --- Applies on top of patch

Re: [PATCH v2 3/5] OMAP4: powerdomain data: Fix core mem states and missing cefuse flag

2011-07-05 Thread Paul Walmsley
Hi I split the indentation changes into the following patch, queued for 3.1 at git://git.pwsan.com/linux-2.6 in the 'prcm_cleanup_a_3.1' branch. - Paul From: Benoit Cousson Date: Tue, 5 Jul 2011 23:44:32 -0600 Subject: [PATCH] OMAP4: powerdomain data: Fix indentation MIME-Version: 1.0 Content

Re: [PATCH v2 2/5] OMAP4: prm: Remove wrong clockdomain offsets

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > The following commit introduced new macros to define an offset > per clock domain in an instance. > > commit e4156ee52fe617c2c2d80b5db993ff4bf07d7c3c > > OMAP4: CM instances: add clockdomain register offsets > > The PRM contains only two clock con

Re: [PATCH v2 1/5] OMAP4: prcm: Fix errors in few defines name

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > A couple of macros were wrongly changed during the _MOD to _INST > rename done in the following commit: > > OMAP4: PRCM: rename _MOD macros to _INST > cdb54c4457d68994da7c2e16907adfbfc130060d > > Fix them to their original name. > > Some CM and PR

Re: [PATCH v2 3/5] OMAP4: powerdomain data: Fix core mem states and missing cefuse flag

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > Since ES2.0, the core ocmram does not support a different state > than the main power domain anymore during both ON and RET power > domain state. > Since PM is not supported at all in ES1.0, update the common > structure. > > LOWPOWERSTATECHANGE is supp

Re: [PATCH] OMAP: clockdomain: Remove redundant call to pwrdm_wait_transition()

2011-07-05 Thread Paul Walmsley
On Thu, 26 May 2011, Vaibhav Bedia wrote: > The call to pwrdm_wait_transition() in clkdm_clk_enable() > is redundant since the function pwrdm_clkdm_state_switch() > which is called next also does the same thing. > > Signed-off-by: Vaibhav Bedia Thanks, this patch has been queued for 3.1 at git

Re: [PATCH 5/8] OMAP4: PM: TEMP: Prevent l3init from idling/force sleep

2011-07-05 Thread Paul Walmsley
Hi On Thu, 23 Jun 2011, Russell King - ARM Linux wrote: > Do you really want to continue pissing Linus off with churn like this > rather than pressing to get problems fixed _properly_ (eg, getting the > HSMMC driver fixed) ? Thanks for your comments. We won't queue this patch. - Paul -- To un

Re: [PATCH v2 5/5] OMAP4: powerdomain data: Remove unsupported MPU powerdomain state

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > From: Santosh Shilimkar > > On OMAP4430 devices, because of boot ROM code bug, MPU OFF state can't > be attempted independently. When coming out of MPU OFF state, ROM code > disables the clocks of IVAHD, TESLA which is not desirable. Hence the > MPU OF

Re: [PATCH v2 4/5] OMAP4: clock data: Keep GPMC clocks always enabled and hardware managed

2011-07-05 Thread Paul Walmsley
On Fri, 1 Jul 2011, Benoit Cousson wrote: > From: Santosh Shilimkar > > On OMAP4, CPU accesses on unmapped addresses are redirected to GPMC by > L3 interconnect. Because of CPU speculative nature, such accesses are > possible which can lead to indirect access to GPMC and if it's clock is > not r

RE: [PATCH v3 00/20] GPIO: OMAP: driver cleanup and fixes

2011-07-05 Thread DebBarma, Tarun Kanti
[...] > > > Test Details: > > - Compile tested for omap1_defconfig and omap2plus_defconfig. > > - OMAP1710-H3: Bootup test. > > - OMAP2430-SDP, OMAP3430-SDP, OMAP4430-SDP: Functional testing. > > Looks like the functional tests need to be expanded to set different > triggering modes, since they'r

RE: [RFC 5/8] remoteproc: add davinci implementation

2011-07-05 Thread Nori, Sekhar
Hi Mark, On Tue, Jul 05, 2011 at 22:24:21, Grosen, Mark wrote: > > From: Nori, Sekhar > > Sent: Monday, July 04, 2011 10:35 PM > > To: Grosen, Mark; Sergei Shtylyov > > ... > > > > Since procedure to set the boot address varies across DaVinci > > > > platforms, you could have a callback populated

RE: [PATCH v3 12/20] GPIO: OMAP: Use wkup_status for all SoCs

2011-07-05 Thread DebBarma, Tarun Kanti
[..] > > > On OMAP4 we are not allowed to access wakeup_set/clear registers. > > We are allowed, it is not recommended. Probably makes sense to > reference the TRM here. Basically, these are legacy registers and > starting with OMAP4, the legacy registers should not be used in > combination wit

RE: [PATCH v3 12/20] GPIO: OMAP: Use wkup_status for all SoCs

2011-07-05 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Hilman, Kevin > Sent: Wednesday, July 06, 2011 6:21 AM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Shilimkar, Santosh; t...@atomide.com > Subject: Re: [PATCH v3 12/20] GPIO: OMAP: Use wkup_status for all SoCs > > Tarun Kanti DebBarma writes:

RE: [PATCH v3 09/20] GPIO: OMAP: Use level/edge detect reg offsets

2011-07-05 Thread DebBarma, Tarun Kanti
> -Original Message- > From: Hilman, Kevin > Sent: Wednesday, July 06, 2011 5:22 AM > To: DebBarma, Tarun Kanti > Cc: linux-omap@vger.kernel.org; Shilimkar, Santosh; t...@atomide.com; > Varadarajan, Charulatha > Subject: Re: [PATCH v3 09/20] GPIO: OMAP: Use level/edge detect reg > offsets >

Re: [PATCH] OMAP: hwmod: add kernel cmdline flag to avoid resetting IP blocks during init

2011-07-05 Thread Paul Walmsley
On Tue, 5 Jul 2011, Paul Walmsley wrote: > For this case, we probably need some board file function to tell the > hwmod code to disregard a device completely, to tell the kernel to > pretend that the device does not exist. ... and the other problem here is that we currently probe devices via an

Re: [PATCH] OMAP: hwmod: add kernel cmdline flag to avoid resetting IP blocks during init

2011-07-05 Thread Paul Walmsley
cc'ing Aaro On Mon, 4 Jul 2011, Tony Lindgren wrote: > Also related is the gptimer12 on secure omaps as reported by Aaro. This problem is actually worse. In this case it's not just preventing reset; we must prevent the kernel from using the device at all. My understanding is also that it's th

Re: [PATCH v3 12/20] GPIO: OMAP: Use wkup_status for all SoCs

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma writes: > On OMAP4 we are not allowed to access wakeup_set/clear registers. We are allowed, it is not recommended. Probably makes sense to reference the TRM here. Basically, these are legacy registers and starting with OMAP4, the legacy registers should not be used in comb

Re: [PATCH] OMAP4: I2C: Enable FIFO usage for OMAP4

2011-07-05 Thread Menon, Nishanth
On Tue, Jul 5, 2011 at 17:01, Kevin Hilman wrote: > > Shubhrajyoti D writes: > > > Currently the fifo depth is set to zero for OMAP4 which disables > > the FIFO usage. This patch enables the FIFO usage for I2C transactions > > on OMAP4 also. > > > > Tested on omap4430 and 3430. > > > > Reported-B

Re: [PATCH] OMAP4: I2C: Enable FIFO usage for OMAP4

2011-07-05 Thread Kevin Hilman
Shubhrajyoti D writes: > Currently the fifo depth is set to zero for OMAP4 which disables > the FIFO usage. This patch enables the FIFO usage for I2C transactions > on OMAP4 also. > > Tested on omap4430 and 3430. > > Reported-By: Nishanth Menon > Signed-off-by: Shubhrajyoti D > --- > Rebased on

Re: [PATCH v3 09/20] GPIO: OMAP: Use level/edge detect reg offsets

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma writes: > From: Charulatha V > > By adding level and edge detection register offsets and then initializing them > correctly according to OMAP versions during device registrations we can now > remove > lot of revision checks in these functions. > > Signed-off-by: Tarun Kanti

Re: [PATCH v3 00/20] GPIO: OMAP: driver cleanup and fixes

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma writes: > This series is continuation of cleanup of OMAP GPIO driver and fixes. > The cleanup include getting rid of cpu_is_* checks wherever possible, > use of gpio_bank list instead of static array, use of unique platform > specific value associated data member to OMAP plat

Re: [PATCH 7/7] 4460sdp/blaze/panda: hwmod: Prevent gpio1 reset during hwmod init

2011-07-05 Thread Paul Walmsley
Hi Tony On Tue, 5 Jul 2011, Tony Lindgren wrote: > * Paul Walmsley [110705 00:35]: > > On Mon, 4 Jul 2011, Tony Lindgren wrote: > > > * Paul Walmsley [110702 21:09]: > > > > > > > 3. Merge the lazy/unused hwmod reset code, but disable the unused hwmod > > > >reset code until the driver ru

Re: [PATCH v4 00/18] I2C: OMAP: I2C fixes, removal of cpu_is... from driver

2011-07-05 Thread Kevin Hilman
Hi Ben, On Mon, 2011-06-27 at 15:15 -0700, Kevin Hilman wrote: > On Mon, 2011-06-27 at 15:12 -0700, Kevin Hilman wrote: > > > Ping. I don't see this in linux-next yet. > > > > Are you planning to queue this for v3.1? > > > > Oops, pushed send too soon on this... > > As this series touches va

Re: [PATCH] ARM: omap4: rename gpmc clock to gpmc_ick

2011-07-05 Thread Santosh Shilimkar
On 7/5/2011 11:35 AM, Kevin Hilman wrote: Santosh Shilimkar writes: + Benoit On 7/5/2011 5:19 AM, Jan Weitzel wrote: The gpmc clock on omap44xx is called gpmc_ick not gpmc_ck in clock44xx_data.c Signed-off-by: Jan Weitzel This happened after renaming the clock-nodes some time back. Looks g

Re: [PATCH] ARM: omap4: rename gpmc clock to gpmc_ick

2011-07-05 Thread Kevin Hilman
Santosh Shilimkar writes: > + Benoit > > On 7/5/2011 5:19 AM, Jan Weitzel wrote: >> The gpmc clock on omap44xx is called gpmc_ick not gpmc_ck in >> clock44xx_data.c >> >> Signed-off-by: Jan Weitzel > This happened after renaming the clock-nodes some time back. > Looks good to me as a fix though i

Re: [PATCH][RFC] OMAP4: I2C : I2C context save

2011-07-05 Thread Kevin Hilman
Shubhrajyoti writes: > On Monday 20 June 2011 09:05 PM, Kevin Hilman wrote: >> shubhrajy...@ti.com writes: >> >>> From: Shubhrajyoti D >>> >>> Currently the OMAP4 doesnot hit device off still the >>> driver may have support for it.Adding support for the >>> same. >>> >>> Signed-off-by: Shubhrajyo

Re: [PATCH v3 04/13] OMAP: hwmod: Wait the idle status to be disabled

2011-07-05 Thread Todd Poynor
On Fri, Jul 01, 2011 at 11:09:09PM +0200, Benoit Cousson wrote: > It is mandatory to wait for a module to be in disabled state before > potentially disabling source clock or re-asserting a reset. > > omap_hwmod_idle and omap_hwmod_shutdown does not wait for > the module to be fully idle. > > Add

Re: [PATCH 3/5] arch/arm/mach-omap2/smartreflex.c: add missing error-handling code

2011-07-05 Thread Kevin Hilman
Julia Lawall writes: > From: Julia Lawall > > At this point, the ioremap has taken place, so the error handling code at > the label err_iounmap should be used rather than returning directly. > > The semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r

Re: [PATCHv4 0/3] OMAP: HSMMC: cleanup and runtime pm

2011-07-05 Thread Kevin Hilman
"S, Venkatraman" writes: >> From: Kevin Hilman >> Date: Fri, Jul 1, 2011 at 11:24 PM >> Subject: Re: [PATCHv4 0/3] OMAP: HSMMC: cleanup and runtime pm >> To: c...@laptop.org >> Cc: Balaji T K , linux-omap@vger.kernel.org, >> linux-...@vger.kernel.org, t...@atomide.com, madhu...@ti.com, >> b-cous

Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Kevin Hilman
Alan Stern writes: [...] >>>You have ignored a few very important points: >>> >>>Firstly, system suspend is supposed to work even when runtime PM is >>>not configured. >>> >>>Secondly, the user can disable runtime PM via sysfs at any time. >>>This shouldn't mess up system suspend. >>> >>>Basical

[PATCHv2] arm: platsmp: Allow secondary cpu hotplug with maxcpus=1

2011-07-05 Thread Stephen Boyd
If an ARM system has multiple cpus in the same socket and the kernel is booted with maxcpus=1, secondary cpus are possible but not present due to how platform_smp_prepare_cpus() is called. Since most typical ARM processors don't actually support physical hotplug, initialize the present map to be eq

RE: [RFC 5/8] remoteproc: add davinci implementation

2011-07-05 Thread Grosen, Mark
> From: Nori, Sekhar > Sent: Monday, July 04, 2011 10:35 PM > To: Grosen, Mark; Sergei Shtylyov ... > > > Since procedure to set the boot address varies across DaVinci > > > platforms, you could have a callback populated in platform data > > > which will be implemented differently for original DaV

RE: [RFC 5/8] remoteproc: add davinci implementation

2011-07-05 Thread Grosen, Mark
> From: Nori, Sekhar > Sent: Monday, July 04, 2011 10:30 PM ... > > > https://patchwork.kernel.org/patch/662941/ > > > > Yes, I like this idea - much cleaner. For example, the start() method > > becomes (pseudo-code): > > > > start() > > { > > /* bootaddrreg derived from platform data */ > >

Re: [PATCH] ARM: omap4: rename gpmc clock to gpmc_ick

2011-07-05 Thread Santosh Shilimkar
+ Benoit On 7/5/2011 5:19 AM, Jan Weitzel wrote: The gpmc clock on omap44xx is called gpmc_ick not gpmc_ck in clock44xx_data.c Signed-off-by: Jan Weitzel This happened after renaming the clock-nodes some time back. Looks good to me as a fix though in long run GPMC should be moved to hwmod to a

Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Alan Stern
On Tue, 5 Jul 2011, Felipe Balbi wrote: > > > Well, of > > > course runtime PM will conserve power on runtime, but system suspend > > > should be no different other than an "always deepest sleep state" > > > decision. > > > > No, it is significantly different for several reasons. Some of the >

Re: RTC backup on omap3 (overo)

2011-07-05 Thread Baruch Siach
Hi Patrick, On Tue, Jul 05, 2011 at 02:35:12PM +, Gerber Patrick wrote: > I am using an over Fire with an omap3530. I have added a small Lithium > backup battery to the TWL4030 for RTC backup as recommanded by Gumstix. > I have tried to set the time with date command and shutdown the overo an

Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Felipe Balbi
Hi, On Tue, Jul 05, 2011 at 10:17:14AM -0400, Alan Stern wrote: > On Tue, 5 Jul 2011, Felipe Balbi wrote: > > > > The real problem here is that you guys are trying to use the runtime PM > > > framework to carry out activities during system suspend. That won't > > > work; it's just a bad idea all

[PATCH] OMAP4460: Hwmod: Add hwmod for thermal sensor

2011-07-05 Thread Vishwanath BS
From: Keerthy Patch adds hwmod entry for 4460 thermal sensor module. Thermal sensor module is part of Control module sharing its address space and clocked via Bandgap Functional Clock. Adding a seperate hwmod entry for thermal sensor will enable thermal sensor driver to manage its clock cleanly u

RTC backup on omap3 (overo)

2011-07-05 Thread Gerber Patrick
Hello every one, I am using an over Fire with an omap3530. I have added a small Lithium backup battery to the TWL4030 for RTC backup as recommanded by Gumstix. I have tried to set the time with date command and shutdown the overo and remove power. After restart the date is not the one that I hav

Re: AM3505/3517 support

2011-07-05 Thread Raphaël Assénat
On 05/07/11 07:19 AM, Tony Lindgren wrote: > * Raphaël Assénat [110704 12:51]: >> >> The am3505 is apparently so similar to the 3430 that it was treated as such >> (omap_chip.oc was being set to CHIP_IS_OMAP3430ES3_1). There are however a >> few differences that need to be addressed. I have there

RE: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Alan Stern
On Tue, 5 Jul 2011, Partha Basak wrote: > >> Note that the parent per-se does not have any .suspend & .resume > >hooked > >> up. > > > >Why not? That sounds like a big bug. > > This was a design decision since the parent needs to be activated only > when at-least one child is insmoded. > > If t

Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Alan Stern
On Tue, 5 Jul 2011, Felipe Balbi wrote: > > The real problem here is that you guys are trying to use the runtime PM > > framework to carry out activities during system suspend. That won't > > work; it's just a bad idea all round. Use the proper callbacks to do > > what you want. > > then what's

RE: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Partha Basak
>-Original Message- >From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- >ow...@vger.kernel.org] On Behalf Of Alan Stern >Sent: Monday, July 04, 2011 9:21 PM >To: Partha Basak >Cc: Keshava Munegowda; linux-...@vger.kernel.org; linux- >o...@vger.kernel.org; linux-ker...@vger.kernel.or

Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci

2011-07-05 Thread Felipe Balbi
Hi, On Mon, Jul 04, 2011 at 12:01:24PM -0400, Alan Stern wrote: > On Mon, 4 Jul 2011, Felipe Balbi wrote: > > > sounds to me like a bug on pm runtime ? If you're calling > > pm_runtime_*_sync() family, shouldn't all calls be _sync() too ? > > No. This was a deliberate design decision. It minim

[PATCH] ARM: omap4: rename gpmc clock to gpmc_ick

2011-07-05 Thread Jan Weitzel
The gpmc clock on omap44xx is called gpmc_ick not gpmc_ck in clock44xx_data.c Signed-off-by: Jan Weitzel --- arch/arm/mach-omap2/gpmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 130034b..34bcd17 100644

Re: [PATCHv5 01/11] OMAP: prcm: switch to a chained IRQ handler mechanism

2011-07-05 Thread Felipe Balbi
On Tue, Jul 05, 2011 at 02:32:18PM +0300, Tero Kristo wrote: > On Tue, 2011-07-05 at 13:18 +0200, Balbi, Felipe wrote: > > Hi, > > > > On Tue, Jul 05, 2011 at 01:27:47PM +0300, Tero Kristo wrote: > > > @@ -854,20 +802,35 @@ static int __init omap3_pm_init(void) > > > /* XXX prcm_setup_regs needs

Re: [PATCHv5 01/11] OMAP: prcm: switch to a chained IRQ handler mechanism

2011-07-05 Thread Tero Kristo
On Tue, 2011-07-05 at 13:18 +0200, Balbi, Felipe wrote: > Hi, > > On Tue, Jul 05, 2011 at 01:27:47PM +0300, Tero Kristo wrote: > > @@ -854,20 +802,35 @@ static int __init omap3_pm_init(void) > > /* XXX prcm_setup_regs needs to be before enabling hw > > * supervised mode for powerdomains *

Re: AM3505/3517 support

2011-07-05 Thread Tony Lindgren
* Raphaël Assénat [110704 12:51]: > > The am3505 is apparently so similar to the 3430 that it was treated as such > (omap_chip.oc was being set to CHIP_IS_OMAP3430ES3_1). There are however a > few differences that need to be addressed. I have therefore created a new > CHIP_IS and patched clocks,

Re: [PATCHv5 01/11] OMAP: prcm: switch to a chained IRQ handler mechanism

2011-07-05 Thread Felipe Balbi
Hi, On Tue, Jul 05, 2011 at 01:27:47PM +0300, Tero Kristo wrote: > @@ -854,20 +802,35 @@ static int __init omap3_pm_init(void) > /* XXX prcm_setup_regs needs to be before enabling hw >* supervised mode for powerdomains */ > prcm_setup_regs(); > + ret = omap_prcm_irq_init();

Re: [PATCH 7/7] 4460sdp/blaze/panda: hwmod: Prevent gpio1 reset during hwmod init

2011-07-05 Thread Tony Lindgren
* Paul Walmsley [110705 00:35]: > Hi Tony > > On Mon, 4 Jul 2011, Tony Lindgren wrote: > > > * Paul Walmsley [110702 21:09]: > > > > > Here are some options that come to mind: > > > > > > 1. Wait until the driver runtime PM conversion is finished before doing > > >anything. In the meant

[PATCHv5 07/11] TEMP: serial: added mux support

2011-07-05 Thread Tero Kristo
Just for PRCM chain handler testing purposes. This should be replaced with a proper implementation. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/serial.c | 71 - 1 files changed, 69 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/se

[PATCHv5 08/11] TEMP: OMAP device: change pr_warnings to pr_debugs

2011-07-05 Thread Tero Kristo
Prevents a hang when omap_device would want to print something for serial console device while enabling / disabling its clocks. Signed-off-by: Tero Kristo --- arch/arm/plat-omap/omap_device.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/plat-omap/omap_

[PATCHv5 11/11] OMAP3: pm: do not enable PRCM MPU interrupts manually

2011-07-05 Thread Tero Kristo
This is handled automatically by the PRCM chain interrupt mechanism now. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 34feff4..8b05f14 1006

[PATCHv5 09/11] TEMP: OMAP: serial: remove padconf hacks

2011-07-05 Thread Tero Kristo
These are no longer needed as omap_hwmod takes care of multiplexing of pads. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/serial.c | 25 + 1 files changed, 1 insertions(+), 24 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c i

[PATCHv5 10/11] TEMP: OMAP3: pm: disable / enable PRCM chain interrupts during wakeup from suspend

2011-07-05 Thread Tero Kristo
This prevents system hang while attempting to access suspended console. Should most likely be fixed with proper console locking. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/

[PATCHv5 06/11] TEMP: OMAP3: serial: made serial to work properly with PRCM chain handler

2011-07-05 Thread Tero Kristo
This patch is just a temporary hack to allow serial to work properly with the PRCM chain handler. Should be replaced with a proper implementation. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/serial.c | 28 +--- drivers/tty/serial/omap-serial.c |8

[PATCHv5 05/11] TEMP: OMAP3: pm: remove serial resume / idle calls from idle path

2011-07-05 Thread Tero Kristo
This is no longer needed as it will be handled within serial driver itself. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index d8

[PATCHv5 04/11] OMAP2+: hwmod: add support for PAD wakeup interrupts

2011-07-05 Thread Tero Kristo
OMAP hwmod now provides a service routine to parse pending wakeup events and to call registered ISR whenever active wakeups are detected. This routine is called directly from PRCM interrupt handler. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/omap_hwmod.c | 19 ++

[PATCHv5 01/11] OMAP: prcm: switch to a chained IRQ handler mechanism

2011-07-05 Thread Tero Kristo
Introduce a chained interrupt handler mechanism for the PRCM interrupt, so that individual PRCM event can cleanly be handled by handlers in separate drivers. We do this by introducing PRCM event names, which are then matched to the particular PRCM interrupt bit depending on the specific OMAP SoC be

[PATCHv5 03/11] OMAP2+: hwmod: Add API to check IO PAD wakeup status

2011-07-05 Thread Tero Kristo
From: R, Govindraj Add API to determine IO-PAD wakeup event status for a given hwmod dynamic_mux pad. Signed-off-by: Govindraj.R --- arch/arm/mach-omap2/mux.c| 30 ++ arch/arm/mach-omap2/mux.h| 13 +++ arch/arm/mach-om

[PATCHv5 02/11] OMAP2+: hwmod: Add API to enable IO ring wakeup.

2011-07-05 Thread Tero Kristo
From: R, Govindraj Add API to enable IO pad wakeup capability based on mux dynamic pad and wake_up enable flag available from hwmod_mux initialization. Use the wakeup_enable flag and enable wakeup capability for the given pads. Wakeup capability will be enabled/disabled during hwmod idle transit

[PATCHv5 00/11] PRCM chain handler

2011-07-05 Thread Tero Kristo
Changes compared to previous version: - rebased on top of latest PM branch - sparse interrupt numbering in use (thanks Felipe) - removed duplicate pad mapping as proposed by Kevin * io pad parsing done now in a support function provided by omap_hwmod * see patch 4 - using Govindraj's ioring su

[GIT PULL] non-critical omap fixes for v3.1 merge window

2011-07-05 Thread Tony Lindgren
Hi Arnd, Please pull some fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git devel-fixes These are intented for the merge window, there's no rush for these to go in during the -rc cycle this late. I have one fix queued for the -rc cycle still that I'll send sepa

RE: AM3505/3517 support

2011-07-05 Thread Premi, Sanjeev
> -Original Message- > From: linux-omap-ow...@vger.kernel.org > [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Raphaël Assénat > Sent: Tuesday, July 05, 2011 12:59 AM > To: linux-omap@vger.kernel.org > Subject: AM3505/3517 support > > Hello, > > We have a custom designed based on

Re: Re: Re: [PATCH v6 08/18] mfd: twl6040: Add initial support

2011-07-05 Thread Péter Ujfalusi
Hi Samuel, On Monday 04 July 2011 19:39:35 Samuel Ortiz wrote: > That is fine with me, yes. That's why I ACK the MFD patches for Tony to take > them. I have changed the series for Tony in my branch for the following comments: wl6040_is_powered, twl6040_get_rev removal, since these are really smal

[PATCH][RFC] OMAP4: I2C : I2C context save

2011-07-05 Thread Shubhrajyoti D
Currently the OMAP4 doesnot hit device off still the driver may have support for it.Adding support for the same. Signed-off-by: Shubhrajyoti D --- Applies on top of patches from Andy Green http://www.spinics.net/lists/linux-i2c/msg05632.html Tested on OMAP4430 arch/arm/mach-omap2/omap_hwmod_44x

Re: [PATCH 7/7] 4460sdp/blaze/panda: hwmod: Prevent gpio1 reset during hwmod init

2011-07-05 Thread Paul Walmsley
Hi Tony On Mon, 4 Jul 2011, Tony Lindgren wrote: > * Paul Walmsley [110702 21:09]: > > > Here are some options that come to mind: > > > > 1. Wait until the driver runtime PM conversion is finished before doing > >anything. In the meantime, boards with IP blocks that can't be reset > >

Re: [PATCH] OMAP4: I2C: Enable FIFO usage for OMAP4

2011-07-05 Thread Shubhrajyoti
On Friday 01 July 2011 04:20 AM, Kevin Hilman wrote: Shubhrajyoti writes: On Thursday 30 June 2011 04:53 AM, Kevin Hilman wrote: Shubhrajyoti D writes: Currently the fifo depth is set to zero for OMAP4 which disables the FIFO usage. This patch enables the FIFO usage for I2C transactions o

[PATCH] OMAP4: I2C: Enable FIFO usage for OMAP4

2011-07-05 Thread Shubhrajyoti D
Currently the fifo depth is set to zero for OMAP4 which disables the FIFO usage. This patch enables the FIFO usage for I2C transactions on OMAP4 also. Tested on omap4430 and 3430. Reported-By: Nishanth Menon Signed-off-by: Shubhrajyoti D --- Rebased on top of the series by Andy Green http://www