Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-16 Thread Stephen Warren
:-) The above proposal is similar to the version v6+++ mentioned in the above patch note: v6+++: Introduced a new struct of_phandle_iter to keep the state when iterating over the list. which is: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args() http

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-12 Thread Grant Likely
On Wed, 11 Dec 2013 14:33:38 +0100, Hiroshi Doyu hd...@nvidia.com wrote: Hi Grant, Grant Likely grant.lik...@linaro.org wrote @ Wed, 11 Dec 2013 14:28:45 +0100: On Thu, 21 Nov 2013 11:57:00 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 11/21/2013 10:17 AM, Hiroshi Doyu

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-11 Thread Grant Likely
On Thu, 21 Nov 2013 18:17:20 +0100, Hiroshi Doyu hd...@nvidia.com wrote: Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new of_property_for_each_phandle_with_args() macro to make the iteration simpler.

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-11 Thread Grant Likely
On Thu, 21 Nov 2013 11:57:00 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 11/21/2013 10:17 AM, Hiroshi Doyu wrote: Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new

Re: [PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-11 Thread Hiroshi Doyu
Hi Grant, Grant Likely grant.lik...@linaro.org wrote @ Wed, 11 Dec 2013 14:28:45 +0100: On Thu, 21 Nov 2013 11:57:00 -0700, Stephen Warren swar...@wwwdotorg.org wrote: On 11/21/2013 10:17 AM, Hiroshi Doyu wrote: Iterating over a property containing a list of phandles with arguments is

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-03 Thread Stephen Warren
On 12/02/2013 04:02 AM, Hiroshi Doyu wrote: ... Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new of_property_for_each_phandle_with_args() macro to make the iteration simpler. diff --git a/drivers/of/base.c

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-02 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Sun, 1 Dec 2013 20:00:09 +0100: On 11/29/2013 04:46 AM, Hiroshi Doyu wrote: ... Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-02 Thread Hiroshi Doyu
On Mon, 2 Dec 2013 15:39:25 +0100 Rob Herring robherri...@gmail.com wrote: On Mon, Dec 2, 2013 at 5:02 AM, Hiroshi Doyu hd...@nvidia.com wrote: Stephen Warren swar...@wwwdotorg.org wrote @ Sun, 1 Dec 2013 20:00:09 +0100: On 11/29/2013 04:46 AM, Hiroshi Doyu wrote: ... Iterating

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-01 Thread Stephen Warren
On 11/29/2013 04:46 AM, Hiroshi Doyu wrote: ... Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new of_property_for_each_phandle_with_args() macro to make the iteration simpler. Introduced a new struct

[RFC][PATCHv6++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-11-28 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Thu, 21 Nov 2013 19:57:00 +0100: On 11/21/2013 10:17 AM, Hiroshi Doyu wrote: Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new