From: Laurentiu Mihalcea <[email protected]> Hi folks,
As you can see from the title, this series attempts to introduce/enable RPROC support for the MX95-15x15-FRDM board. For a while now, the imx_rproc driver has been using the reserved memory DT nodes as the carveout names, which would force DT writers to go against the DT specification's recommendation and use non-generic names (e.g. "vdev0vring0", "vdev0vring1", etc...). This series also tries to fix this issue by introducing the "memory-region-names" property and using it in the imx_rproc driver to figure out the carveout names. The driver will still allow the old way of doing things (i.e. no "memory-region-names" property) but a warning will now be printed since this should be discouraged. --- Changes in v3: * kept the DT binding patch because it fixes the ABI problem pointed out by Frank. Modified the commit message to reflect this. * link to v2: https://lore.kernel.org/lkml/[email protected]/ Changes in v2: * change commit message of binding patch to describe why it's needed * drop restrictions on the string names passed via "memory-region-names" * drop patch moving the CM7 node to the SoC DTSI. CM7 node is now added in the RPMSG DT overlay * rewrite commit message of patch removing some of the RMEM regions from the bord DTS - previous version was a stale version from first iterations of this series * change "micfil" node status from "disabled" to "reserved" * add check against rmem phandle count and string count mismatch * include "of_reserved_mem.h" in "imx_rproc.h" to avoid having to rely on the consumers including it --- Laurentiu Mihalcea (4): dt-bindings: remoteproc: imx_rproc: document optional "memory-region-names" remoteproc: imx_rpoc: fix carveout name parsing arm64: dts: freescale: imx95-15x15-frdm: remove some rmem regions arm64: dts: freescale: add DT overlay for MX95-15x15-FRDM RPMSG usage .../bindings/remoteproc/fsl,imx-rproc.yaml | 4 ++ arch/arm64/boot/dts/freescale/Makefile | 3 + .../dts/freescale/imx95-15x15-frdm-rpmsg.dtso | 67 +++++++++++++++++++ .../boot/dts/freescale/imx95-15x15-frdm.dts | 21 ------ drivers/remoteproc/imx_rproc.c | 13 +++- drivers/remoteproc/imx_rproc.h | 21 ++++++ 6 files changed, 106 insertions(+), 23 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx95-15x15-frdm-rpmsg.dtso -- 2.53.0

