mbox series

[0/5] imx8mp: Add support to Run/Stall DSP via reset API

Message ID 20250218085712.66690-1-daniel.baluta@nxp.com (mailing list archive)
Headers show
Series imx8mp: Add support to Run/Stall DSP via reset API | expand

Message

Daniel Baluta Feb. 18, 2025, 8:57 a.m. UTC
This patch series adds support to Run/Stall DSP found on i.MX8MP via the
reset controller API.

Patches 1-4 apply to reset-imx8mp-audiomix (should go via reset
controller tree)
 * refactor code, introduce active_low configuration option and then
   add support to Run/Stall DSP.

Patch 5 applies to imx_dsp_rproc driver (should go via REMOTEPROC tree)
 * use reset controller API to control the DSP instead of directly
   touching the audiomix registers via a syscon.

Using reset controller API was suggested by Frank Li and Krzysztof
Kozlowski in the following discussion thread:

https://patchwork.kernel.org/project/imx/patch/20241210125338.104959-6-daniel.baluta@nxp.com/

Daniel Baluta (5):
  reset: imx8mp-audiomix: Add prefix for internal macro
  reset: imx8mp-audiomix: Prepare the code for more reset bits
  reset: imx8mp-audiomix: Introduce active_low configuration option
  reset: imx8mp-audiomix: Add support for DSP run/stall
  imx_dsp_rproc: Use reset controller API to control the DSP

 drivers/remoteproc/imx_dsp_rproc.c    | 25 +++++---
 drivers/remoteproc/imx_rproc.h        |  2 +
 drivers/reset/reset-imx8mp-audiomix.c | 86 ++++++++++++++++++++-------
 3 files changed, 83 insertions(+), 30 deletions(-)