Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-10-21 Thread Geert Uytterhoeven
Hi Tomeu, On Mon, Sep 7, 2015 at 2:23 PM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-10-21 Thread Geert Uytterhoeven
Hi Tomeu, On Mon, Sep 7, 2015 at 2:23 PM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-16 Thread Mark Brown
On Wed, Sep 16, 2015 at 10:17:43AM +0200, Tomeu Vizoso wrote: > AFAICS, this is a must currently for correct operation in simple-bus > and simple-mfd situations, because probing order is currently very > unpredictable and it's totally possible for the probing of a child to > start before the

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-16 Thread Tomeu Vizoso
On 11 September 2015 at 14:08, Mark Brown wrote: > On Mon, Sep 07, 2015 at 02:23:29PM +0200, Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. > >> The above should ensure that the

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-16 Thread Tomeu Vizoso
On 11 September 2015 at 14:08, Mark Brown wrote: > On Mon, Sep 07, 2015 at 02:23:29PM +0200, Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. > >> The above

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-16 Thread Mark Brown
On Wed, Sep 16, 2015 at 10:17:43AM +0200, Tomeu Vizoso wrote: > AFAICS, this is a must currently for correct operation in simple-bus > and simple-mfd situations, because probing order is currently very > unpredictable and it's totally possible for the probing of a child to > start before the

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-11 Thread Mark Brown
On Mon, Sep 07, 2015 at 02:23:29PM +0200, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > The above should ensure that the dependency represented by the passed OF > node is

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-11 Thread Mark Brown
On Mon, Sep 07, 2015 at 02:23:29PM +0200, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > The above should ensure that the dependency represented by the passed OF > node is

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-10 Thread Tomeu Vizoso
On 9 September 2015 at 03:29, Rob Herring wrote: > On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. >> >> The above should ensure that the dependency

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-10 Thread Tomeu Vizoso
On 9 September 2015 at 03:29, Rob Herring wrote: > On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: >> Walks the OF tree up and finds the closest ancestor that has a struct >> device associated with it, probing it if isn't bound to a driver yet. >> >> The above should ensure that the

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-08 Thread Rob Herring
On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is available, because

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-08 Thread Rob Herring
On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is available, because

[PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-07 Thread Tomeu Vizoso
Walks the OF tree up and finds the closest ancestor that has a struct device associated with it, probing it if isn't bound to a driver yet. The above should ensure that the dependency represented by the passed OF node is available, because probing a device should cause its descendants to be

[PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-07 Thread Tomeu Vizoso
Walks the OF tree up and finds the closest ancestor that has a struct device associated with it, probing it if isn't bound to a driver yet. The above should ensure that the dependency represented by the passed OF node is available, because probing a device should cause its descendants to be