Skip to content

Commit 2a0ac45

Browse files
MrVanJassi Brar
authored andcommitted
mailbox: imx: populate sub-nodes
Some MUs such as i.MX95 MU, have internal SRAM which could be used for SCMI shared memory, so populate the sub-nodes to use the SRAM. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
1 parent 81f91d6 commit 2a0ac45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/mailbox/imx-mailbox.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <linux/mailbox_controller.h>
1717
#include <linux/module.h>
1818
#include <linux/of.h>
19+
#include <linux/of_platform.h>
1920
#include <linux/platform_device.h>
2021
#include <linux/pm_runtime.h>
2122
#include <linux/suspend.h>
@@ -920,6 +921,8 @@ static int imx_mu_probe(struct platform_device *pdev)
920921
if (ret)
921922
goto disable_clk;
922923

924+
of_platform_populate(dev->of_node, NULL, NULL, dev);
925+
923926
pm_runtime_enable(dev);
924927

925928
ret = pm_runtime_resume_and_get(dev);

0 commit comments

Comments
 (0)