Re: [PATCH 5/8] of: Add of_graph_get_port_by_id function

2014-08-22 Thread Philipp Zabel
Hi Laurent, Thank you for the comments. Am Mittwoch, den 20.08.2014, 22:13 +0200 schrieb Laurent Pinchart: [...] > > + struct device_node *port = NULL; > > + int port_id; > > + > > + while (true) { > > + port = of_get_next_child(node, port); > > + if (!port) > > +

Re: [PATCH 5/8] of: Add of_graph_get_port_by_id function

2014-08-20 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 19 August 2014 15:02:43 Philipp Zabel wrote: > This patch adds a function to get a port device tree node by port id, > or reg property value. > > Signed-off-by: Philipp Zabel > --- > drivers/of/base.c| 30 ++ >

[PATCH 5/8] of: Add of_graph_get_port_by_id function

2014-08-19 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel --- drivers/of/base.c| 30 ++ include/linux/of_graph.h | 7 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/of/base.c b/d