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 <ddrokosov@salutedevices.com>
Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231101140500.9025-3-avromanov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
This commit is contained in:
Dmitry Rokosov 2023-11-01 17:04:57 +03:00 committed by Neil Armstrong
parent 8ec790399a
commit e9f4f7789c

View file

@ -193,6 +193,7 @@ U_BOOT_DRIVER(meson_sm) = {
.id = UCLASS_SM, .id = UCLASS_SM,
.of_match = meson_sm_ids, .of_match = meson_sm_ids,
.probe = meson_sm_probe, .probe = meson_sm_probe,
.bind = dm_scan_fdt_dev,
.priv_auto = sizeof(struct meson_sm_priv), .priv_auto = sizeof(struct meson_sm_priv),
.ops = &sm_ops, .ops = &sm_ops,
}; };