[U-Boot] [PATCH v3 23/29] dm: Provide a function to scan child FDT nodes

Simon Glass sjg at chromium.org
Sat Jul 26 17:12:23 CEST 2014


On 23 July 2014 13:55, Simon Glass <sjg at chromium.org> wrote:
> At present only root nodes in the device tree are scanned for devices.
> But some devices can have children. For example a SPI bus may have
> several children for each of its chip selects.
>
> Add a function which scans subnodes and binds devices for each one. This
> can be used for the root node scan also, so change it.
>
> A device can call this function in its bind() or probe() methods to bind
> its children.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Change pre-reloc fdt property to 'u-boot,dm-pre-reloc'
>
> Changes in v2: None

Applied to dm/master.


More information about the U-Boot mailing list