Message ID | 20231005104905.120544-1-angelogioacchino.delregno@collabora.com |
---|---|
Headers | show |
Series | MediaTek MDP3: use devicetree to retrieve SCP | expand |
Reviewed-by: Alexandre Mergnat <amergnat@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.