[PATCH 1/1 v3] dt: add property iteration helpers

Stephen Warren swarren at wwwdotorg.org
Tue Apr 10 13:46:38 EST 2012


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 <swarren at wwwdotorg.org>
>>>
>>> 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.


More information about the devicetree-discuss mailing list