diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2023-10-05 12:49:05 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2023-12-07 08:31:14 +0100 |
commit | 52e1fc9aa8282d783f6cfedd79b79db98259900c (patch) | |
tree | d4c4cf310978dacad03b576d975e64b6c5e9f276 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | a60577cef7de982166baa132a8423f413b617b63 (diff) |
media: platform: mtk-mdp3: Use devicetree phandle to retrieve SCP
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.
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: Alexandre Mergnat <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions