From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc) Date: Mon, 27 Feb 2012 06:56:16 -0700 Message-ID: References: <1330121218-10442-1-git-send-email-grant.likely@secretlab.ca> <20120227103958.GJ27687@sortiz-mobl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1693185540963021158==" Return-path: In-Reply-To: <20120227103958.GJ27687@sortiz-mobl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Samuel Ortiz Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --===============1693185540963021158== Content-Type: multipart/alternative; boundary=e89a8fb1f6006490e704b9f27971 --e89a8fb1f6006490e704b9f27971 Content-Type: text/plain; charset=ISO-8859-1 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, there are some device drivers that want to use that function on > > other DT enabled platforms (ie. TWL4030). This patch adds an empty > > of_platform_populate() implementation that returns an error when > > CONFIG_OF_ADDRESS is not selected. > Applied as well. Please let me know if you'd prefer to see this one going > through your irqdomain/next branch. Yes, it must go via my tree. I've already applied it and pushed it out. g. > > Cheers, > Samuel. > > -- > Intel Open Source Technology Centre > http://oss.intel.com/ --e89a8fb1f6006490e704b9f27971 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Feb 27, 2012 3:32 AM, "Samuel Ortiz" <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> 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_plat= form_populate().
> > However, there are some device drivers that want to use that func= tion on
> > other DT enabled platforms (ie. TWL4030). =A0This patch adds an e= mpty
> > of_platform_populate() implementation that returns an error when<= br> > > CONFIG_OF_ADDRESS is not selected.
> Applied as well. Please let me know if you'd prefer to see this on= e going
> through your irqdomain/next branch.

Yes, it must go via my tree. I've already applied it and pushed it o= ut.

g.

>
> Cheers,
> Samuel.
>
> --
> Intel Open Source Technology Centre
> http://oss.intel.com/

--e89a8fb1f6006490e704b9f27971-- --===============1693185540963021158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============1693185540963021158==--