lib: utils/mailbox: Add simple FDT based mailbox framework

Add a simple FDT based mailbox framework which is built on top of the generic
mailbox library. The phandle of FDT mailbox DT node is treated as the unique
mailbox controller ID which is required by the generic mailbox library. The
FDT based mailbox drivers will be probed on-demand from fdt_mailbox_request_chan()
called by the mailbox client drivers.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2024-12-06 09:26:19 +05:30
1 parent ad846a7cb8
commit 2244a34f0d
5 files changed
+145

No files matched your search

@@ -0,0 +1,5 @@
HEADER: sbi_utils/mailbox/fdt_mailbox.h
TYPE: const struct fdt_mailbox
NAME: fdt_mailbox_drivers
MEMBER-NAME: driver
MEMBER-TYPE: const struct fdt_driver