Commit dbb9c37
remoteproc: mtk_scp: Only populate devices for SCP cores
When multi-core SCP support was added, the driver was made to populate
platform devices for all the sub-nodes. This ended up adding platform
devices for the rpmsg sub-nodes as well, which never actually get used,
since rpmsg devices are registered through the rpmsg interface.
Limit of_platform_populate() to just populating the SCP cores with a
compatible string match list.
Fixes: 1fdbf0c ("remoteproc: mediatek: Probe SCP cluster on multi-core SCP")
Cc: Tinghan Shen <[email protected]>
Signed-off-by: Chen-Yu Tsai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>1 parent 1dc7c8e commit dbb9c37
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1326 | 1326 | | |
1327 | 1327 | | |
1328 | 1328 | | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
1329 | 1334 | | |
1330 | 1335 | | |
1331 | 1336 | | |
| |||
1357 | 1362 | | |
1358 | 1363 | | |
1359 | 1364 | | |
1360 | | - | |
| 1365 | + | |
1361 | 1366 | | |
1362 | 1367 | | |
1363 | 1368 | | |
1364 | 1369 | | |
1365 | | - | |
| 1370 | + | |
| 1371 | + | |
1366 | 1372 | | |
| 1373 | + | |
1367 | 1374 | | |
1368 | 1375 | | |
1369 | 1376 | | |
| |||
1379 | 1386 | | |
1380 | 1387 | | |
1381 | 1388 | | |
| 1389 | + | |
1382 | 1390 | | |
1383 | 1391 | | |
1384 | 1392 | | |
| |||
0 commit comments