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

Alexandre Mergnat amergnat at baylibre.com
Tue Oct 10 05:17:40 PDT 2023


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

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



More information about the Linux-mediatek mailing list