summaryrefslogtreecommitdiff
path: root/include/linux/mailbox_client.h
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-04-10 09:16:52 -0700
committerJassi Brar <jaswinder.singh@linaro.org>2023-04-18 11:48:55 -0500
commit85a953806557dbf25d16e8c132b5b9b100d16496 (patch)
tree75e37c08b175f66f2ba0a3ea54a1560368659097 /include/linux/mailbox_client.h
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026 (diff)
mailbox: Allow direct registration to a channel
Support virtual mailbox controllers and clients which are not platform devices or come from the devicetree by allowing them to match client to channel via some other mechanism. Tested-by: Sudeep Holla <sudeep.holla@arm.com> (pcc) Signed-off-by: Elliot Berman <quic_eberman@quicinc.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include/linux/mailbox_client.h')
-rw-r--r--include/linux/mailbox_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mailbox_client.h b/include/linux/mailbox_client.h
index 65229a45590f..734694912ef7 100644
--- a/include/linux/mailbox_client.h
+++ b/include/linux/mailbox_client.h
@@ -37,6 +37,7 @@ struct mbox_client {
void (*tx_done)(struct mbox_client *cl, void *mssg, int r);
};
+int mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl);
struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
const char *name);
struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);