Name

of_graph_parse_endpoint — parse common endpoint node properties

Synopsis

int of_graph_parse_endpoint (const struct device_node * node,
 struct of_endpoint * endpoint);
 

Arguments

node

Pointer to endpoint node

endpoint

Pointer used to return the endpoint properties

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.

The endpoint properties are returned in endpoint. endpoint->local_node is node, endpoint->port is the u32 value of the parent node 'reg' property, endpoint->id is the u32 value of the node 'reg' property. The caller should hold a reference to node.

Return

0