]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: k3: Refactor rproc_reset() implementation into common driver
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:51 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:11 +0000 (11:19 -0600)
commitaf5af3a417a1b4a7790bc06caa4d8ff158da45e8
tree03e8418a64fddd93d95b2803435d05522e315a53
parentca8921f44c9464ba0ee285f1e616279ca30fa710
remoteproc: k3: Refactor rproc_reset() implementation into common driver

The rproc_reset() implementations in TI K3 DSP and M4 remoteproc drivers
assert reset in the same way. Refactor the above function into the
ti_k3_common.c driver as k3_rproc_reset() and use it throughout DSP and
M4 drivers for resetting 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-18-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