Files
linux/include/linux
Dmitry Osipenko 4ec0a44ba8 of_graph: add of_graph_is_present()
In some cases it's very useful to silently check whether port node exists
at all in a device-tree before proceeding with parsing the graph. The DRM
bridges code is one example of such case where absence of a graph in a
device-tree is a legit condition.

This patch adds of_graph_is_present() which returns true if given
device-tree node contains OF graph port.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200701074232.13632-2-digetx@gmail.com
2020-07-01 10:49:02 +02:00
..
2020-05-17 21:10:28 -07:00
2020-05-24 20:48:11 +02:00
2020-05-19 09:40:29 -06:00
2020-06-18 09:24:35 -06:00
2020-06-09 09:39:13 -07:00
2020-05-28 07:59:45 -07:00
2020-05-18 10:30:21 +01:00
2020-06-02 15:15:46 +01:00
2020-05-28 10:31:09 +02:00
2020-06-10 19:14:18 -07:00
2020-07-01 10:49:02 +02:00
2020-05-17 14:10:07 -06:00
2020-05-28 11:11:45 -07:00
2020-05-29 14:52:53 +02:00