RE: [PATCH] i2c-omap: Set latency requirements only once for several messages

2010-12-03 Thread Paul Walmsley
Hello Ben, Samu, On Fri, 3 Dec 2010, samu.p.onk...@nokia.com wrote: -Original Message- From: ext Ben Dooks [mailto:ben-...@fluff.org] Sent: 03 December, 2010 04:38 To: Onkalo Samu.P (Nokia-MS/Tampere) Cc: ben-li...@fluff.org; linux-...@vger.kernel.org; khil...@deeprootsystems.com;

Re: [PATCH v7] OMAP2+: PM: omap device: API's for handling mstandby mode

2010-12-03 Thread Cousson, Benoit
On 12/2/2010 2:59 PM, G, Manjunath Kondaiah wrote: Certain errata in OMAP2+ processors will require forcing master standby to no standby mode before completing on going operation. Without this, the results will be unpredictable. Since current implementation of PM run time framework does not

RE: [PATCH v2 0/5] Split powerdomain framework into plat specific/independent

2010-12-03 Thread Paul Walmsley
Hi Rajendra, On Thu, 2 Dec 2010, Rajendra Nayak wrote: This seems to be popping up with powerdomains.h file (which now has func declarations) being included in multiple source files. It earlier had only static structs and was included in one source file. I thought the right way to fix this

Re: Mainline OMAP3 breakage (and other OMAP?)

2010-12-03 Thread Russell King - ARM Linux
On Fri, Dec 03, 2010 at 12:09:55PM +0900, Paul Mundt wrote: On Thu, Dec 02, 2010 at 02:32:08PM -0800, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [101202 14:06]: On Thu, Dec 02, 2010 at 01:58:38PM -0800, Tony Lindgren wrote: * Russell King - ARM Linux

RE: [PATCH v2 0/5] Split powerdomain framework into plat specific/independent

2010-12-03 Thread Rajendra Nayak
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Friday, December 03, 2010 2:11 PM To: Rajendra Nayak Cc: linux-omap@vger.kernel.org; khil...@deeprootsystems.com; Benoit Cousson Subject: RE: [PATCH v2 0/5] Split powerdomain framework into plat specific/independent

RE: [PATCH] OMAP: pm.c correct the initcall for an early init.

2010-12-03 Thread Gopinath, Thara
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Thursday, December 02, 2010 7:03 PM To: Gopinath, Thara Cc: linux-omap@vger.kernel.org Subject: Re: [PATCH] OMAP: pm.c correct the initcall for an early init. Thara Gopinath th...@ti.com writes:

Re: [PATCH v7] OMAP2+: PM: omap device: API's for handling mstandby mode

2010-12-03 Thread G, Manjunath Kondaiah
* Cousson, Benoit b-cous...@ti.com [2010-12-03 09:38:35 +0100]: On 12/2/2010 2:59 PM, G, Manjunath Kondaiah wrote: Certain errata in OMAP2+ processors will require forcing master standby to no standby mode before completing on going operation. Without this, the results will be unpredictable.

Re: Unbalanced IRQ wake disable during resume from static suspend

2010-12-03 Thread Paul Walmsley
Hi Kevin On Thu, 2 Dec 2010, Kevin Hilman wrote: I guess this hasn't been seen before since we haven't tested the sysfs wakeup interface for the omap-serial driver. For on-chip OMAP UARTs, using the sysfs interface isn't needed as the serial core is already doing device_init_wakeup(dev,

RE: Unbalanced IRQ wake disable during resume from static suspend

2010-12-03 Thread Paul Walmsley
Hello Santosh On Thu, 2 Dec 2010, Santosh Shilimkar wrote: Just a wild guess here but is this because the 'set_wake' is not setup and then fw might be returning some error whenever driver invoke this API as part of enable_irq_wake() callback If that being the case, below patch might might

Re: UART RX wakeup from sleep not working

2010-12-03 Thread Paul Walmsley
Hi Rick On Thu, 2 Dec 2010, Rick Bronson wrote: If the OMAP is in full-chip retention, the UART's asynchronous wakeup mechanism won't work, which appears to be what you're trying to use. That will only work when PER is fully powered, as far as I know. You'll need to use the IO chain

Re: UART RX wakeup from sleep not working

2010-12-03 Thread Paul Walmsley
By the way, if you're using a really recent kernel, you may want to see if sending a few breaks down the line wakes it up: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg39735.html Based on your problem description, I doubt this will help, but it's worth a try. - Paul -- To

RE: Unbalanced IRQ wake disable during resume from static suspend

2010-12-03 Thread Santosh Shilimkar
-Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Friday, December 03, 2010 3:53 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Govindraj; khil...@deeprootsystems.com Subject: RE: Unbalanced IRQ wake disable during resume from static suspend Hello

Re: Unbalanced IRQ wake disable during resume from static suspend

2010-12-03 Thread Govindraj
On Fri, Dec 3, 2010 at 4:38 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: -Original Message- From: Paul Walmsley [mailto:p...@pwsan.com] Sent: Friday, December 03, 2010 3:53 PM To: Santosh Shilimkar Cc: linux-omap@vger.kernel.org; Govindraj; khil...@deeprootsystems.com

RE: Unbalanced IRQ wake disable during resume from static suspend

2010-12-03 Thread Santosh Shilimkar
-Original Message- From: Govindraj [mailto:govindraj...@gmail.com] Sent: Friday, December 03, 2010 4:51 PM To: Santosh Shilimkar Cc: Paul Walmsley; linux-omap@vger.kernel.org; khil...@deeprootsystems.com Subject: Re: Unbalanced IRQ wake disable during resume from static suspend On

[PATCH v3 6/6] OMAP4: powerdomain: Add pwrdm_clear_all_prev_pwrst

2010-12-03 Thread Rajendra Nayak
From: Santosh Shilimkar santosh.shilim...@ti.com OMAP4430 ES2 has additional bitfields in PWRSTST register which help identify the previous power state entered by the powerdomain. Add pwrdm_clear_all_prev_pwrst api to support this. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com

[PATCH v3 0/6] Split powerdomain framework into plat specific/independent

2010-12-03 Thread Rajendra Nayak
OMAP4 powerdomains have some inherent differences as compared to OMAP2/3 powerdomains, starting with register offsets being different to clubbing of multiple controls into one register and in some cases splitting of control into multiple registers. There are also new features like

[PATCH v3 4/6] OMAP: powerdomain: Arch specific funcs for logic control

2010-12-03 Thread Rajendra Nayak
Define the following architecture specific funtions for omap2/3/4 .pwrdm_set_logic_retst .pwrdm_read_logic_pwrst .pwrdm_read_prev_logic_pwrst .pwrdm_read_logic_retst Convert the platform-independent framework to call these functions. Signed-off-by: Rajendra Nayak rna...@ti.com Cc: Paul Walmsley

[PATCH v3 1/6] OMAP: powerdomain: Move static allocations from powerdomains.h to a .c file

2010-12-03 Thread Rajendra Nayak
From: Rajendra Nayak rna...@t.com powerdomains.h header today has only static definitions. Adding any function declarations into it and including it in multiple source file is expected to cause issues. Hence move all the static definitions from powerdomains.h file into powerdomains_data.c file.

[PATCH v3 5/6] OMAP: powerdomain: Arch specific funcs for mem control

2010-12-03 Thread Rajendra Nayak
Define the following architecture specific funtions for omap2/3/4 .pwrdm_set_mem_onst .pwrdm_set_mem_retst .pwrdm_read_mem_pwrst .pwrdm_read_prev_mem_pwrst .pwrdm_read_mem_retst .pwrdm_clear_all_prev_pwrst .pwrdm_enable_hdwr_sar .pwrdm_disable_hdwr_sar .pwrdm_wait_transition

[PATCH v3 3/6] OMAP: powerdomain: Arch specific funcs for state control

2010-12-03 Thread Rajendra Nayak
Define the following architecture specific funtions for omap2/3/4 .pwrdm_set_next_pwrst .pwrdm_read_next_pwrst .pwrdm_read_pwrst .pwrdm_read_prev_pwrst Convert the platform-independent framework to call these functions. Signed-off-by: Rajendra Nayak rna...@ti.com Cc: Paul Walmsley p...@pwsan.com

Re: Mainline OMAP3 breakage (and other OMAP?)

2010-12-03 Thread Felipe Contreras
On Fri, Dec 3, 2010 at 10:41 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Dec 03, 2010 at 12:09:55PM +0900, Paul Mundt wrote: This has been fixed since -rc2. So it is.  However, the ioremap fix is wrong.        } else {                paddr = memblock_alloc(size,

Re: [PATCH v7] OMAP2+: PM: omap device: API's for handling mstandby mode

2010-12-03 Thread Cousson, Benoit
On 12/3/2010 10:47 AM, G, Manjunath Kondaiah wrote: * Cousson, Benoitb-cous...@ti.com [2010-12-03 09:38:35 +0100]: [...] v7: replaced mutex lock with spin lock. Added use count for controlling access to sysconfig registers in case if overlapping request/release API's are used. I'm not

Re: [PATCH 1/2] AM35x: musb: fix compilation error

2010-12-03 Thread Felipe Balbi
On Thu, Dec 02, 2010 at 04:13:50PM +0530, Gupta, Ajay Kumar wrote: why don't you add a proper otg_transceiver driver for am35x ? Is it like omap4's internal phy ? A separate block ? AM35x PHY is built inside the ip and we need to configure it through PHY control register. Additionally we

Re: [GIT PULL] FOR TESTING ONLY

2010-12-03 Thread Felipe Balbi
On Thu, Dec 02, 2010 at 02:27:36PM -0800, Tony Lindgren wrote: Hi, * Felipe Balbi ba...@ti.com [101202 03:38]: Hi Tony, I have a gigantic amount of patches on musb starting to move it to a place where we can build am35x.c, omap2430.c and tusb6010.c together and have a working binary. There

Re: Mainline OMAP3 breakage (and other OMAP?)

2010-12-03 Thread Russell King - ARM Linux
On Fri, Dec 03, 2010 at 02:10:23PM +0200, Felipe Contreras wrote: On Fri, Dec 3, 2010 at 10:41 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Dec 03, 2010 at 12:09:55PM +0900, Paul Mundt wrote: This has been fixed since -rc2. So it is.  However, the ioremap fix is

Re: Mainline OMAP3 breakage (and other OMAP?)

2010-12-03 Thread Felipe Contreras
On Fri, Dec 3, 2010 at 3:07 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Dec 03, 2010 at 02:10:23PM +0200, Felipe Contreras wrote: On Fri, Dec 3, 2010 at 10:41 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Dec 03, 2010 at 12:09:55PM +0900, Paul Mundt

RE: [PATCH 1/2] AM35x: musb: fix compilation error

2010-12-03 Thread Gupta, Ajay Kumar
We already have generic APIs so I think we can pass function pointers to musb driver via struct omap_musb_board_data, struct omap_musb_board_data { +void(*phy_on) (void) +void(*phy_off) (void) +void (*intr_clr) (void) } Reset part can be done in board file itself

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-03 Thread Laurent Pinchart
Hi Hans, Adding by the original CC list which was dropped by mistake. On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: On Friday, December 03, 2010 11:19:36 Laurent Pinchart wrote: On Sunday 28 November 2010 16:57:00 you wrote: On Sunday, November 28, 2010 13:34:45 Laurent Pinchart

Re: [RFC/PATCH v6 03/12] media: Entities, pads and links

2010-12-03 Thread Mark Brown
On Fri, Dec 03, 2010 at 02:50:58PM +0100, Laurent Pinchart wrote: On Friday 03 December 2010 13:06:18 Hans Verkuil wrote: Just to confirm thinks, Mark's proposal is to replace 'connected' by 'linked' and 'active' by 'connected'. Are we on the same page here ? Yes, but when I read it

Re: [PATCH V2] omap: nand: remove hardware ECC as default

2010-12-03 Thread Artem Bityutskiy
On Tue, 2010-11-30 at 10:05 -0800, Tony Lindgren wrote: * Sukumar Ghorai s-gho...@ti.com [101119 06:36]: CONFIG_MTD_NAND_OMAP_HWECC defined wrongly in patch submitted for 2.6.36. This flag enables hw ecc by default. Boards like beagle and pandora uses sw ecc for write (e.g. binary flushed

Re: [PATCH V2] omap: nand: remove hardware ECC as default

2010-12-03 Thread David Woodhouse
On Fri, 2010-12-03 at 18:22 +0200, Artem Bityutskiy wrote: On Tue, 2010-11-30 at 10:05 -0800, Tony Lindgren wrote: * Sukumar Ghorai s-gho...@ti.com [101119 06:36]: CONFIG_MTD_NAND_OMAP_HWECC defined wrongly in patch submitted for 2.6.36. This flag enables hw ecc by default. Boards like

Re: [PATCH v5 09/14] OMAP: DMA: Convert DMA library into platform driver

2010-12-03 Thread G, Manjunath Kondaiah
Hi Tony, * Tony Lindgren t...@atomide.com [2010-12-02 12:52:19 -0800]: * G, Manjunath Kondaiah manj...@ti.com [101202 11:55]: Note that even with these three fixes, 5912OSK still fails to boot to init. Maybe something wrong with the framebuffer DMA? Not sure. I don't have

Re: [PATCH V2] omap: nand: remove hardware ECC as default

2010-12-03 Thread Tony Lindgren
* David Woodhouse dw...@infradead.org [101203 08:29]: On Fri, 2010-12-03 at 18:22 +0200, Artem Bityutskiy wrote: On Tue, 2010-11-30 at 10:05 -0800, Tony Lindgren wrote: * Sukumar Ghorai s-gho...@ti.com [101119 06:36]: CONFIG_MTD_NAND_OMAP_HWECC defined wrongly in patch submitted for

[PATCH 1/5 v2] OMAP3: PM: Update clean_l2 to use v7_flush_dcache_all

2010-12-03 Thread Nishanth Menon
From: Richard Woodruff r-woodru...@ti.com Analysis in TI kernel with ETM showed that using cache mapped flush in kernel instead of SO mapped flush cost drops by 65% (3.39mS down to 1.17mS) for clean_l2 which is used during sleep sequences. Overall: - speed up - unfortunately there

[PATCH 3/5 v3] OMAP3630: PM: Erratum i608: disable RTA

2010-12-03 Thread Nishanth Menon
Erratum id: i608 RTA (Retention Till Access) feature is not supported and leads to device stability issues when enabled. This impacts modules with embedded memories on OMAP3630 Workaround is to disable RTA on boot and coming out of core off. For disabling rta coming out of off mode, we do this by

[PATCH 5/5 v3] OMAP3630: PM: Erratum i583: disable coreoff if ES1.2

2010-12-03 Thread Nishanth Menon
From: Eduardo Valentin eduardo.valen...@nokia.com Limitation i583: Self_Refresh Exit issue after OFF mode Issue: When device is waking up from OFF mode, then SDRC state machine sends inappropriate sequence violating JEDEC standards. Impact: OMAP3630 ES1.2 is impacted as follows depending on

[PATCH 4/5 v3] OMAP3630: PM: Disable L2 cache while invalidating L2 cache

2010-12-03 Thread Nishanth Menon
From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com This disables L2 cache before invalidating it and reenables it afterwards. This is be done according to ARM documentation. Currently this is identified as being needed on OMAP3630 as the disable/enable is done from public side while, on

[PATCH 0/5 v3] OMAP: idle path errata fixes

2010-12-03 Thread Nishanth Menon
Hi, as discussed in [1], here is step 2 - idle path errata fixes. this is the next rev incorporating comments from V2 post of this series. V2: http://marc.info/?l=linux-omapm=129106200408109w=2 Major change in V3: Erratas are now handled per silicon - it is much cleaner :) no

[PATCH 2/5 v2] OMAP3: PM: Erratum i581 support: dll kick strategy

2010-12-03 Thread Nishanth Menon
From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Erratum i581 impacts OMAP3 platforms. PRCM DPLL control FSM removes SDRC_IDLEREQ before DPLL3 locks causing the DPLL not to be locked at times. IMPORTANT: *) This is not a complete workaround implementation as recommended by the silicon

[PATCH] omap: remove dead wdt code in plat-omap/devices.c

2010-12-03 Thread Anand Gadiyar
Commit f2ce62312650 (OMAP: WDT: Split OMAP1 and OMAP2PLUS device registration) removed omap_init_wdt and related structures from plat-omap/devices.c. However a subsequent commit or merge seems to have reintroduced these by accident. The caller of omap_init_wdt was also removed by that commit, and

[PATCH] musb: am35x: fix compile error due to control apis

2010-12-03 Thread Ajay Kumar Gupta
As the control.h have been moved to new location and it's uses are not allowed to drivers directly so moving the phy control, interrupt clear and reset functionality to board files. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Patch created against today's linus tree.

[PATCH RFC -next] omap: fix omap2plus_defconfig build

2010-12-03 Thread Anand Gadiyar
Having CONFIG_SWP_EMULATE causes the build of omap2plus_defconfig to fail as below: CC arch/arm/kernel/swp_emulate.o /tmp/ccCx8SX8.s: Assembler messages: /tmp/ccCx8SX8.s:339: Error: selected processor does not support ARM mode `ldrexb r7,[r6]' /tmp/ccCx8SX8.s:340: Error: selected

RE: [PATCH] musb: am35x: fix compile error due to control apis

2010-12-03 Thread Anand Gadiyar
Ajay Kumar Gupta wrote: As the control.h have been moved to new location and it's uses are not allowed to drivers directly so moving the phy control, interrupt clear and reset functionality to board files. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com --- Patch created against today's

[PATCH -next] omap2430: hwmod: remove stray declaration

2010-12-03 Thread Anand Gadiyar
Patch OMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430 in linux-next as of 20101203 introduced the following build warning - fix this by removing the stray i2c_dev_attr. arch/arm/mach-omap2/omap_hwmod_2430_data.c:483: warning: 'i2c_dev_attr' defined but not used Signed-off-by: Anand Gadiyar

Re: [PATCH] musb: am35x: fix compile error due to control apis

2010-12-03 Thread Sergei Shtylyov
Hello. Ajay Kumar Gupta wrote: As the control.h have been moved to new location and it's uses are not allowed to drivers directly so moving the phy control, interrupt clear and reset functionality to board files. Signed-off-by: Ajay Kumar Gupta ajay.gu...@ti.com [...] diff --git

Re: UART RX wakeup from sleep not working

2010-12-03 Thread Rick Bronson
Hi Paul, Thanks again for all of the help. It's described in the 34xx TRM sections 4.11.2 Device Off-Mode Configuration and 4.11.3 CORE Power Domain Off-Mode Sequences. All the references to off-mode just confuse things, since AFAIK, this wakeup mechanism also applies to the device in

comm with FTDI usb chip from davinci dm3730 with linux and Arm

2010-12-03 Thread Jeff Graham
Hello List, I am working with my Texas Instruments DM3730 EVM board running its default Linux kernel 2.6.32 and default Linux distro Arago 2010.05. The cpu info is: Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS: 998.84 Features: swp half thumb fastmult vfp edsp neon

Re: [PATCH v5 09/14] OMAP: DMA: Convert DMA library into platform driver

2010-12-03 Thread Tony Lindgren
* G, Manjunath Kondaiah manj...@ti.com [101203 08:32]: I have done required changes to patch series and tested the same on omap2+ boards. Can you pls test OSK5912 board boot from the below git repo? If OSK5912 boots up(with LCD), I will post the 1st series to LO ML. Yeah seems to boot OK

[PATCH v3 0/4] Introduce hardware spinlock framework

2010-12-03 Thread Ohad Ben-Cohen
OMAP4 introduces a Hardware Spinlock device, which provides hardware assistance for synchronization and mutual exclusion between heterogeneous processors and those not operating under a single, shared operating system (e.g. OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP). The intention

[PATCH v3 1/4] drivers: hwspinlock: add framework

2010-12-03 Thread Ohad Ben-Cohen
Add a platform-independent hwspinlock framework. Hardware spinlock devices are needed, e.g., in order to access data that is shared between remote processors, that otherwise have no alternative mechanism to accomplish synchronization and mutual exclusion operations. Signed-off-by: Ohad Ben-Cohen

[PATCH v3 3/4] OMAP4: hwmod data: Add hwspinlock

2010-12-03 Thread Ohad Ben-Cohen
From: Benoit Cousson b-cous...@ti.com Add hwspinlock hwmod data for OMAP4 chip Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Hari Kanigeri h-kanige...@ti.com Signed-off-by: Ohad Ben-Cohen o...@wizery.com Cc: Paul Walmsley p...@pwsan.com ---

[PATCH v3 2/4] drivers: hwspinlock: add OMAP implementation

2010-12-03 Thread Ohad Ben-Cohen
From: Simon Que s...@ti.com Add hwspinlock support for the OMAP4 Hardware Spinlock device. The Hardware Spinlock device on OMAP4 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP). [o...@wizery.com:

[PATCH v3 4/4] omap: add hwspinlock device

2010-12-03 Thread Ohad Ben-Cohen
From: Simon Que s...@ti.com Build and register an hwspinlock platform device. Although only OMAP4 supports the hardware spinlock module (for now), it is still safe to run this initcall on all omaps, because hwmod lookup will simply fail on hwspinlock-less platforms. Signed-off-by: Simon Que

Re: UART RX wakeup from sleep not working

2010-12-03 Thread Paul Walmsley
Hi Rick On Fri, 3 Dec 2010, Rick Bronson wrote: This may be a stupid question, but are you using serial flow control? If not, enabling wakeup on the RTS line isn't going to help. Not a stupid question at all. We are very pin constrained so we only have RX and TX, so no modem lines at

RE: [PATCH v2 3/6] TI816X: Update common OMAP machine specific sources

2010-12-03 Thread Pedanekar, Hemant
Pedanekar, Hemant wrote on Wednesday, December 01, 2010 7:17 AM: Tony Lindgren wrote on Tuesday, November 30, 2010 12:59 AM: * Pedanekar, Hemant hema...@ti.com [101129 09:07]: Tony Lindgren wrote on Saturday, November 06, 2010 2:30 AM: Though based on Cortex A8, TI816X series has

[PATCH 0/4] Patches to make multi-soc handling in entry-armv.S easier

2010-12-03 Thread Tony Lindgren
Hi all, I've got some patches almost ready to go to merge the omap1 configs into a single omap1_defconfig. While working on getting that done, I had to come up with a better solution for entry-armv.S macros to detect the soc we're running on. I suggest we add asm_irq_base and asm_irq_flags as in

[PATCH 1/4] ARM: Add asm_irq_base and asm_irq_flags for entry-armv.S macros

2010-12-03 Thread Tony Lindgren
This way we can use the SoC specific code to detect what we're running on. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/include/asm/irq.h |2 ++ arch/arm/kernel/entry-armv.S | 13 + 2 files changed, 15 insertions(+), 0 deletions(-) diff --git

[PATCH 2/4] omap2+: Use asm_irq_base for entry-macro.S

2010-12-03 Thread Tony Lindgren
This way we can use the generic omap SoC detection code instead. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/include/mach/entry-macro.S | 37 +++- arch/arm/mach-omap2/io.c | 20 + 2 files changed, 25

[PATCH 3/4] omap1: Use asm_irq_flags for entry-macro.S

2010-12-03 Thread Tony Lindgren
Initialize asm_irq_flags in omap_init_irq and use it in get_irqnr_and_base to detect between omap7xx and omap15xx/16xx. Note that both INT_1510_IH2_IRQ and INT_1510_IH2_IRQ are defined as 0, so use INT_1510_IH2_IRQ for both of them. Signed-off-by: Tony Lindgren t...@atomide.com ---

[PATCH 4/4] omap1: Use get_irqnr_preamble

2010-12-03 Thread Tony Lindgren
This saves some cycles for multiple interrupts case. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap1/include/mach/entry-macro.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap1/include/mach/entry-macro.S

Re: [PATCH v3 0/4] Introduce hardware spinlock framework

2010-12-03 Thread David Daney
On 12/03/2010 03:50 PM, Ohad Ben-Cohen wrote: OMAP4 introduces a Hardware Spinlock device, which provides hardware assistance for synchronization and mutual exclusion between heterogeneous processors and those not operating under a single, shared operating system (e.g. OMAP4 has dual Cortex-A9,

Re: OMAP2+: PM/serial: hold console semaphore while OMAP UARTs are disabled

2010-12-03 Thread Paul Walmsley
Salut Jean On Thu, 2 Dec 2010, Jean Pihet wrote: On Thu, Dec 2, 2010 at 8:23 AM, Paul Walmsley p...@pwsan.com wrote: On Thu, 25 Nov 2010, Jean Pihet wrote: On Thu, Nov 25, 2010 at 6:35 PM, Paul Walmsley p...@pwsan.com wrote: On Thu, 25 Nov 2010, Jean Pihet wrote: On Thu, Nov 25, 2010

Re: [PATCH v3 0/4] Introduce hardware spinlock framework

2010-12-03 Thread Ohad Ben-Cohen
On Sat, Dec 4, 2010 at 2:29 AM, David Daney dda...@caviumnetworks.com wrote: Does anything other than OMAP4 have one of these things? I'm not aware of any, but David Brownell had some ideas about it in our previous v2 discussion (see

[PATCH v1 0/9] OMAP: DMA: hwmod and DMA as platform device

2010-12-03 Thread G, Manjunath Kondaiah
Patch series to convert DMA library into platform driver using platform device model and adapting hwmod for omap2+. The original patch series : http://comments.gmane.org/gmane.linux.ports.arm.omap/46953 has been split into two patch series based on suggestion from Tony.

[PATCH v1 1/9] OMAP: DMA: Replace read/write macros with functions

2010-12-03 Thread G, Manjunath Kondaiah
Prepare DMA library to get converted into DMA driver using platform device model and hwmod infrastucture(for omap2+, resource structures for omap1) The low level read/write macros are replaced with static inline functions and register offsets are handled through static register offset tables

[PATCH v1 2/9] OMAP: DMA: Introduce errata handling feature

2010-12-03 Thread G, Manjunath Kondaiah
Implement errata handling to use flags instead of cpu_is_* and cpu_class_* in the code. The errata flags are initialized at init time and during runtime we are using the errata variable (via the IS_DMA_ERRATA macro) to execute the required errata workaround. Reused errata handling patch from:

[PATCH v1 3/9] OMAP2420: hwmod data: add system DMA

2010-12-03 Thread G, Manjunath Kondaiah
Add OMAP2420 DMA hwmod data and also add required DMA device attributes. Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim...@ti.com ---

[PATCH v1 4/9] OMAP2430: hwmod data: add system DMA

2010-12-03 Thread G, Manjunath Kondaiah
Add OMAP2430 DMA hwmod data and also add required DMA device attributes. Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim...@ti.com ---

[PATCH v1 5/9] OMAP3: hwmod data: add system DMA

2010-12-03 Thread G, Manjunath Kondaiah
Add OMAP3 DMA hwmod data Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 97 1 files

[PATCH v1 6/9] OMAP4: hwmod data: add system DMA

2010-12-03 Thread G, Manjunath Kondaiah
From: Benoit Cousson b-cous...@ti.com Add OMAP4 DMA hwmod data Signed-off-by: Benoit Cousson b-cous...@ti.com Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim...@ti.com ---

[PATCH v1 7/9] OMAP1: DMA: Implement in platform device model

2010-12-03 Thread G, Manjunath Kondaiah
Implement OMAP1 DMA as platform device and add support for registering through platform device layer using resource structures. Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar

[PATCH v1 8/9] OMAP2+: DMA: hwmod: Device registration

2010-12-03 Thread G, Manjunath Kondaiah
Prepare OMAP2+ DMA to use hwmod infrastructure so that DMA can register as platform device. Signed-off-by: G, Manjunath Kondaiah manj...@ti.com Cc: Benoit Cousson b-cous...@ti.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Santosh Shilimkar santosh.shilim...@ti.com ---

Re: [PATCH 0/4] Patches to make multi-soc handling in entry-armv.S easier

2010-12-03 Thread Nicolas Pitre
On Fri, 3 Dec 2010, Tony Lindgren wrote: Hi all, I've got some patches almost ready to go to merge the omap1 configs into a single omap1_defconfig. While working on getting that done, I had to come up with a better solution for entry-armv.S macros to detect the soc we're running on. I