Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-27 Thread Tony Lindgren
* Dave Gerlach [150227 09:04]: > Tony, > On 02/26/2015 04:08 PM, Tony Lindgren wrote: > > * Dave Gerlach [150226 12:05]: > >> Tony, > >> On 01/05/2015 04:51 PM, Tony Lindgren wrote: > >>> * Dave Gerlach [150105 14:51]: > Felipe, > On 01/02/2015 02:16 PM, Felipe Balbi wrote: > > On

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-27 Thread Dave Gerlach
Tony, On 02/26/2015 04:08 PM, Tony Lindgren wrote: > * Dave Gerlach [150226 12:05]: >> Tony, >> On 01/05/2015 04:51 PM, Tony Lindgren wrote: >>> * Dave Gerlach [150105 14:51]: Felipe, On 01/02/2015 02:16 PM, Felipe Balbi wrote: > On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlac

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-26 Thread Tony Lindgren
* Dave Gerlach [150226 12:05]: > Tony, > On 01/05/2015 04:51 PM, Tony Lindgren wrote: > > * Dave Gerlach [150105 14:51]: > >> Felipe, > >> On 01/02/2015 02:16 PM, Felipe Balbi wrote: > >>> On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: > Introduce a wkup_m3_ipc driver to handl

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-26 Thread Dave Gerlach
Tony, On 01/05/2015 04:51 PM, Tony Lindgren wrote: > * Dave Gerlach [150105 14:51]: >> Felipe, >> On 01/02/2015 02:16 PM, Felipe Balbi wrote: >>> On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: Introduce a wkup_m3_ipc driver to handle communication between the MPU and Corte

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-05 Thread Felipe Balbi
Hi, On Mon, Jan 05, 2015 at 04:49:08PM -0600, Dave Gerlach wrote: > >> + /* > >> + * Write a dummy message to the mailbox in order to trigger the RX > >> + * interrupt to alert the M3 that data is available in the IPC > >> + * registers. We must enable the IRQ here and disable it after in >

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-05 Thread Tony Lindgren
* Dave Gerlach [150105 14:51]: > Felipe, > On 01/02/2015 02:16 PM, Felipe Balbi wrote: > > On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: > >> Introduce a wkup_m3_ipc driver to handle communication between the MPU > >> and Cortex M3 wkup_m3 present on am335x. > >> > >> This driver i

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-05 Thread Dave Gerlach
Felipe, On 01/02/2015 02:16 PM, Felipe Balbi wrote: > On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: >> Introduce a wkup_m3_ipc driver to handle communication between the MPU >> and Cortex M3 wkup_m3 present on am335x. >> >> This driver is responsible for actually booting the wkup_m3

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 02:16:43PM -0600, Felipe Balbi wrote: > On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: > > Introduce a wkup_m3_ipc driver to handle communication between the MPU > > and Cortex M3 wkup_m3 present on am335x. > > > > This driver is responsible for actually boot

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: > Introduce a wkup_m3_ipc driver to handle communication between the MPU > and Cortex M3 wkup_m3 present on am335x. > > This driver is responsible for actually booting the wkup_m3_rproc and > also handling all IPC which is done using th

[PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-01-02 Thread Dave Gerlach
Introduce a wkup_m3_ipc driver to handle communication between the MPU and Cortex M3 wkup_m3 present on am335x. This driver is responsible for actually booting the wkup_m3_rproc and also handling all IPC which is done using the IPC registers in the control module, a mailbox, and a separate interru

Re: [RFC PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2014-12-12 Thread Dave Gerlach
On 11/26/2014 03:51 PM, Arnd Bergmann wrote: > On Wednesday 26 November 2014 15:38:09 Dave Gerlach wrote: >> + >> +static const struct wkup_m3_wakeup_src wakeups[] = { >> + {.irq_nr = 35, .src = "USB0_PHY"}, >> + {.irq_nr = 36, .src = "USB1_PHY"}, >> + {.irq_nr = 40, .src = "I2

Re: [RFC PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2014-11-26 Thread Arnd Bergmann
On Wednesday 26 November 2014 15:38:09 Dave Gerlach wrote: > + > +static const struct wkup_m3_wakeup_src wakeups[] = { > + {.irq_nr = 35, .src = "USB0_PHY"}, > + {.irq_nr = 36, .src = "USB1_PHY"}, > + {.irq_nr = 40, .src = "I2C0"}, > + {.irq_nr = 41, .src = "RTC Timer"},

[RFC PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2014-11-26 Thread Dave Gerlach
Introduce a wkup_m3_ipc driver to handle communication between the MPU and Cortex M3 wkup_m3 present on am335x. This driver is responsible for actually booting the wkup_m3_rproc and also handling all IPC which is done using the IPC registers in the control module, a mailbox, and a separate interru