summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-04-10 18:16:52 +0200
committerJassi Brar <jaswinder.singh@linaro.org>2023-04-18 18:48:55 +0200
commit85a953806557dbf25d16e8c132b5b9b100d16496 (patch)
tree75e37c08b175f66f2ba0a3ea54a1560368659097 /include
parentLinux 6.3-rc7 (diff)
downloadlinux-85a953806557dbf25d16e8c132b5b9b100d16496.tar.xz
linux-85a953806557dbf25d16e8c132b5b9b100d16496.zip
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')
-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);