Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-30 Thread Lan Chunhe
On Thu, 30 Dec 2010 15:31:57 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Dec 30, 2010 at 03:23:11PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote:

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-30 Thread Grant Likely
On Thu, Dec 30, 2010 at 04:04:10PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 15:31:57 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Dec 30, 2010 at 03:23:11PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-29 Thread Grant Likely
On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match the 'matches' table passed in. Or, if the root node matches, then it registers all the children unconditionally. However, there are situations,

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-29 Thread Lan Chunhe
On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match the 'matches' table passed in. Or, if the root node matches,

Re: [PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-29 Thread Grant Likely
On Thu, Dec 30, 2010 at 03:23:11PM +0800, Lan Chunhe wrote: On Thu, 30 Dec 2010 14:50:45 +0800, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Dec 10, 2010 at 06:52:20PM +0800, Lan Chunhe wrote: Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match

[PATCH 3/3 v2] of/device: Register children with a compatible value in of_platform_bus_probe()

2010-12-10 Thread Lan Chunhe
Currently, of_platform_bus_probe() completely skips nodes which do not explicitly match the 'matches' table passed in. Or, if the root node matches, then it registers all the children unconditionally. However, there are situations, such as registering devices from the root node, when it is