[PATCH v3 2/5] drm: of: introduce drm_of_find_panel_or_bridge

Philipp Zabel p.zabel at pengutronix.de
Wed Mar 22 15:00:44 UTC 2017


On Wed, 2017-03-22 at 08:26 -0500, Rob Herring wrote:
> Many drivers have a common pattern of searching the OF graph for either an
> attached panel or bridge and then finding the DRM struct for the panel
> or bridge. Also, most drivers need to handle deferred probing when the
> DRM device is not yet instantiated. Create a common function,
> drm_of_find_panel_or_bridge, to find the connected node and the
> associated DRM panel or bridge device.
> 
> Signed-off-by: Rob Herring <robh at kernel.org>
> Acked-by: Philipp Zabel <p.zabel at pengutronix.de>

Tested-by: Philipp Zabel <p.zabel at pengutronix.de>
(imx-ldb on i.MX6)

regards
Philipp



More information about the dri-devel mailing list