[PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-02-24 Thread Grant Likely
Sparc has its own helpers for translating address ranges when the device tree is parsed at boot time, and it isn't able to use of_platform_populate(). However, there are some device drivers that want to use that function on other DT enabled platforms (ie. TWL4030). This patch adds an empty of_plat

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-02-27 Thread Samuel Ortiz
Hi Grant, On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote: > Sparc has its own helpers for translating address ranges when the device > tree is parsed at boot time, and it isn't able to use of_platform_populate(). > However, there are some device drivers that want to use that function

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-02-27 Thread Grant Likely
On Feb 27, 2012 3:32 AM, "Samuel Ortiz" wrote: > > Hi Grant, > > On Fri, Feb 24, 2012 at 03:06:58PM -0700, Grant Likely wrote: > > Sparc has its own helpers for translating address ranges when the device > > tree is parsed at boot time, and it isn't able to use of_platform_populate(). > > However,

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-02 Thread Cousson, Benoit
Hi Grant, In fact this patch is not working for build without CONFIG_OF like x86. On 2/24/2012 11:06 PM, Grant Likely wrote: --- a/include/linux/of_platform.h +++ b/include/linux/of_platform.h @@ -81,7 +81,7 @@ extern struct platform_device *of_device_alloc(struct device_node *np,

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-02 Thread Andrew Morton
On Fri, 2 Mar 2012 22:20:16 +0100 "Cousson, Benoit" wrote: > Hi Grant, > > In fact this patch is not working for build without CONFIG_OF like x86. > > On 2/24/2012 11:06 PM, Grant Likely wrote: > > --- a/include/linux/of_platform.h > > +++ b/include/linux/of_platform.h > > @@ -81,7 +81,7 @@ ext

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-02 Thread Grant Likely
On Fri, 2 Mar 2012 17:07:15 -0800, Andrew Morton wrote: > On Fri, 2 Mar 2012 22:20:16 +0100 > "Cousson, Benoit" wrote: > > > Hi Grant, > > > > In fact this patch is not working for build without CONFIG_OF like x86. > > > > On 2/24/2012 11:06 PM, Grant Likely wrote: > > > --- a/include/linux/o

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-05 Thread Cousson, Benoit
Hi Grant, On 3/3/2012 5:09 AM, Grant Likely wrote: On Fri, 2 Mar 2012 17:07:15 -0800, Andrew Morton wrote: On Fri, 2 Mar 2012 22:20:16 +0100 "Cousson, Benoit" wrote: Hi Grant, In fact this patch is not working for build without CONFIG_OF like x86. On 2/24/2012 11:06 PM, Grant Likely wrot

Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)

2012-03-05 Thread Grant Likely
On Mon, Mar 05, 2012 at 02:30:01PM +0100, Cousson, Benoit wrote: > On 3/3/2012 5:09 AM, Grant Likely wrote: > >On Fri, 2 Mar 2012 17:07:15 -0800, Andrew Morton > >wrote: > >>All twl is broken. i386 allmodconfig with this monring's linux-next: > >> > >>drivers/mfd/twl-core.c: In function 'twl_pro