of_graph_parse_endpoint — parse common endpoint node properties
int of_graph_parse_endpoint ( | const struct device_node * node, |
struct of_endpoint * endpoint) ; |
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
.