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

From: Philipp Zabel
Date: Wed Mar 22 2017 - 11:02:43 EST


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@xxxxxxxxxx>
> Acked-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

Tested-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
(imx-ldb on i.MX6)

regards
Philipp