[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 n...@ti.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- Rebased on top of the

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: Shubhrajyotishubhrajy...@ti.com writes: On Thursday 30 June 2011 04:53 AM, Kevin Hilman wrote: Shubhrajyoti Dshubhrajy...@ti.com writes: Currently the fifo depth is set to zero for OMAP4 which disables the FIFO usage. This patch

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 p...@pwsan.com [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

[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 shubhrajy...@ti.com --- Applies on top of patches from Andy Green http://www.spinics.net/lists/linux-i2c/msg05632.html Tested on OMAP4430

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 small

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 the

[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

[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

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

2011-07-05 Thread Tero Kristo
From: R, Govindraj govindraj.r...@ti.com 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

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

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

[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

[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 t-kri...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c |

[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 t-kri...@ti.com --- arch/arm/mach-omap2/pm34xx.c | 19 --- 1 files changed, 0 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c

[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 t-kri...@ti.com --- arch/arm/mach-omap2/serial.c | 28 +--- drivers/tty/serial/omap-serial.c

[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 t-kri...@ti.com --- arch/arm/mach-omap2/pm34xx.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[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 t-kri...@ti.com --- arch/arm/mach-omap2/serial.c | 25 + 1 files changed, 1 insertions(+), 24 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c

[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 t-kri...@ti.com --- 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

[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 t-kri...@ti.com --- arch/arm/plat-omap/omap_device.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[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 t-kri...@ti.com --- arch/arm/mach-omap2/serial.c | 71 - 1 files changed, 69 insertions(+), 2 deletions(-) diff --git

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

2011-07-05 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [110705 00:35]: Hi Tony On Mon, 4 Jul 2011, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [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

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: AM3505/3517 support

2011-07-05 Thread Tony Lindgren
* Raphaël Assénat r...@8d.com [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

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: [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 to be

[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 j.weit...@phytec.de --- 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

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 minimizes

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.org;

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 the

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 the chidren are

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 r...@8d.com [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

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

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

2011-07-05 Thread Vishwanath BS
From: Keerthy j-keer...@ti.com 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

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 round.

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 and

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 most important

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 Weitzelj.weit...@phytec.de This happened after renaming the clock-nodes some time back. Looks good to me as a fix though in long run GPMC should be

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 */ bootaddrreg =

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 DaVinci and

[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

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 st...@rowland.harvard.edu 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.

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

2011-07-05 Thread Kevin Hilman
S, Venkatraman svenk...@ti.com writes: From: Kevin Hilman khil...@ti.com 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 balaj...@ti.com, linux-omap@vger.kernel.org, linux-...@vger.kernel.org,

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

2011-07-05 Thread Kevin Hilman
Julia Lawall ju...@diku.dk writes: From: Julia Lawall ju...@diku.dk 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:

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 a

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

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

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

2011-07-05 Thread Kevin Hilman
Santosh Shilimkar santosh.shilim...@ti.com 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 Weitzelj.weit...@phytec.de This happened after renaming the clock-nodes some time back.

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 Shilimkarsantosh.shilim...@ti.com 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 Weitzelj.weit...@phytec.de This happened after

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 various data

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 p...@pwsan.com [110705 00:35]: On Mon, 4 Jul 2011, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [110702 21:09]: 3. Merge the lazy/unused hwmod reset code, but disable the unused hwmod reset code until

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

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com 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

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

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com writes: From: Charulatha V ch...@ti.com 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.

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

2011-07-05 Thread Kevin Hilman
Shubhrajyoti D shubhrajy...@ti.com 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 n...@ti.com Signed-off-by:

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 khil...@ti.com wrote: Shubhrajyoti D shubhrajy...@ti.com 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

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

2011-07-05 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com 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

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

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 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 Tarun

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

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 with the

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 in platform

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're failing

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 santosh.shilim...@ti.com 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

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 santosh.shilim...@ti.com 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

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

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 vaibhav.be...@ti.com Thanks, this patch has been queued

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 supported

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 PRM

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 controls

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 b-cous...@ti.com Date: Tue, 5 Jul 2011 23:44:32 -0600 Subject: [PATCH] OMAP4: powerdomain data: Fix indentation