[U-Boot] [PATCH v2 3/3] dm: syscon: scan sub-nodes of the syscon node

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Jul 19 13:52:24 UTC 2017


This allow to probe devices that are defined under a syscon node

Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---

no changes since v1

 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