Re: [PATCH v8 06/11] remoteproc: mediatek: Probe multi-core SCP

From: AngeloGioacchino Del Regno
Date: Tue Mar 14 2023 - 05:42:36 EST


Il 03/03/23 09:33, Tinghan Shen ha scritto:
The difference of single-core SCP and multi-core SCP device tree is
the presence of child device nodes described SCP cores. The SCP
driver populates the platform device and checks the child nodes
to identify whether it's a single-core SCP or a multi-core SCP.

The resource structure of the multi-core SCP is a list of remoteproc
instances which is different to the single-core SCP. The corresponding
resource releasing action is based on the type of SCP.

Signed-off-by: Tinghan Shen <tinghan.shen@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>