[PATCH v1 2/2] drivers: sm: bind child sm devices in the device tree

Alexey Romanov avromanov at salutedevices.com
Wed Nov 1 15:04:57 CET 2023


From: Dmitry Rokosov <ddrokosov at salutedevices.com>

One well-known sm child device that provides secure power control is the
Secure Power Controller. This device utilizes SMC calls to communicate
with power domains on the secure monitor side.

Signed-off-by: Dmitry Rokosov <ddrokosov at salutedevices.com>
Signed-off-by: Alexey Romanov <avromanov at salutedevices.com>
---
 drivers/sm/meson-sm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/sm/meson-sm.c b/drivers/sm/meson-sm.c
index faef369f35..1dd1584855 100644
--- a/drivers/sm/meson-sm.c
+++ b/drivers/sm/meson-sm.c
@@ -194,6 +194,7 @@ U_BOOT_DRIVER(meson_sm) = {
 	.id = UCLASS_SM,
 	.of_match = meson_sm_ids,
 	.probe = meson_sm_probe,
+	.bind = dm_scan_fdt_dev,
 	.priv_auto = sizeof(struct meson_sm_priv),
 	.ops = &sm_ops,
 };
-- 
2.25.1



More information about the U-Boot mailing list