public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/4] remoteproc: support i.MX95
@ 2026-01-29 10:24 Peng Fan (OSS)
  2026-01-29 10:24 ` [PATCH 1/4] remoteproc: imx: Support ECC initialization Peng Fan (OSS)
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2026-01-29 10:24 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot, Stefano Babic, Fabio Estevam
  Cc: Ye Li, Alice Guo, Peng Fan

Support i.MX95 remoteproc. i.MX95 use SCMI Vendor protocol to manage
remote cores.

There are three cases for M7:
(1) M7 in a separate Logical Machine(LM) that Linux couldn't control it.
(2) M7 in a separate Logical Machine that Linux could control it using
    LMM protocol
(3) M7 runs in same Logical Machine as A55, so Linux could control it
    using CPU protocol

And because needs to do ECC initialization, patch 1 introduces a new
flag ATT_ECC to indicate whether the area needs to be cleared for ECC
initialization

In patch 2:
The current setup only targets for (2) and (3) to let U-Boot start
CM7. Need to extend the driver to using LMM and CPU protocol to manage the M7
core.
 - Compare linux LM ID(got using scmi_imx_lmm_info) and M7 LM ID(the ID
   is fixed as 1 in SM firmware if M7 is in a separate LM),
   if Linux LM ID is not same as M7 LM ID(linux and M7 in same LM), use
   LMM protocol to start/stop. Whether using CPU or LMM protocol to start/stop,
   the M7 status detection could use CPU protocol to detect started or not. So
   in imx_rproc_is_running, use scmi_imx_cpu_started to check the
   status of M7.
 - For above case (2), Use scmi_imx_lmm_power_boot to detect whether
   the M7 LM is under control of A55 LM.
 - For above case , after using SCMI_IMX_LMM_POWER_ON to check
   permission, scmi_imx_lmm_shutdown API should be called to shutdown
   the M7 LM.

patch 3 and 4 is for enabling remoteproc for i.MX95 EVK. The compatible
string is in linux-next tree, after it was added to linux upstream
imx95.dtsi, we could remove the changes in patch 3 in future.

CI build pass.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (4):
      remoteproc: imx: Support ECC initialization
      remoteproc: imx: Add i.MX95 support
      arm: dts: imx95: Add cm7 node
      imx9: Kconfig: Enable remoteproc for i.MX95 EVK

 arch/arm/dts/imx95-u-boot.dtsi |   4 +
 arch/arm/mach-imx/imx9/Kconfig |  12 +++
 drivers/remoteproc/imx_rproc.c | 189 +++++++++++++++++++++++++++++++++++++++--
 drivers/remoteproc/imx_rproc.h |   3 +
 4 files changed, 203 insertions(+), 5 deletions(-)
---
base-commit: 6a1bdb7e952d5841f42742fefa907cae5dc8d50a
change-id: 20260129-imx95-rproc-b1b65c8b54cb

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-01-31 12:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 10:24 [PATCH 0/4] remoteproc: support i.MX95 Peng Fan (OSS)
2026-01-29 10:24 ` [PATCH 1/4] remoteproc: imx: Support ECC initialization Peng Fan (OSS)
2026-01-29 10:24 ` [PATCH 2/4] remoteproc: imx: Add i.MX95 support Peng Fan (OSS)
2026-01-29 10:24 ` [PATCH 3/4] arm: dts: imx95: Add cm7 node Peng Fan (OSS)
2026-01-29 10:08   ` Fabio Estevam
2026-01-30  2:00     ` Peng Fan
2026-01-29 10:25 ` [PATCH 4/4] imx9: Kconfig: Enable remoteproc for i.MX95 EVK Peng Fan (OSS)
2026-01-29 10:01   ` Francesco Dolcini
2026-01-30  2:06     ` Peng Fan
2026-01-31  7:26       ` Francesco Dolcini
2026-01-31 12:37       ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox