]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
remoteproc: k3-{m4/dsp}: Add a void ptr member in rproc internal struct
authorBeleswar Padhi <b-padhi@ti.com>
Tue, 13 May 2025 05:44:43 +0000 (11:14 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 20 May 2025 17:19:10 +0000 (11:19 -0600)
commitdb47cfd8fc1ffb0832c899750aca5661a3475f1c
treecf5e0766d4dc0224cb944bd112a270f9489f34db
parent02074bf5e27a17cd7d4cf55fbefd010f6d97be3c
remoteproc: k3-{m4/dsp}: Add a void ptr member in rproc internal struct

Introduce a void pointer in the k3_{m4/dsp}_rproc internal data
structure which can be used to point to any private data needed by the
driver. Currently, the M4/DSP drivers do not have any private data, so
the pointer can be left pointing to NULL.

This is done to align the data structures with R5 driver 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-10-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_dsp_remoteproc.c
drivers/remoteproc/ti_k3_m4_remoteproc.c