[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251028-imx95-rproc-2025-10-28-v1-0-ce9e7db9edcb@nxp.com>
Date: Tue, 28 Oct 2025 16:18:00 +0800
From: Peng Fan <peng.fan@....com>
To: Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Daniel Baluta <daniel.baluta@....com>,
Frank Li <frank.li@....com>
Cc: linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Peng Fan <peng.fan@....com>,
Frank Li <Frank.Li@....com>, Krzysztof Kozlowski <krzk@...nel.org>
Subject: [PATCH 0/4] remoteproc: imx_rproc: Support i.MX95
This patchset is pick up a previous patchset [1] with rebased on
next-20251027, and some changes applied.
- Add runtime ops to separate cpu ops and lmm ops
- added more comments
- moved some check imx_sm_rproc_detect_mode() from imx_rproc_sm_prepare().
No changes to the dt-binding patch, so R-b/A-b are kept.
More info could be found in commit message of each patch and below.
[1]https://lore.kernel.org/linux-remoteproc/20250821-imx95-rproc-1-v5-0-e93191dfac51@nxp.com/
i.MX95 features a Cortex-M33 core, six Cortex-A55 cores, and
one Cortex-M7 core. The System Control Management Interface(SCMI)
firmware runs on the M33 core. The i.MX95 SCMI firmware named System
Manager(SM) includes vendor extension protocols, Logical Machine
Management(LMM) protocol and CPU protocol and etc.
There are three cases for M7:
Management(LMM) protocol and CPU protocol and etc.
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
In patch 3, Use LMM and CPU protocol to manage M7. More info could be
found in the patch commit log
Current setup relies on pre-Linux software(U-Boot) to do
M7 TCM ECC initialization. In future, we could add the support in Linux
to decouple U-Boot and Linux.
Patchset was tested with below boot images when the patchset based on next-20251027:
imx-boot-variant-rpmsg-imx95-19x19-lpddr5-evk-sd.bin-flash_lpboot_sm_a55 (Use LMM protocol)
imx-boot-variant-alt-imx95-19x19-lpddr5-evk-sd.bin-flash_alt (Use CPU protocol)
imx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_a55 (M7 not under A55 control)
imx-boot-imx95-19x19-lpddr5-evk-sd.bin-flash_all (M7 not under A55 control)
Also tested i.MX8MP-EVK.
Signed-off-by: Peng Fan <peng.fan@....com>
---
Peng Fan (4):
dt-bindings: remoteproc: fsl,imx-rproc: Add support for i.MX95
remoteproc: imx_rproc: Add runtime ops copy to support dynamic behavior
remoteproc: imx_rproc: Add support for System Manager API
remoteproc: imx_rproc: Add support for i.MX95
.../bindings/remoteproc/fsl,imx-rproc.yaml | 1 +
drivers/remoteproc/Kconfig | 2 +
drivers/remoteproc/imx_rproc.c | 243 +++++++++++++++++++--
drivers/remoteproc/imx_rproc.h | 3 +
4 files changed, 235 insertions(+), 14 deletions(-)
---
base-commit: f7d2388eeec24966fc4d5cf32d706f0514f29ac5
change-id: 20251028-imx95-rproc-2025-10-28-a62d77e641e1
Best regards,
--
Peng Fan <peng.fan@....com>
Powered by blists - more mailing lists