Re: Using the mailbox subsystem for plain doorbells?

2016-05-10 Thread Jassi Brar
On Tue, May 10, 2016 at 9:26 PM, Stephen Warren wrote: > On 05/09/2016 09:29 PM, Jassi Brar wrote: > >> Some controllers need a mask/list of destination cpus, to which the >> irq is raised, written to some 'data' register. You too probably need >> to program the destination "id" in the controller?

Re: Using the mailbox subsystem for plain doorbells?

2016-05-10 Thread Stephen Warren
On 05/09/2016 09:29 PM, Jassi Brar wrote: On Tue, May 10, 2016 at 5:15 AM, Stephen Warren wrote: Jassi, Does the HW described below sound like something that should be represented using the Linux kernel's mailbox subsystem, and related DT bindings? I think the existing drivers/mailbox/pcc.c is

Re: Using the mailbox subsystem for plain doorbells?

2016-05-09 Thread Jassi Brar
On Tue, May 10, 2016 at 5:15 AM, Stephen Warren wrote: > Jassi, > > Does the HW described below sound like something that should be represented > using the Linux kernel's mailbox subsystem, and related DT bindings? I think > the existing drivers/mailbox/pcc.c is similar, but wanted to double-check

Using the mailbox subsystem for plain doorbells?

2016-05-09 Thread Stephen Warren
Jassi, Does the HW described below sound like something that should be represented using the Linux kernel's mailbox subsystem, and related DT bindings? I think the existing drivers/mailbox/pcc.c is similar, but wanted to double-check. We have some HW that literally just allows a SW-generated