Re: [PATCH v8 1/7] of_graph: add of_graph_presents()

2020-07-01 Thread Dmitry Osipenko
30.06.2020 02:12, Rob Herring пишет: > On Thu, Jun 18, 2020 at 01:26:57AM +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

Re: [PATCH v8 1/7] of_graph: add of_graph_presents()

2020-06-29 Thread Rob Herring
On Thu, Jun 18, 2020 at 01:26:57AM +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 adds of_graph_presents() that returns

[PATCH v8 1/7] of_graph: add of_graph_presents()

2020-06-18 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_presents() that returns true if given device-tree node contains OF graph port. Signed-off-by: Dmi