Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-31 Thread Tomeu Vizoso
On 29 July 2015 at 17:27, Rob Herring wrote: > On Wed, Jul 29, 2015 at 6:20 AM, Tomeu Vizoso > wrote: >> On 29 July 2015 at 08:14, Tomeu Vizoso wrote: >>> On 28 July 2015 at 17:31, Rob Herring wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso wrote: > On 28 July 2015 at

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-31 Thread Tomeu Vizoso
On 29 July 2015 at 17:27, Rob Herring robherri...@gmail.com wrote: On Wed, Jul 29, 2015 at 6:20 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 29 July 2015 at 08:14, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Rob Herring
On Wed, Jul 29, 2015 at 6:20 AM, Tomeu Vizoso wrote: > On 29 July 2015 at 08:14, Tomeu Vizoso wrote: >> On 28 July 2015 at 17:31, Rob Herring wrote: >>> On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso >>> wrote: On 28 July 2015 at 15:39, Rob Herring wrote: > On Tue, Jul 28, 2015 at

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 29 July 2015 at 13:20, Tomeu Vizoso wrote: > On 29 July 2015 at 08:14, Tomeu Vizoso wrote: >> On 28 July 2015 at 17:31, Rob Herring wrote: >>> On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso >>> wrote: On 28 July 2015 at 15:39, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:19 AM,

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 29 July 2015 at 08:14, Tomeu Vizoso wrote: > On 28 July 2015 at 17:31, Rob Herring wrote: >> On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso >> wrote: >>> On 28 July 2015 at 15:39, Rob Herring wrote: On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso wrote: > From an arbitrary node

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 28 July 2015 at 17:31, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso > wrote: >> On 28 July 2015 at 15:39, Rob Herring wrote: >>> On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso >>> wrote: From an arbitrary node in the tree, find the enclosing node that

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Rob Herring
On Wed, Jul 29, 2015 at 6:20 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 29 July 2015 at 08:14, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 15:39, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote:

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 29 July 2015 at 08:14, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 15:39, Rob Herring robherri...@gmail.com wrote: On

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-29 Thread Tomeu Vizoso
On 29 July 2015 at 13:20, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 29 July 2015 at 08:14, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 17:31, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote:

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso wrote: > On 28 July 2015 at 15:39, Rob Herring wrote: >> On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso >> wrote: >>> From an arbitrary node in the tree, find the enclosing node that >>> corresponds to a platform device, as registered by >>>

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Tomeu Vizoso
On 28 July 2015 at 15:39, Rob Herring wrote: > On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso > wrote: >> From an arbitrary node in the tree, find the enclosing node that >> corresponds to a platform device, as registered by >> of_platform_populate(). >> >> This can be used to find out what

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso wrote: > From an arbitrary node in the tree, find the enclosing node that > corresponds to a platform device, as registered by > of_platform_populate(). > > This can be used to find out what device needs to be probed so the > dependency described by a

[PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Tomeu Vizoso
>From an arbitrary node in the tree, find the enclosing node that corresponds to a platform device, as registered by of_platform_populate(). This can be used to find out what device needs to be probed so the dependency described by a given node is made available. Signed-off-by: Tomeu Vizoso ---

[PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Tomeu Vizoso
From an arbitrary node in the tree, find the enclosing node that corresponds to a platform device, as registered by of_platform_populate(). This can be used to find out what device needs to be probed so the dependency described by a given node is made available. Signed-off-by: Tomeu Vizoso

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Tomeu Vizoso
On 28 July 2015 at 15:39, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: From an arbitrary node in the tree, find the enclosing node that corresponds to a platform device, as registered by of_platform_populate(). This

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: From an arbitrary node in the tree, find the enclosing node that corresponds to a platform device, as registered by of_platform_populate(). This can be used to find out what device needs to be probed so the

Re: [PATCH v2 04/22] of/platform: add of_platform_device_find()

2015-07-28 Thread Rob Herring
On Tue, Jul 28, 2015 at 8:54 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 28 July 2015 at 15:39, Rob Herring robherri...@gmail.com wrote: On Tue, Jul 28, 2015 at 8:19 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: From an arbitrary node in the tree, find the enclosing node that