[PATCH v2 0/8] imx8mp: Add support to Run/Stall DSP via reset API
From: Daniel Baluta
Date: Wed Feb 19 2025 - 14:21:38 EST
This patch series adds support to Run/Stall DSP found on i.MX8MP via the
reset controller API.
I've addressed all review comments from v1
(https://www.spinics.net/lists/kernel/msg5556023.html)
and because of the review I've introduced 3 new patches (1-3) in order
to support resets ids via dt-bindings from
include/dt-bindings/reset/imx8mp-reset-audiomix.h
Also picked up all R-b from Frank Li, Peng Fan and Philipp Zabel.
Patches 1,2, 4-7 - should go via reset controller tree.
Patch 8 - should go via remoteproc tree.
Later after all these patches are merged we can also merge patch 3/8
via dts tree (Shawn's tree).
Daniel Baluta (8):
dt-bindings: reset: audiomix: Add reset ids for EARC and DSP
dt-bindings: dsp: fsl,dsp: Add resets property
arm64: dts: imx8mp: Add resets to dsp node
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
.../devicetree/bindings/dsp/fsl,dsp.yaml | 19 ++++-
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +
drivers/remoteproc/imx_dsp_rproc.c | 25 ++++--
drivers/remoteproc/imx_rproc.h | 2 +
drivers/reset/reset-imx8mp-audiomix.c | 77 +++++++++++++------
.../dt-bindings/reset/imx8mp-reset-audiomix.h | 13 ++++
6 files changed, 107 insertions(+), 31 deletions(-)
create mode 100644 include/dt-bindings/reset/imx8mp-reset-audiomix.h
--
2.25.1