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
Hi Rob
> > node {
> > => ports@0 {
> > port@0 { ... };
> > port@1 { ... };
> > ...
> > };
> > => ports@1 {
> > ...
> > };
> > };
>
> There is no schema that supports
On Wed, Aug 28, 2024 at 05:11:37AM +, Kuninori Morimoto wrote:
> We have endpoint base functions
> - of_graph_get_next_device_endpoint()
> - of_graph_get_device_endpoint_count()
> - for_each_of_graph_device_endpoint()
>
> Here, for_each_of_graph_device_endpoint() loop finds e
On Wed, Aug 28, 2024 at 05:11:37AM +, Kuninori Morimoto wrote:
> We have endpoint base functions
> - of_graph_get_next_device_endpoint()
> - of_graph_get_device_endpoint_count()
> - for_each_of_graph_device_endpoint()
>
> Here, for_each_of_graph_device_endpoint() loop finds e
We have endpoint base functions
- of_graph_get_next_device_endpoint()
- of_graph_get_device_endpoint_count()
- for_each_of_graph_device_endpoint()
Here, for_each_of_graph_device_endpoint() loop finds each endpoints
ports {
port@0 {
(1)