Re: [PATCH v9 1/2] of_graph: add of_graph_is_present()

2020-06-30 Thread Dmitry Osipenko
01.07.2020 08:45, Laurent Pinchart пишет: > Hi Dmitry, > > Thank you for the patch. > > On Wed, Jul 01, 2020 at 05:16:16AM +0300, Dmitry Osipenko wrote: >> In some case, like a DRM display code for example, it's useful to silently >> check whether port node exists at all in a device-tree before p

Re: [PATCH v9 1/2] of_graph: add of_graph_is_present()

2020-06-30 Thread Laurent Pinchart
Hi Dmitry, Thank you for the patch. On Wed, Jul 01, 2020 at 05:16:16AM +0300, Dmitry Osipenko wrote: > In some case, like a DRM display code for example, it's useful to silently > check whether port node exists at all in a device-tree before proceeding > with parsing of the graph. > > This patch

[PATCH v9 1/2] of_graph: add of_graph_is_present()

2020-06-30 Thread Dmitry Osipenko
In some case, like a DRM display code for example, it's useful to silently check whether port node exists at all in a device-tree before proceeding with parsing of the graph. This patch adds of_graph_is_present() which returns true if given device-tree node contains OF graph port. Reviewed-by: Ro