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

2014-07-23 Thread Simon Glass
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,

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

2014-07-26 Thread Simon Glass
On 23 July 2014 13:55, Simon Glass 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 eac