mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
![Stephen Warren](/assets/img/avatar_default.png)
A mailbox is a hardware mechanism for transferring small message and/or notifications between the CPU on which U-Boot runs and some other device such as an auxilliary CPU running firmware or a hardware module. This patch defines a standard API that connects mailbox clients to mailbox providers (drivers). Initially, DT is the only supported method for connecting the two. The DT binding specification (mailbox.txt) was taken from Linux kernel v4.5's Documentation/devicetree/bindings/mailbox/mailbox.txt. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
33 lines
652 B
Plaintext
33 lines
652 B
Plaintext
* Generic Mailbox Controller and client driver bindings
|
|
|
|
Generic binding to provide a way for Mailbox controller drivers to
|
|
assign appropriate mailbox channel to client drivers.
|
|
|
|
* Mailbox Controller
|
|
|
|
Required property:
|
|
- #mbox-cells: Must be at least 1. Number of cells in a mailbox
|
|
specifier.
|
|
|
|
Example:
|
|
mailbox: mailbox {
|
|
...
|
|
#mbox-cells = <1>;
|
|
};
|
|
|
|
|
|
* Mailbox Client
|
|
|
|
Required property:
|
|
- mboxes: List of phandle and mailbox channel specifiers.
|
|
|
|
Optional property:
|
|
- mbox-names: List of identifier strings for each mailbox channel.
|
|
|
|
Example:
|
|
pwr_cntrl: power {
|
|
...
|
|
mbox-names = "pwr-ctrl", "rpc";
|
|
mboxes = <&mailbox 0 &mailbox 1>;
|
|
};
|