mailbox: Allow direct registration to a channel
authorElliot Berman <quic_eberman@quicinc.com>
Mon, 10 Apr 2023 16:16:52 +0000 (09:16 -0700)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 18 Apr 2023 16:48:55 +0000 (11:48 -0500)
commit85a953806557dbf25d16e8c132b5b9b100d16496
tree75e37c08b175f66f2ba0a3ea54a1560368659097
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026
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>
drivers/mailbox/mailbox.c
include/linux/mailbox_client.h