diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2023-09-19 11:23:36 +0200 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2023-09-21 06:43:21 -0600 |
commit | 34eb78f28e5a8f7fd155776cdcdd052325b47c6e (patch) | |
tree | b1da77018eb331841b7f087264d98a09895c44cb /scripts/bpf_doc.py | |
parent | e1592981c51bac38ea2041b642777b3ba30606a8 (diff) |
remoteproc: mediatek: Refactor single core check and fix retrocompatibility
In older devicetrees we had the ChromeOS EC in a node called "cros-ec"
instead of the newer "cros-ec-rpmsg", but this driver is now checking
only for the latter, breaking compatibility with those.
Besides, we can check if the SCP is single or dual core by simply
walking through the children of the main SCP node and checking if
if there's more than one "mediatek,scp-core" compatible node.
Fixes: 1fdbf0cdde98 ("remoteproc: mediatek: Probe SCP cluster on multi-core SCP")
Reported-by: "kernelci.org bot" <[email protected]>
Tested-by: Laura Nao <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Tested-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions