Thread (20 messages) 20 messages, 4 authors, 2025-07-04
STALE386d

[PATCH 3/7] pmdomain: imx93-blk-ctrl: populate child devices

From: Frank Li <Frank.Li@nxp.com>
Date: 2025-07-01 22:06:47
Also in: imx, linux-devicetree, linux-media, linux-phy, lkml
Subsystem: generic pm domains, the rest · Maintainers: Ulf Hansson, Linus Torvalds

imx93-blk-ctrl is miscellaneous devices, which include reset, clock, MIPI
CSI2 PHY and DSI's miscellaneous logic. Call of_platform_populate() to
probe child nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 drivers/pmdomain/imx/imx93-blk-ctrl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/pmdomain/imx/imx93-blk-ctrl.c b/drivers/pmdomain/imx/imx93-blk-ctrl.c
index 0e2ba8ec55d75..ba2dd8bd143d1 100644
--- a/drivers/pmdomain/imx/imx93-blk-ctrl.c
+++ b/drivers/pmdomain/imx/imx93-blk-ctrl.c
@@ -7,6 +7,7 @@
 #include <linux/device.h>
 #include <linux/module.h>
 #include <linux/of.h>
+#include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <linux/pm_domain.h>
 #include <linux/pm_runtime.h>
@@ -297,7 +298,7 @@ static int imx93_blk_ctrl_probe(struct platform_device *pdev)
 
 	dev_set_drvdata(dev, bc);
 
-	return 0;
+	return of_platform_populate(dev->of_node, NULL, NULL, dev);
 
 cleanup_pds:
 	for (i--; i >= 0; i--)
-- 
2.34.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help