[U-Boot] [PATCH 3/3] dm: syscon: scan sub-nodes of the syscon node
Jean-Jacques Hiblot
jjhiblot at ti.com
Wed Jul 12 09:55:55 UTC 2017
This allow to probe devices that are defined under a syscon node
Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
---
drivers/core/syscon-uclass.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c
index 2148469..b06ca6a 100644
--- a/drivers/core/syscon-uclass.c
+++ b/drivers/core/syscon-uclass.c
@@ -104,5 +104,6 @@ static const struct udevice_id generic_syscon_ids[] = {
U_BOOT_DRIVER(generic_syscon) = {
.name = "syscon",
.id = UCLASS_SYSCON,
+ .bind = dm_scan_fdt_dev,
.of_match = generic_syscon_ids,
};
--
1.9.1
More information about the U-Boot
mailing list