remoteproc: Add support for i.MX8M[M/N/P/Q] and i.MX93
Get series with b4
b4 am [email protected] change-id 20251012-imx-rproc-383db752c3f7Versions newest first
- v2 Latest10 patches 3 repliesIn review
- v111 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Drop patch 1 import memcpy_fromio which is not redundant
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | remoteproc: Extend device_to_virt with a is_iomem parameterdrivers/ drivers/ drivers/ +4 more | +74 | 0 replies | |
| 2/10 | remoteproc: Add imx_rproc driver to support NXP i.MX8MP/NMAINTAINERS drivers/ drivers/ +2 more | +298 | 0 replies | |
| 3/10 | remoteproc: imx_rproc: Support i.MX8MQ/Mdrivers/ | +107 | 0 replies | |
| 4/10 | remoteproc: imx_rproc: Add support for i.MX93 CM33drivers/ | +30 | 0 replies | |
| 5/10 | arm: dts: imx8m: Add remoteproc nodearch/ arch/ arch/ +1 more | +16 | 0 replies | |
| 6/10 | imx8mp: Enable remoteproc for i.MX8MP EVKarch/ | +4 | 0 replies | |
| 7/10 | imx8mm: Enable remoteproc for i.MX8MM EVKarch/ | +4 | 0 replies | |
| 8/10 | imx8mn: Enable remoteproc for i.MX8MN EVKarch/ | +8 | 0 replies | |
| 9/10 | imx8mq: Enable remoteproc for i.MX8MQ EVKarch/ | +4 | 0 replies | |
| 10/10 | imx93: Enable remoteproc for i.MX93-EVK/QSB/FRDMarch/ | +12 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Ye Li |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] remoteproc: Add support for i.MX8M[M/N/P/Q] and i.MX93
This patch series introduces remoteproc support for NXP i.MX8M and i.MX93 platforms. Most of the i.MX-specific logic is ported from the Linux kernel to ensure compatibility and maintainability.
The existing bootaux command in U-Boot only supports loading raw binary images. However, this approach fails when the remote processor firmware contains sections that must be loaded into both TCM and DDR. To address this limitation, need to use remoteproc framework ELF loader, enabling proper loading of segmented firmware images.
Patch Summary:
Patches 1–2: Import memcpy_io and memset_io from the Linux kernel and enable
them in the remoteproc subsystem.
Patches 3–11: Add platform-specific remoteproc support for i.MX8M and i.MX93. Patch 6: Temporarily adds Cortex-M nodes to x-u-boot.dtsi since they are not
yet available in the upstream Linux device tree. These nodes can be removed once they are merged upstream.
NXP internal R-b tags are kept, because the patches are directly cherry-picked from NXP LTS tree.
---
Changes in v2:
- Drop patch 1 import memcpy_fromio which is not redundant
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Peng Fan (10):
remoteproc: Extend device_to_virt with a is_iomem parameter
remoteproc: Add imx_rproc driver to support NXP i.MX8MP/N
remoteproc: imx_rproc: Support i.MX8MQ/M
remoteproc: imx_rproc: Add support for i.MX93 CM33
arm: dts: imx8m: Add remoteproc node
imx8mp: Enable remoteproc for i.MX8MP EVK
imx8mm: Enable remoteproc for i.MX8MM EVK
imx8mn: Enable remoteproc for i.MX8MN EVK
imx8mq: Enable remoteproc for i.MX8MQ EVK
imx93: Enable remoteproc for i.MX93-EVK/QSB/FRDM
MAINTAINERS | 1 + arch/arm/dts/imx8mm-u-boot.dtsi | 4 + arch/arm/dts/imx8mn-u-boot.dtsi | 4 + arch/arm/dts/imx8mp-u-boot.dtsi | 4 + arch/arm/dts/imx8mq-u-boot.dtsi | 4 + arch/arm/mach-imx/imx8m/Kconfig | 20 ++ arch/arm/mach-imx/imx9/Kconfig | 12 ++ drivers/remoteproc/Kconfig | 7 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/imx_rproc.c | 370 ++++++++++++++++++++++++++++++++++ drivers/remoteproc/imx_rproc.h | 56 +++++ drivers/remoteproc/renesas_apmu.c | 3 +- drivers/remoteproc/rproc-elf-loader.c | 93 ++++++--- drivers/remoteproc/sandbox_testproc.c | 3 +- drivers/remoteproc/stm32_copro.c | 3 +- drivers/remoteproc/ti_k3_dsp_rproc.c | 2 +- drivers/remoteproc/ti_k3_r5f_rproc.c | 2 +- include/remoteproc.h | 3 +- 18 files changed, 557 insertions(+), 35 deletions(-)
---
base-commit: 48f21e66e360552c75d70a50421d0e0ed1f59e90
change-id: 20251012-imx-rproc-383db752c3f7
Best regards,
Signature · 1 line
Peng Fan <[email protected]>