memory: tegra: populate dt subnodes

Tegra210b01 uses tegra186-emc driver as emc clock is controlled by BPMP.
However, this driver expects emc as subnode of mc. Adjust Tegra30 mc
probe routine to populate subnodes.
This commit is contained in:
2025-11-10 23:58:21 +00:00
parent 227ce80df8
commit 2d7adead1a

View File

@@ -526,6 +526,10 @@ int tegra30_mc_probe(struct tegra_mc *mc)
return err; return err;
} }
err = of_platform_populate(mc->dev->of_node, NULL, NULL, mc->dev);
if (err < 0)
return err;
return 0; return 0;
} }