Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-09-05 Thread Benjamin Herrenschmidt
On Tue, 2017-09-05 at 09:25 -0500, Rob Herring wrote: > > So in the meantime, I'm thinking adding some kind of runtime way > > of disabling this default populate. Would you be ok with that ? > > > > Something like: > > > > bool arch_wants_of_platform_defaults(void) > > > > With a weak i

Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-09-05 Thread Rob Herring
On Fri, Sep 1, 2017 at 6:47 PM, Benjamin Herrenschmidt wrote: > On Fri, 2017-09-01 at 10:24 -0500, Rob Herring wrote: >> On Thu, Aug 31, 2017 at 10:51 PM, Benjamin Herrenschmidt >> wrote: >> > This allow to (slowly) migrate those embedded platforms >> > to of_platform_default_populate() >> > >> >

Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-09-01 Thread Benjamin Herrenschmidt
On Fri, 2017-09-01 at 10:24 -0500, Rob Herring wrote: > On Thu, Aug 31, 2017 at 10:51 PM, Benjamin Herrenschmidt > wrote: > > This allow to (slowly) migrate those embedded platforms > > to of_platform_default_populate() > > > > Signed-off-by: Benjamin Herrenschmidt > > --- > > > > I'm here to c

Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-09-01 Thread Rob Herring
On Thu, Aug 31, 2017 at 10:51 PM, Benjamin Herrenschmidt wrote: > This allow to (slowly) migrate those embedded platforms > to of_platform_default_populate() > > Signed-off-by: Benjamin Herrenschmidt > --- > > I'm here to collect acks (or comments :-) I'd like this to go via > the powerpc tree al

Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-08-31 Thread Greg Kroah-Hartman
On Fri, Sep 01, 2017 at 01:51:01PM +1000, Benjamin Herrenschmidt wrote: > This allow to (slowly) migrate those embedded platforms > to of_platform_default_populate() > > Signed-off-by: Benjamin Herrenschmidt > --- > > I'm here to collect acks (or comments :-) I'd like this to go via > the powerp

[RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded busses to default list

2017-08-31 Thread Benjamin Herrenschmidt
This allow to (slowly) migrate those embedded platforms to of_platform_default_populate() Signed-off-by: Benjamin Herrenschmidt --- I'm here to collect acks (or comments :-) I'd like this to go via the powerpc tree along with the patches converting some of the platforms. I'll be adding more bus