Re: [PATCH 1/9] of: property: add of_graph_get_next_port()

2024-08-19 Thread Kuninori Morimoto
Hi Tomi Thank you for the feedback, and sorry for my late responce. I was under Summer Vacation > If we have this, of_graph_get_next_ports() returns the ports@0, and that > makes sense: > > parent { > ports@0 { > port@0 { }; > }; > }; > > If we have this, of_graph_g

Re: [PATCH 1/9] of: property: add of_graph_get_next_port()

2024-08-09 Thread Tomi Valkeinen
Hi, On 09/08/2024 05:10, Kuninori Morimoto wrote: Hi Tomi Thank you for your review +/** + * of_graph_get_next_ports() - get next ports node. + * @parent: pointer to the parent device node + * @ports: current ports node, or NULL to get first + * + * Return: A 'ports' node pointer with refco

Re: [PATCH 1/9] of: property: add of_graph_get_next_port()

2024-08-08 Thread Kuninori Morimoto
Hi Tomi Thank you for your review > > +/** > > + * of_graph_get_next_ports() - get next ports node. > > + * @parent: pointer to the parent device node > > + * @ports: current ports node, or NULL to get first > > + * > > + * Return: A 'ports' node pointer with refcount incremented. Refcount > >

Re: [PATCH 1/9] of: property: add of_graph_get_next_port()

2024-08-08 Thread Tomi Valkeinen
On 06/08/2024 07:58, 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 each endpoints po

[PATCH 1/9] of: property: add of_graph_get_next_port()

2024-08-05 Thread Kuninori Morimoto
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)