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)
> > +
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 ++
>
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