of: Add of_graph_get_port_by_id function

This patch adds a function to get a port device tree node by port id,
or reg property value.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Philipp Zabel 2014-03-11 11:21:11 +01:00
commit bfe446e37c
2 changed files with 39 additions and 0 deletions