Name

of_graph_get_remote_port — get remote port node

Synopsis

struct device_node * of_graph_get_remote_port (const struct device_node * node);
 

Arguments

node

Pointer to local endpoint node

Description

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.

Return

A node pointer if found, with refcount incremented, use of_node_put on it when done. NULL if node is not found.