Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-11-02 Thread Zhong Kaihua
Hi, Julien, On 2017/10/27 18:40, Julien Thierry wrote: > Hi Kaihua, > > On 27/10/17 07:15, Kaihua Zhong wrote: >> Hi3660 mailbox controller is used to send message within multiple >> processors, MCU, HIFI, etc. It supports 32 mailbox channels and every >> channel can only be used for single tran

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-30 Thread Mark Rutland
On Mon, Oct 30, 2017 at 07:13:13PM +0800, Leo Yan wrote: > Hi Mark, > > On Mon, Oct 30, 2017 at 10:19:40AM +, Mark Rutland wrote: > > Hi, > > > > On Mon, Oct 30, 2017 at 12:45:06PM +0800, Leo Yan wrote: > > > On Fri, Oct 27, 2017 at 11:46:00AM +0100, Mark Rutland wrote: > > > > On Fri, Oct 27

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-30 Thread Leo Yan
Hi Mark, On Mon, Oct 30, 2017 at 10:19:40AM +, Mark Rutland wrote: > Hi, > > On Mon, Oct 30, 2017 at 12:45:06PM +0800, Leo Yan wrote: > > On Fri, Oct 27, 2017 at 11:46:00AM +0100, Mark Rutland wrote: > > > On Fri, Oct 27, 2017 at 02:15:03PM +0800, Kaihua Zhong wrote: > > > > +static int hi366

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-30 Thread Mark Rutland
Hi, On Mon, Oct 30, 2017 at 12:45:06PM +0800, Leo Yan wrote: > On Fri, Oct 27, 2017 at 11:46:00AM +0100, Mark Rutland wrote: > > On Fri, Oct 27, 2017 at 02:15:03PM +0800, Kaihua Zhong wrote: > > > +static int hi3660_mbox_check_state(struct mbox_chan *chan) > > > +{ > > > + /* Ensure channel is re

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-29 Thread Leo Yan
Hi Mark, On Fri, Oct 27, 2017 at 11:46:00AM +0100, Mark Rutland wrote: > On Fri, Oct 27, 2017 at 02:15:03PM +0800, Kaihua Zhong wrote: > > Hi3660 mailbox controller is used to send message within multiple > > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > > channel can on

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-27 Thread Mark Rutland
On Fri, Oct 27, 2017 at 02:15:03PM +0800, Kaihua Zhong wrote: > Hi3660 mailbox controller is used to send message within multiple > processors, MCU, HIFI, etc. It supports 32 mailbox channels and every > channel can only be used for single transferring direction. Once the > channel is enabled, it

Re: [PATCH v2 2/3] mailbox: Add support for Hi3660 mailbox

2017-10-27 Thread Julien Thierry
Hi Kaihua, On 27/10/17 07:15, Kaihua Zhong wrote: Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. It supports 32 mailbox channels and every channel can only be used for single transferring direction. Once the channel is enabled, it needs to specify