Messages in this thread | | | Subject | Re: [PATCH v3 2/5] drm: of: introduce drm_of_find_panel_or_bridge | From | Philipp Zabel <> | Date | Wed, 22 Mar 2017 16:00:44 +0100 |
| |
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@kernel.org> > Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de> (imx-ldb on i.MX6)
regards Philipp
| |