[PATCH] DM365: fixed second serial port

2010-06-22 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365

Re: Shouldn't PINMUX configuration be board specific ?

2010-06-17 Thread Thomas Koeller
On Thursday 17 June 2010 11:22:29 Christophe Aeschlimann wrote: > > Actually it is not SoC specific. Possible pinmux configurations are > > defined in SoC specific files, then they are adjusted in board specific > > files using 'davinci_cfg_reg' which is defined in mach/mux.h. > > Indeed. Thanks fo

[PATCH] DM365: fixed second serial port

2010-06-07 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c

Re: [PATCH] DM365: fixed second serial port

2010-06-07 Thread Thomas Koeller
On Monday 07 June 2010 16:27:38 thomas.koel...@baslerweb.com wrote: > From: Thomas Koeller > > The register base address for the second serial port (UART1) was > wrong. > > Signed-off-by: Thomas Koeller > --- Still struggling with git -

Re: [PATCH] DM365: fixed second serial port

2010-06-07 Thread Thomas Koeller
On Monday 07 June 2010 16:22:37 thomas.koel...@baslerweb.com wrote: > From: Thomas Koeller > > The register base address for the second serial port (UART1) was > wrong. > > Signed-off-by: Thomas Koeller Sorry, was too quick to send. This patch is broken - plea

[PATCH] DM365: fixed second serial port

2010-06-07 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci

[PATCH] DM365: fixed second serial port

2010-06-07 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci

Re: [PATCH] DM365: fixed second serial port

2010-06-04 Thread Thomas Koeller
On Wednesday 02 June 2010 08:22:46 Nori, Sekhar wrote: > > Patch is against Kevin's tree. > > Such information (which is not relevant to the fix as such) > should go below the --- in the patch. That way, it does not > get included in the git logs once the patch is committed. O.K., I will address th

[PATCH] DM365: fixed second serial port

2010-06-01 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Patch is against Kevin's tree. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm

[PATCH] DM365: fixed second serial port

2010-06-01 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial port (UART1) was wrong. Patch is against 'arago' tree. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davin

[PATCH] DM365: fixed second serial port

2010-05-31 Thread thomas . koeller
From: Thomas Koeller The register base address for the second serial pot (UART1) was wrong. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/include/mach/serial.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/serial.h b

[PATCH] Make UART1 work

2010-05-31 Thread thomas . koeller
From: Thomas Koeller Due to a wrong address definition, the second serial port on DaVinci DM365 was unusable. Not knowing whether the original definition was actually correct for some other SoC I changed it unconditionally. Patch is agains 'arago' tree. Thomas Koeller (1): DM

[PATCH 3/3] DM365: Added more PINMUX configurations for AEMIF

2010-05-11 Thread thomas . koeller
From: Thomas Koeller More complete AEMIF support for boards. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|5 - arch/arm/mach-davinci/include/mach/mux.h |5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH 2/3] DM365: Make CLKOUTx available

2010-05-11 Thread thomas . koeller
From: Thomas Koeller Added PINMUX configurations for the CLKOUT0 .. CLKOUT2 functions, for boards that want to use these clocks. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|4 arch/arm/mach-davinci/include/mach/mux.h |5 + 2 files changed, 9

[PATCH 1/3] DM365: Added PINMUX definitions for GPIO30..32

2010-05-11 Thread thomas . koeller
From: Thomas Koeller Board code may want to use them. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|3 +++ arch/arm/mach-davinci/include/mach/mux.h |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch

[PATCH 0/3] More PINMUX definitions

2010-05-11 Thread thomas . koeller
From: Thomas Koeller Patch series is against Kevin's tree this time. They introduce new PINMUX settings that are required to support the board I am working on. Thomas Koeller (3): DM365: Added PINMUX definitions for GPIO30..32 DM365: Make CLKOUTx available DM365: Added more P

[PATCH 1/2] DM365: Make CLKOUTx available

2010-05-11 Thread thomas . koeller
From: Thomas Koeller Added PINMUX configurations for the CLKOUT0 .. CLKOUT2 functions. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|4 arch/arm/mach-davinci/include/mach/mux.h |5 + 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a

[PATCH 2/2] DM365: Added more PINMUX configurations for AEMIF

2010-05-11 Thread thomas . koeller
From: Thomas Koeller Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|5 - arch/arm/mach-davinci/include/mach/mux.h |5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c

[PATCH 0/2] DM365: More PINMUX configurations

2010-05-11 Thread thomas . koeller
From: Thomas Koeller These patches add some more PINMUX configurations. Thomas Koeller (2): DM365: Make CLKOUTx available DM365: Added more PINMUX configurations for AEMIF arch/arm/mach-davinci/dm365.c|9 - arch/arm/mach-davinci/include/mach/mux.h | 10

Re: [PATCH 1/4] DM365: Make all SPI units SPI0..SPI4 available

2010-05-06 Thread Thomas Koeller
On Wednesday 05 May 2010 11:32:00 Nori, Sekhar wrote: > Have you based your code on the latest of Kevin's tree? > I don't see the additional IORESOURCE_DMA_* flags in the > current tree. No, all my patches are against the 'arago-project.org/git/projects/linux-davinci.git' repository, because that

[PATCH 4/4] DM365: Added PINMUX definitions for GPIO30..32

2010-05-04 Thread thomas . koeller
From: Thomas Koeller Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|3 +++ arch/arm/mach-davinci/include/mach/mux.h |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index

[PATCH 2/4] DM365: Add platform resource management

2010-05-04 Thread thomas . koeller
From: Thomas Koeller Keeping track of resource assignments greatly simplifies the task of writing board support code. Many drivers for DaVinci peripherals were using resources that had never been allocated, with the notable exception of memory resources. Non-conflicting resource assignment is a

[PATCH 3/4] DAVINCI: Added missing includes

2010-05-04 Thread thomas . koeller
From: Thomas Koeller linux/compiler.h is required for __iomem linux/types.h is required u32 Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/include/mach/common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/common.h b

[PATCH 1/4] DM365: Make all SPI units SPI0..SPI4 available

2010-05-04 Thread thomas . koeller
From: Thomas Koeller Change the SPI setup code to allow use of all SPI units. Also, move some resource assignments (DMA channels, interrupts) to the board code, where they belong. These really should not be hard-coded in dm365.c. The spi setup stuff has been moved to a separate file 'arc

[PATCH 0/4] DM365 patches

2010-05-04 Thread thomas . koeller
From: Thomas Koeller This is an updated patch series for DM365. Patches 0 and 1 are reworked versions of patches submitted earlier, 2 and 3 are new. Thomas Koeller (4): DM365: Make all SPI units SPI0..SPI4 available DM365: Add platform resource management DAVINCI: Added missing includes

[PATCH] DAVINCI: Added missing includes

2010-04-21 Thread thomas . koeller
From: Thomas Koeller linux/compiler.h is required for __iomem linux/types.h is required u32 Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/include/mach/common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/common.h b

[PATCH 4/4] DM365: Add platform resource management

2010-04-08 Thread thomas . koeller
From: Thomas Koeller Keeping track of resource assignments greatly simplifies the task of writing board support code. Many drivers for DaVinci peripherals were using resources that had never been allocated, with the notable exception of memory resources. Non-conflicting resource assignment is a

[PATCH 3/4] DaVinci SPI: Fix SPI clock prescale factor computation

2010-04-08 Thread thomas . koeller
From: Thomas Koeller Computation of the clock prescaler value returned bogus results if the requested SPI clock was impossible to set. It now sets either the maximum or minimum clock frequency, as appropriate. Signed-off-by: Thomas Koeller --- drivers/spi/davinci_spi.c | 12 +--- 1

[PATCH 0/4] Improve modularity

2010-04-08 Thread thomas . koeller
From: Thomas Koeller While writing code to suport a new DaVinci-based board design, I noticed several shortcomings of the existing code, that this patch series tries to address. Thomas Koeller (4): DM365: Make all SPI units SPI0..SPI4 available DM365: Allow use of GPIO64_57 DaVinci SPI

[PATCH 1/4] DM365: Make all SPI units SPI0..SPI4 available

2010-04-08 Thread thomas . koeller
From: Thomas Koeller Change the SPI setup code to allow use of all SPI units. Also, move some resource assignments (DMA channels, interrupts) to the board code, where they belong. These really should not be hard-coded in dm365.c. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/board

[PATCH 2/4] DM365: Allow use of GPIO64_57

2010-04-08 Thread thomas . koeller
From: Thomas Koeller Extended the MUX configuration to allow use of GPIO terminals 64..57. Signed-off-by: Thomas Koeller --- arch/arm/mach-davinci/dm365.c|1 + arch/arm/mach-davinci/include/mach/mux.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a

[PATCH 0/4] Improve modularity

2010-04-08 Thread thomas . koeller
From: Thomas Koeller While writing code to suport a new DaVinci-based board design, I noticed several shortcomings of the existing code that this patch series tries to address. Thomas Koeller (4): DM365: Make all SPI units SPI0..SPI4 available DM365: Allow use of GPIO64_57 DaVinci SPI