of_graph_get_remote_port — get remote port node
struct device_node * of_graph_get_remote_port ( | const struct device_node * node) ; |
This function is used in association with common bindings for video receiver and transmitter interfaces. For more information see Documentation/devicetree/bindings/media/video-interfaces.txt.
First find the endpoint node referred to by the phandle in the
'remote-endpoint' property contained in node
. Then find the parent of
the endpoint node. The parent node is returned.
A node pointer if found, with refcount incremented,
use of_node_put
on it when done. NULL if node
is not found.