Thread (23 messages) 23 messages, 4 authors, 2018-03-01

[PATCH 3/3] mailbox: sunxi-msgbox: Add a new mailbox driver

From: jassisinghbrar@gmail.com (Jassi Brar)
Date: 2018-02-28 09:16:18
Also in: linux-devicetree, lkml

On Wed, Feb 28, 2018 at 7:57 AM, Samuel Holland [off-list ref] wrote:
....
+/*
+ * The message box hardware provides 8 unidirectional channels. As the mailbox
+ * framework expects them to be bidirectional
That is incorrect. Mailbox framework does not require a channel to be
TX and RX capable.

You should expose each channel as per its physical capability, let the
client configure it for direction (if its bidirectional) and acquire
separate channels for RX and TX if it needs to.

Cheers!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help