diff options
| author | Peng Fan <peng.fan@nxp.com> | 2025-10-24 05:51:29 +0300 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2025-10-24 17:46:33 +0300 |
| commit | 016a3d4bcf92400b4f91b33fe4c8bdecdabc3c2a (patch) | |
| tree | 6389983fb83dac5f4dd4892bbdd4f4eeb4264e62 /tools/lib/python | |
| parent | ddbec021a3e5ddd38c89516c30b53ab747824207 (diff) | |
| download | linux-016a3d4bcf92400b4f91b33fe4c8bdecdabc3c2a.tar.xz | |
remoteproc: imx_rproc: Make detach operation platform-specific
Refactor the detach logic to support platform-specific implementations via
the dcfg->ops->detach callback. Allow finer control over detach behavior
depending on the remote processor management method, and make it easier
to add detach support for new SoCs.
The previous hardcoded SCU API detach logic is now moved into a dedicated
imx_rproc_scu_api_detach() function, and registered via the plat ops
structure. The generic imx_rproc_detach() now delegates to the
platform-specific handler if available.
Also, the dcfg->method check with IMX_RPROC_SCU_API is removed.
No functional changes.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20251024-imx_rproc_c4-v4-2-af83ed3fdbba@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
