[PATCH v5 0/5] drivers: remoteproc: xilinx: add mailbox support
From: Tanmay Shah
Date: Fri Mar 10 2023 - 20:26:42 EST
This series adds mailbox support required for rpmsg communication
in Xilinx remoteproc driver. It also fixes few bugs in Xilinx
zynqmp-ipi driver that handles corner cases.
---
Changes in v5:
- mailbox node count should not be 0 for driver to probe
- Remove spurious change
- Include kick op regardless status of mailbox nodes in dts
Changes in v4:
- split mailbox driver patch into 3 different patches
- use of_phandle_iterator_next to get memory-region nodes
- move zynqmp_r5_setup_mbox from zynqmp_r5_add_rproc_core to
zynqmp_r5_cluster_init
Changes in v3:
- split single patch into multiple patches
- add appropriate fixes tag for patches fixing previous bug in the driver
- make enhancements in zynqmp-ipi driver that handles corener cases
- fix memory-region carveout names
- fix multi-line comment format
- do not mixup mailbox information with memory-regions
- fix redundant dev_warn for split mode
- Setting up mailboxes should return an error code
- Move mailbox setup during driver probe
- Add .kick function only if mailbox setup is success
v2: https://lore.kernel.org/all/20230126213154.1707300-1-tanmay.shah@xxxxxxx/
Tanmay Shah (5):
mailbox: zynqmp: fix counts of child nodes
mailbox: zynqmp: fix IPI isr handling
mailbox: zynqmp: fix typo in IPI documentation
drivers: remoteproc: xilinx: fix carveout names
remoteproc: xilinx: add mailbox channels for rpmsg
drivers/mailbox/zynqmp-ipi-mailbox.c | 13 +-
drivers/remoteproc/xlnx_r5_remoteproc.c | 308 ++++++++++++++++-----
include/linux/mailbox/zynqmp-ipi-message.h | 2 +-
3 files changed, 247 insertions(+), 76 deletions(-)
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
--
2.25.1