[PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver
From: jassisinghbrar@gmail.com (Jassi Brar)
Date: 2018-02-28 18:14:22
Also in:
linux-devicetree, linux-mediatek, lkml
From: jassisinghbrar@gmail.com (Jassi Brar)
Date: 2018-02-28 18:14:22
Also in:
linux-devicetree, linux-mediatek, lkml
On Wed, Feb 28, 2018 at 11:21 PM, Samuel Holland [off-list ref] wrote:
Hi, On 02/28/18 03:16, Jassi Brar wrote:quoted
On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland [off-list ref] wrote: ....quoted
+/* + * The message box hardware provides 8 unidirectional channels. As the mailbox + * framework expects them to be bidirectionalThat is incorrect. Mailbox framework does not require a channel to be TX and RX capable.Sorry, it would be more accurate to say that the intended mailbox _client_ expects the channels to be bidirectional.
Mailbox clients are very mailbox provider specific. Your client driver is unlikely to be reuseable over another controller+remote combo. Your client has to know already what a physical channel can do (RX, TX or RXTX). There is no api to provide that info. thanks