]> git.ipfire.org Git - thirdparty/linux.git/commit
remoteproc: k3: Refactor rproc_release() implementation into common driver
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:54 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:11 +0000 (11:19 -0600)
commit23e16e210befaf2ce48feec25c11ce5b89f16039
tree244782cf4a1a919dd33ced5ab78b8b1d3f7ffce4
parent3b8127fc51eb9254551b465bd6eec7ef94a3dc90
remoteproc: k3: Refactor rproc_release() implementation into common driver

The rproc_release() implementations in TI K3 DSP and M4 remoteproc
drivers deassert reset in the same way. Refactor the above function into
the ti_k3_common.c driver as k3_rproc_release() and use it throughout
DSP and M4 drivers for releasing the reset from the remote processor.

Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Tested-by: Judith Mendez <jm@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20250513054510.3439842-21-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_common.c
drivers/remoteproc/ti_k3_common.h
drivers/remoteproc/ti_k3_dsp_remoteproc.c
drivers/remoteproc/ti_k3_m4_remoteproc.c