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

Jaehoon Chung jh80.chung at samsung.com
Fri Jul 28 12:59:54 UTC 2017


On 07/19/2017 10:52 PM, Jean-Jacques Hiblot wrote:
> This allow to probe devices that are defined under a syscon node
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>

Applied to u-boot-mmc. Thanks!

Best Regards,
Jaehoon Chung

> 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,
>  };
> 



More information about the U-Boot mailing list