Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-04-28 Thread Pawel Moll
On Tue, 2014-02-11 at 12:32 -0500, Christopher Covington wrote: > Hi Pawel, > > On 02/11/2014 11:53 AM, Pawel Moll wrote: > > This patch tries to solve that issue in a generic way, > > adding a "populated" flag which is set in the device_node > > structure when a device is being created in the cor

Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-04-28 Thread Pawel Moll
On Thu, 2014-02-13 at 13:15 -0600, Rob Herring wrote: > On Tue, Feb 11, 2014 at 10:53 AM, Pawel Moll wrote: > > In "Device Tree powered" systems, platform devices are usually > > massively populated with of_platform_populate() call, executed > > at some level of initcalls, either by generic archit

Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-04-28 Thread Pawel Moll
On Mon, 2014-04-28 at 18:37 +0100, Pawel Moll wrote: > On Thu, 2014-02-13 at 13:15 -0600, Rob Herring wrote: > > On Tue, Feb 11, 2014 at 10:53 AM, Pawel Moll wrote: > > > In "Device Tree powered" systems, platform devices are usually > > > massively populated with of_platform_populate() call, exec

Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-02-13 Thread Rob Herring
On Tue, Feb 11, 2014 at 10:53 AM, Pawel Moll wrote: > In "Device Tree powered" systems, platform devices are usually > massively populated with of_platform_populate() call, executed > at some level of initcalls, either by generic architecture > or by platform-specific code. > > There are situation

Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-02-11 Thread Christopher Covington
Hi Pawel, On 02/11/2014 11:53 AM, Pawel Moll wrote: > This patch tries to solve that issue in a generic way, > adding a "populated" flag which is set in the device_node > structure when a device is being created in the core. > Later, of_platform_populate() skips such nodes (and > its children) in

[PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-02-11 Thread Pawel Moll
In "Device Tree powered" systems, platform devices are usually massively populated with of_platform_populate() call, executed at some level of initcalls, either by generic architecture or by platform-specific code. There are situations though where certain devices must be created (and bound with d