]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
imx_dsp_rproc: Use reset controller API to control the DSP
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 11 Mar 2025 08:58:11 +0000 (10:58 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 13 Mar 2025 15:11:20 +0000 (09:11 -0600)
commit0184b4fdbad1eafbdab385af8ce8a0e68af88dbb
tree6ec0aaa1cfa92d7556bd85aa342c4cc14e570a26
parentc133ec126af841b284f91bcf8c0742e6b42032f5
imx_dsp_rproc: Use reset controller API to control the DSP

DSP on i.MX8MP doesn't have a direct reset line so according to hardware
design team in order to handle assert/deassert/reset functionality we
need to use a combination of control bits from two modules. Audio block
control module for Run/Stall control of the DSP and DAP module in order
to do software reset.

In a first step, for i.MX8MP we are switching on using the reset
controller API to handle the DSP Run/Stall bits i.MX8MP. This comes with
the advantage of offering a better probe ordering and a more natural way
of abstracting the Audio block control bits.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20250311085812.1296243-9-daniel.baluta@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_dsp_rproc.c
drivers/remoteproc/imx_rproc.h