RE: [PATCH] arm,davinci: configure davinci aemif chipselects through OF

2011-12-08 Thread Nori, Sekhar
On Thu, Dec 08, 2011 at 13:17:05, Heiko Schocher wrote: > >> diff --git a/Documentation/devicetree/bindings/arm/davinci/aemif.txt > >> b/Documentation/devicetree/bindings/arm/davinci/aemif.txt > >> new file mode 100644 > >> index 000..c9ed551 > >> --- /dev/null > >> +++ b/Documentation/device

Re: [PATCH] arm, davinci: configure davinci aemif chipselects through OF

2011-12-08 Thread Heiko Schocher
Hello Nori, Nori, Sekhar wrote: > On Thu, Dec 08, 2011 at 13:17:05, Heiko Schocher wrote: > diff --git a/Documentation/devicetree/bindings/arm/davinci/aemif.txt b/Documentation/devicetree/bindings/arm/davinci/aemif.txt new file mode 100644 index 000..c9ed551 --- /dev

[PATCH] ARM: davinci: add missing commas on last members of structure and arrays

2011-12-08 Thread Shankarmurthy, Akshay
This patch adds missing commas on last members of structure and arrays. This makes less harder to add additional initializer at the end of the existing initializers and avoids the conflict of more line being modified. This was pointed out by Russell King in his pet peeves mail at http://www.spinics

Re: OMAP L138 usb_submit_urb return -28

2011-12-08 Thread Sergei Shtylyov
Hello. On 07-12-2011 18:13, AnĂ­bal Almeida Pinto wrote: On an OMAP L138 custom board, the USB is used to conect to a SMS95xx (hub usb + ethernet) that have a Freescale Chip (usb uart conversor) and a eXar chip (usb multiple uart conversor) connected. The eXar and Freescale are self powered c

RE: [PATCH] arm,davinci: configure davinci aemif chipselects through OF

2011-12-08 Thread Nori, Sekhar
Hi Heiko, On Thu, Dec 08, 2011 at 14:36:47, Heiko Schocher wrote: > diff --git a/arch/arm/mach-davinci/aemif.c > b/arch/arm/mach-davinci/aemif.c > index 1ce70a9..12c559f 100644 > --- a/arch/arm/mach-davinci/aemif.c > +++ b/arch/arm/mach-davinci/aemif.c > @@ -13,12 +

Re: Cause of non working GPIO IRQ on a OMAP-L138

2011-12-08 Thread Albert Burbea
Thanks anyway for sharing - it was instructive On Wed, Dec 7, 2011 at 1:52 PM, Jean-Christian de Rivaz wrote: > On a OMAP-L138 custom board, the GPIO 5,11 is used as an interrupt for the > wl12xx driver. It is declared this way in the board file: > > #define XBRD_WLAN_IRQ GPIO_TO_PIN(5, 11) >

[PATCH v4 2/5] ARM: davinci: dm644x: remove the macros from the header to move to c file

2011-12-08 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm644x platform file from platform header dm644x.h to dm644x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/dm644x.c |7 +++ arch/arm/mach-davinci/include/mach/dm644x.h

[PATCH v4 1/5] davinci: vpif: remove obsolete header file inclusion

2011-12-08 Thread Manjunath Hadli
remove inclusion of header files from vpif.h and vpif_dispaly.c and add appropriate header file for building. Signed-off-by: Manjunath Hadli --- drivers/media/video/davinci/vpif.h |2 +- drivers/media/video/davinci/vpif_display.c |2 -- 2 files changed, 1 insertions(+), 3 deletio

[PATCH v4 0/5] ARM: davinci: re-arrange definitions to have a common davinci header

2011-12-08 Thread Manjunath Hadli
Re-arrange definitions and remove unnecessary code so that we can have a common header for all davinci platforms. This will enable us to share defines and enable common routines to be used without polluting hardware.h. This patch set forms the base for a later set of patches for having a common sy

[PATCH v4 3/5] ARM: davinci: dm365: remove the macros from the header to move to c file

2011-12-08 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm365 platform file from platform header dm365.h to dm365.c as they are used only in the c file. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/dm365.c | 16 arch/arm/mach-davinci/include/mach/dm3

[PATCH v4 4/5] ARM: davinci: dm646x: remove the macros from the header to move to c file

2011-12-08 Thread Manjunath Hadli
move the register base addresses and offsets used only by dm646x platform file from platform header dm646x.h to dm646x.c as they are used only in the c file. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/dm646x.c |7 +++ arch/arm/mach-davinci/include/mach/dm646x.h

[PATCH v4 5/5] ARM: davinci: create new common platform header for davinci

2011-12-08 Thread Manjunath Hadli
remove the code from individual platform header files for dm365, dm355, dm644x and dm646x and consolidate it into a single and common header file davinci.h. Signed-off-by: Manjunath Hadli --- arch/arm/mach-davinci/board-dm355-evm.c |2 +- arch/arm/mach-davinci/board-dm355-leopard.c |

Re: [PATCH] arm, davinci: configure davinci aemif chipselects through OF

2011-12-08 Thread Arnd Bergmann
On Thursday 08 December 2011, Nori, Sekhar wrote: > DaVinci AEMIF is an async memory interface peripheral implemented > in arch/arm/mach-davinci/aemif.c. It helps interface to NAND, NOR > and other asynchronous memories. Currently it just provides an API > for timing value configuration. The API is