Re: [U-Boot] [PATCH v3 24/29] dm: Add functions to access a device's children

2014-07-26 Thread Simon Glass
On 23 July 2014 13:55, Simon Glass wrote: > Devices can have childen that can be addressed by a simple index, the > sequence number or a device tree offset. Add functions to access a child > in each of these ways. > > The index is typically used as a fallback when the sequence number is not > avai

[U-Boot] [PATCH v3 24/29] dm: Add functions to access a device's children

2014-07-23 Thread Simon Glass
Devices can have childen that can be addressed by a simple index, the sequence number or a device tree offset. Add functions to access a child in each of these ways. The index is typically used as a fallback when the sequence number is not available. For example we may use a serial UART with seque