Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx> On 05/10/2023 12:49, AngeloGioacchino Del Regno wrote:
Instead of walking the entire parent node for something that has the right compatible, use the scp_get() function provided by the MediaTek SCP remoteproc driver to retrieve a handle to mtk_scp through the devicetree "mediatek,scp" (phandle) property. In case of multi-core SCP, this also allows to select a specific core.
-- Regards, Alexandre