Re: [PATCH 1/6] mailbox: Add new API mbox_channel_device() for clients

From
Anup Patel <hidden>
Date
2017-02-06 04:27:17
Also in
linux-arm-kernel, linux-devicetree, linux-raid, lkml
Reply to
Jassi Brar, 2017-02-03
On Fri, Feb 3, 2017 at 5:35 PM, Jassi Brar [off-list ref] wrote:
On Thu, Feb 2, 2017 at 10:17 AM, Anup Patel [off-list ref] wrote:
quoted
The remote processor can have DMAENGINE capabilities and client
can pass data to be processed via main memory. In such cases,
the client will require DMAble memory for remote processor.

This patch adds new API mbox_channel_device() which can be
used by clients to get struct device pointer of underlying
mailbox controller. This struct device pointer of mailbox
controller can be used by clients to allocate DMAble memory
for remote processor.
IIUC, DT already provides a way for what you need.
Thanks for the suggestion. I will explore in this direction and
try to avoid this patch in next revision.

Can you please have a look at FlexRM driver which I
had submitted previously?
https://lkml.org/lkml/2017/1/5/291
https://lkml.org/lkml/2017/1/5/293

Regards,
Anup
Thread (15 messages) 15 messages, 4 authors, last reply 2017-02-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help