[U-Boot] [UBOOT PATCH 0/2] dm: core: Scan "/firmware" node by default

2018-08-11 Thread Rajan Vaja
All Linux firmware drivers are put under "/firmware" node
and it has support to populate "/firmware" node by default.

u-boot and Linux can share same DTB. In this case, driver
probe for devices under "/firmware" will not be invoked
as "/firmware" does not have its own "compatible" property.

This patch series scans "/firmware" node by default like "/clocks".
To avoid duplication of code, first patch moves, node scan code
into separate function.

Rajan Vaja (2):
  dm: core: Move "/clock" node scan into function
  dm: core: Scan "/firmware" node by default

 drivers/core/root.c | 35 ++-
 1 file changed, 22 insertions(+), 13 deletions(-)

-- 
BRANCH: zynq3/master-next-test

Changes since RFC:
  * Rebase on top on zynq3 branch.
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [UBOOT PATCH 0/2] dm: core: Scan "/firmware" node by default

2018-08-10 Thread Michal Simek
Hi Simon,

On 10.8.2018 10:45, Rajan Vaja wrote:
> All Linux firmware drivers are put under "/firmware" node
> and it has support to populate "/firmware" node by default.
> 
> u-boot and Linux can share same DTB. In this case, driver
> probe for devices under "/firmware" will not be invoked
> as "/firmware" does not have its own "compatible" property.
> 
> This patch series scans "/firmware" node by default like "/clocks".
> To avoid duplication of code, first patch moves, node scan code
> into separate function.
> 
> Rajan Vaja (2):
>   dm: core: Move "/clock" node scan into function
>   dm: core: Scan "/firmware" node by default
> 
>  drivers/core/root.c | 35 ++-
>  1 file changed, 22 insertions(+), 13 deletions(-)
> 

This patch is done based on acked binding
https://lkml.org/lkml/2018/8/3/683
and
https://lkml.org/lkml/2018/8/3/684

where clock driver is child of firmware node.

Can you please look at these 2 patches?

Thanks,
Michal
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot