Re: PREEMPT_RT patches and GPIO (interrupts) problem

2011-02-11 Thread Christophe Aeschlimann
On 08.02.2011 12:19, Rajashekhara, Sudhakar wrote: > Hi Christophe, > > On Tue, Feb 08, 2011 at 15:43:30, Christophe Aeschlimann wrote: >> Hi Sudhakar, >> > > [...] > >> >> Thanks for doing some testing on your side. >> >> Any specific reason why you used the gpio-keys-polled driver ? I'm using

RE: PREEMPT_RT patches and GPIO (interrupts) problem

2011-02-11 Thread Rajashekhara, Sudhakar
Hi, On Fri, Feb 11, 2011 at 14:58:13, Christophe Aeschlimann wrote: > On 08.02.2011 12:19, Rajashekhara, Sudhakar wrote: > > Hi Christophe, > > > > On Tue, Feb 08, 2011 at 15:43:30, Christophe Aeschlimann wrote: > >> Hi Sudhakar, > >> > > > > [...] > > > >> > >> Thanks for doing some testing on

DM365 deep sleep

2011-02-11 Thread Todd Fischer
Sekhar, What is the status for deep sleep support on the DM365? If it is available, where can I find it? If not available, I was planning on starting adding DM365 deep sleep support using the mach-davinci pm.c and sleep.S code from the latest davinci-linux git repo unless you have another s

[PATCH 1/1] da830: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.

2011-02-11 Thread Subhasish Ghosh
The PRUSS was named as DMAX on da830 platform. This patch resolves the naming conflict by replacing the macro DA8XX_LPSC0_DMAX with DA8XX_LPSC0_PRUSS. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/da830.c|2 +- arch/arm/mach-davinci/include/mach/psc.h |2 +- 2 file

[PATCH 1/1] davinci: changed SRAM allocator to shared ram.

2011-02-11 Thread Subhasish Ghosh
This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/da850.c |6 +++--- arch/arm/mach-davinci/include/mach/da8xx.h |1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ar

Re: PREEMPT_RT patches and GPIO (interrupts) problem

2011-02-11 Thread Ben Gardiner
Hi Sudhakar, On Fri, Feb 11, 2011 at 6:03 AM, Rajashekhara, Sudhakar wrote: > When I enable the "gpio-keys" driver I am getting the below error message > when kernel is booting: > > "gpio-keys gpio-keys.0: Unable to get irq number for GPIO 152, error -6" This error looks familiar to me; please

[PATCH v2 00/13] pruss mfd drivers

2011-02-11 Thread Subhasish Ghosh
PRUSS Functional Block Diagram /\ || | |--| | 32GPO<--->PRU CORE-0

[PATCH v2 01/13] mfd: pruss mfd driver.

2011-02-11 Thread Subhasish Ghosh
This patch adds the pruss MFD driver and associated include files. Signed-off-by: Subhasish Ghosh --- drivers/mfd/Kconfig | 10 + drivers/mfd/Makefile|1 + drivers/mfd/da8xx_pru.c | 446 +++ include/linux/

[PATCH v2 04/13] mfd: pruss CAN private data.

2011-02-11 Thread Subhasish Ghosh
This patch adds the PRUSS CAN data. Signed-off-by: Subhasish Ghosh --- include/linux/mfd/pruss/da8xx_pru.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/mfd/pruss/da8xx_pru.h b/include/linux/mfd/pruss/da8xx_pru.h index 68d8421..50f2ede 100644 --- a/in

[PATCH v2 02/13] da850: pruss platform specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds the platform device and assignes the platform resources for the PRUSS mfd driver. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 65 arch/arm/mach-davinci/includ

[PATCH v2 05/13] da850: pruss CAN platform specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds the necessary pins for the pruss CAN. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/da850.c|4 arch/arm/mach-davinci/include/mach/mux.h |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch

[PATCH v2 07/13] da850: pruss CAN platform specific changes for gpios.

2011-02-11 Thread Subhasish Ghosh
This patch adds the GPIOs for the pruss CAN device. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/da850.c|1 + arch/arm/mach-davinci/include/mach/mux.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mac

[PATCH v2 08/13] da850: pruss CAN board specific changes for gpios.

2011-02-11 Thread Subhasish Ghosh
This patch adds the GPIO modifications required for the pruss CAN. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/board-da850-evm.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board

[PATCH v2 06/13] da850: pruss CAN board specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds the pruss CAN pin mux and registers the device with the pruss mfd driver. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/board-da850-evm.c | 37 ++- 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/board

[PATCH v2 10/13] mfd: pruss SUART private data.

2011-02-11 Thread Subhasish Ghosh
This patch adds the PRUSS SUART data. Signed-off-by: Subhasish Ghosh --- include/linux/mfd/pruss/da8xx_pru.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/mfd/pruss/da8xx_pru.h b/include/linux/mfd/pruss/da8xx_pru.h index 50f2ede..4230d10 100644 --- a

[PATCH v2 12/13] da850: pruss SUART platform specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds the McASP clock alias. The alias is used by the pruss suart driver for enabling the McASP PSC. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/devices-da8xx.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/device

[PATCH v2 11/13] da850: pruss SUART board specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds the pruss SUART pin mux and registers the device with the pruss mfd driver. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/board-da850-evm.c | 36 +++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/boa

[PATCH v2 03/13] da850: pruss board specific additions.

2011-02-11 Thread Subhasish Ghosh
This patch adds board specific initializations and setup routines. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/board-da850-evm.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach

RE: PREEMPT_RT patches and GPIO (interrupts) problem

2011-02-11 Thread Rajashekhara, Sudhakar
Hi Ben, On Fri, Feb 11, 2011 at 20:04:07, Ben Gardiner wrote: > Hi Sudhakar, > > On Fri, Feb 11, 2011 at 6:03 AM, Rajashekhara, Sudhakar > wrote: > > When I enable the "gpio-keys" driver I am getting the below error message > > when kernel is booting: > > > > "gpio-keys gpio-keys.0: Unable to g

Re: [PATCH v2 11/13] da850: pruss SUART board specific additions.

2011-02-11 Thread Michael Williamson
Hi Subhasish, On 2/11/2011 9:51 AM, Subhasish Ghosh wrote: > This patch adds the pruss SUART pin mux and registers the device > with the pruss mfd driver. > > Signed-off-by: Subhasish Ghosh > --- > arch/arm/mach-davinci/board-da850-evm.c | 36 > +++ > 1 files cha

Re: [PATCH v2 13/13] tty: pruss SUART driver

2011-02-11 Thread Alan Cox
Don't see why it needs its own sub-directory > +#ifdef __SUART_DEBUG > +#define __suart_debug(fmt, args...) \ > + printk(KERN_DEBUG "suart_debug: " fmt, ## args) > +#else > +#define __suart_debug(fmt, args...) > +#endif > + > +#define __suart_err(fmt, args...) printk(KERN_ERR "suart

Re: [PATCH v2 02/13] da850: pruss platform specific additions.

2011-02-11 Thread Sergei Shtylyov
Hello. Subhasish Ghosh wrote: This patch adds the platform device and assignes the platform resources for the PRUSS mfd driver. You also add the PRUSS clock (and I would have done that as a separate patch). Signed-off-by: Subhasish Ghosh You should have noted the patch dependency

Re: [PATCH v2 03/13] da850: pruss board specific additions.

2011-02-11 Thread Sergei Shtylyov
Subhasish Ghosh wrote: This patch adds board specific initializations and setup routines. Signed-off-by: Subhasish Ghosh [...] diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 11f986b..242d1ed 100644 --- a/arch/arm/mach-davinci/board-da

Re: [PATCH v2 06/13] da850: pruss CAN board specific additions.

2011-02-11 Thread Sergei Shtylyov
Subhasish Ghosh wrote: This patch adds the pruss CAN pin mux and registers the device with the pruss mfd driver. Signed-off-by: Subhasish Ghosh [...] diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 242d1ed..2ce5536 100644 --- a/arch/ar

Re: [PATCH v2 07/13] da850: pruss CAN platform specific changes for gpios.

2011-02-11 Thread Sergei Shtylyov
Hello. Subhasish Ghosh wrote: This patch adds the GPIOs for the pruss CAN device. Signed-off-by: Subhasish Ghosh I still think this patch should be merged with patch 5, and patch 8 with patch 6... WBR, Sergei ___ Davinci-linux-open-source

Re: [PATCH v2 11/13] da850: pruss SUART board specific additions.

2011-02-11 Thread Sergei Shtylyov
Subhasish Ghosh wrote: This patch adds the pruss SUART pin mux and registers the device with the pruss mfd driver. Signed-off-by: Subhasish Ghosh --- arch/arm/mach-davinci/board-da850-evm.c | 36 +++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --g

Re: [PATCH v2 12/13] da850: pruss SUART platform specific additions.

2011-02-11 Thread Sergei Shtylyov
Subhasish Ghosh wrote: This patch adds the McASP clock alias. The alias is used by the pruss suart driver for enabling the McASP PSC. Signed-off-by: Subhasish Ghosh [...] diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index e15de72..f1cf605 100