[PATCH v6 10/26] drm/bridge: add devm_drm_of_get_bridge_by_node()
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Fri Feb 7 02:53:32 UTC 2025
On Thu, Feb 06, 2025 at 07:14:25PM +0100, Luca Ceresoli wrote:
> devm_drm_of_get_bridge(), which is based on graph links, is the recommended
> function to get a pointer to the following bridge.
>
> This is valid even for panels, for which the recommended device tree
> description is via graph links and not (or not only) panel subnodes of a
> panel controller (e.g. "dsi at 1234" controller node with a "panel at 0"
> subnode).
>
> However there are drivers supporting the panel subnode description in
I'd say, name them here (at least the one which we looked upon).
> addition to the graph links. For those drivers add a _by_node variant that
> takes the node of the target node.
>
> Suggested-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list