Re: [PATCH v2 2/2] media: platform: mtk-mdp3: Use devicetree phandle to retrieve SCP

From: Alexandre Mergnat
Date: Tue Oct 10 2023 - 08:17:48 EST


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