This is the 3rd series to cleanup the driver.
Patch 1: simplify clock enable logic
Patch 2: Add a platform detach ops which will be easier to support new
platforms
Patch 3: Enable runtime for all
Patch 4: Drop method assignment
This is the last patchset to do the clean up for imx_rproc.c.
After imx_dsp_rproc.c moved to use platform ops with swith-case removed,
the method entry from dcfg could be removed in the end.
Tested V3 on
i.MX8MP-EVK, i.MX93-11x11-EVK.
Tested V1/V2 on
i.MX8MP-EVK, i.MX8MM-EVK, i.MX93-11x11-EVK, i.MX8QXP-MEK, and i.MX8ULP-EVK.
Thanks to Daniel and Frank for the internal reviewing.
Signed-off-by: Peng Fan <[email protected]>
---
Changes in v4:
- Drop patch 5 which updates MAINTAINERS entry.
- Add R-b for patch 3
- Link to v3:
https://lore.kernel.org/linux-remoteproc/[email protected]/T/#m68811fc8e9fc92d2c091926b0d5e699e8d888fc6
Changes in v3:
- Rebased to latest next branch
- Resolve the conflicts in patch 3 to enable runtime PM for i.MX family.
- Add A-b for patch 5
- Link to v2:
https://lore.kernel.org/linux-remoteproc/[email protected]/#t
Changes in v2:
- Add R-b from Daniel and Frank
- Update comment in patch 1 (from Daniel)
- Update commit log in patch 4 (from Daniel)
- Include Shengjiu as maintainer
- Link to v1:
https://lore.kernel.org/r/[email protected]
---
Peng Fan (4):
remoteproc: imx_rproc: Simplify clock enable logic using dcfg flags
remoteproc: imx_rproc: Make detach operation platform-specific
remoteproc: imx_rproc: Enable PM runtime support unconditionally
remoteproc: imx_rproc: Remove the assignement to method
drivers/remoteproc/imx_rproc.c | 90 +++++++++++++++++-------------------------
drivers/remoteproc/imx_rproc.h | 2 +
2 files changed, 38 insertions(+), 54 deletions(-)
---
base-commit: efb26a23ed5f5dc3554886ab398f559dcb1de96b
change-id: 20251024-imx_rproc_c4-89967b4158b6
Best regards,
--
Peng Fan <[email protected]>