remoteproc: k3: Factor out TI-SCI processor control OF get function
authorAndrew Davis <afd@ti.com>
Fri, 2 Aug 2024 15:21:02 +0000 (10:21 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 21 Aug 2024 17:21:02 +0000 (11:21 -0600)
commitce6acb2240f40f24bc7b9240e11bbfad7cf3d113
tree0e191bcfcba327a9945ae00c354154b75fae45f4
parent9fedb829372d4bd176ad077a0f52bc47258aa178
remoteproc: k3: Factor out TI-SCI processor control OF get function

Building the TSP structure is common for users of the TI-SCI processor
control interface. Factor out this function and put it with the rest
of the TI-SCI processor control functions.

Signed-off-by: Andrew Davis <afd@ti.com>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20240802152109.137243-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/ti_k3_dsp_remoteproc.c
drivers/remoteproc/ti_k3_r5_remoteproc.c
drivers/remoteproc/ti_sci_proc.h