[PATCH v3 0/4] Add AMD PL Mailbox and RPMsg support for the AMD BRAM remoteproc

From: Ben Levinsky

Date: Thu Nov 19 2026 - 17:04:35 EST


This series adds a driver for the AMD PL Mailbox soft IP and uses it to
add RPMsg support to the AMD MicroBlaze/V BRAM remoteproc driver.

Patches 1-2 add the PL Mailbox binding and driver, and patches 3-4 add
RPMsg resources to the BRAM remoteproc binding and driver.

Claude (claude-opus-5.5) was used to help write the code and changelogs,
as indicated by the Assisted-by tags.

Tested on a VEK385 board with the series applied to a 6.18 based AMD
vendor kernel: RPMsg echo with bursts of 64 messages, over five remote
processor start/stop cycles, with two MicroBlaze V designs.

Changes in v3:
- Drop "remoteproc: amd_mbv_bram: Bound device name formatting". The
name is already bounded by rproc_mem_entry_init() and a DT node name
can't contain '%', so there was nothing to fix.
- Drop "remoteproc: amd_mbv_bram: Restore reset GPIO direction after PL
reconfig". The problem only shows when the PL is reprogrammed while
the devices it contains are still bound, which isn't a supported flow.
- dt-bindings: mailbox: Reword the description, which no longer refers
to a "register aperture" or "processor-facing interfaces".
- remoteproc: amd_mbv_bram: Add RPMsg support:
- Reject memory regions above 4 GiB, since the remote uses the
physical address as device address.
- Validate all memory regions before registering any carveout.

v2: https://lore.kernel.org/r/20261105051902.1646651-1-ben.levinsky@xxxxxxx
v1: https://lore.kernel.org/r/20261014213426.2957480-1-ben.levinsky@xxxxxxx

Ben Levinsky (4):
dt-bindings: mailbox: Add AMD PL Mailbox IP
mailbox: Add AMD PL Mailbox soft IP controller
dt-bindings: remoteproc: Add RPMsg resources to AMD BRAM rproc
remoteproc: amd_mbv_bram: Add RPMsg support

.../bindings/mailbox/amd,pl-mailbox-2.1.yaml | 71 ++++
.../bindings/remoteproc/amd,bram-rproc.yaml | 21 +
MAINTAINERS | 7 +
drivers/mailbox/Kconfig | 11 +
drivers/mailbox/Makefile | 1 +
drivers/mailbox/amd-pl-mailbox.c | 378 ++++++++++++++++++
drivers/remoteproc/Kconfig | 5 +
drivers/remoteproc/amd_mbv_bram_rproc.c | 295 +++++++++++++-
8 files changed, 788 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/mailbox/amd,pl-mailbox-2.1.yaml
create mode 100644 drivers/mailbox/amd-pl-mailbox.c


base-commit: f1715c0c04606ebbe832cc760abf49dfd6f2ae1f
--
2.34.1