
26 Jul
2014
26 Jul
'14
5:12 p.m.
On 23 July 2014 13:55, Simon Glass sjg@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@chromium.org
Changes in v3:
- Change pre-reloc fdt property to 'u-boot,dm-pre-reloc'
Changes in v2: None
Applied to dm/master.