summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Rokosov <[email protected]>2023-11-01 17:04:57 +0300
committerNeil Armstrong <[email protected]>2023-11-06 09:45:47 +0100
commite9f4f7789cdcda342b2f7edb82a6141f82f4c7c2 (patch)
tree6f20a4bf8b1a6cc99bb4cbfe3fdf5fde5b1b1841
parent8ec790399aa88bb8d0a02282e411f34584c74950 (diff)
drivers: sm: bind child sm devices in the device tree
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 <[email protected]> Signed-off-by: Alexey Romanov <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
-rw-r--r--drivers/sm/meson-sm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/sm/meson-sm.c b/drivers/sm/meson-sm.c
index 25adaf45607..15b3b0e2672 100644
--- a/drivers/sm/meson-sm.c
+++ b/drivers/sm/meson-sm.c
@@ -193,6 +193,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,
};