From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 1/1 v3] dt: add property iteration helpers Date: Mon, 09 Apr 2012 21:46:38 -0600 Message-ID: <4F83AD1E.20002@wwwdotorg.org> References: <1333968374-28451-1-git-send-email-plagnioj@jcrosoft.com> <4F82FF8E.8090407@wwwdotorg.org> <20120410022728.GD29577@game.jcrosoft.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120410022728.GD29577-RQcB7r2h9QmfDR2tN2SG5Ni2O/JbrIOy@public.gmane.org> 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: Jean-Christophe PLAGNIOL-VILLARD Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Rob Herring List-Id: devicetree@vger.kernel.org On 04/09/2012 08:27 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 09:26 Mon 09 Apr , Stephen Warren wrote: >> On 04/09/2012 04:46 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: >>> From: Stephen Warren >>> >>> This patch adds macros of_property_for_each_u32() and >>> of_property_for_each_string(), which iterate over an array of values >>> within a device-tree property. Usage is for example: >> ... >>> --- >>> I need it for at91 for the interrupt controller >>> and pinctrl >> >> OK. But just reposting the patch isn't a good idea; we don't want it to >> get applied directly to multiple places. >> >> I'd included this patch in my series to add DT support into the pinctrl >> subsystem, and hence I believe it was planned to merge it into that >> tree. If it's needed elsewhere, I guess it should be put in a branch >> that can be merged into both the pinctrl tree and elsewhere. >> >> Linus, Grant, Rob, can you co-ordinate this? If you want, I can create >> the branch and send a pull request to LinusW. I'm not sure which branch >> Jean-Christophe needs this in for his IRQ work. > > today just this patch and the 3.4-rc2 for the irq > > for pinctrl LinusW tree I'm not sure I understand your response. I think you're saying that you need only code that's in 3.4-rc2 plus this patch on top. However, that doesn't tell us which branch your IRQ changes are going into and hence which branch needs this patch merged in.