Hi Rob > > +EXPORT_SYMBOL(of_graph_get_next_port); > > of_graph_is_present should be reimplemented using this function. So > should part of of_graph_get_next_endpoint(). I didn't notice about of_graph_is_present()... but unfortunately, we can't. The biggest reason is "const". This is because of_graph_get_next_ports() needs to use of_node_get() for "parent", in case of if it doesn't have "ports" node ("parent" node will be handled as "ports" node, in this case). So, it can't use "const" for "parent", but above 2 functions are based on "const". Thus we can't replace these by new helper functions. struct device_node *of_graph_get_next_ports(struct device_node *parent, ...) { ... => prev = of_node_get(parent); ... } Or I can do it if we can remove "const" from there. Thank you for your help !! Best regards --- Kuninori Morimoto