]> www.infradead.org Git - users/jedix/linux-maple.git/commit
remoteproc: k3-m4: Ping the mbox while acquiring the channel
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:55 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:11 +0000 (11:19 -0600)
commit67de5d0e6d65ef2016650e2e5c05153a3376fb61
tree4470434e865bc2479a269d9a3504808fe04e520b
parent23e16e210befaf2ce48feec25c11ce5b89f16039
remoteproc: k3-m4: Ping the mbox while acquiring the channel

The TI K3 M4 remoteproc driver acquires the mailbox channel in probe but
sends a message through the acquired channel later in .attach()/.start()
callbacks.

Put both the things together in the form of 'k3_m4_rproc_request_mbox()'
function and invoke that in the probe routine. This is done to align the
rproc_request_mbox() implementation with R5 and DSP drivers which can be
factored out at a later stage.

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-22-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_m4_remoteproc.c