[PATCH 1/3] drm/bridge: stop mentioning deprecated devm_drm_of_get_bridge() in docs

From: Luca Ceresoli

Date: Mon Oct 12 2026 - 11:47:33 EST


devm_drm_of_get_bridge() is deprecated. Update the "display driver
integration" docs by mentioning the currently recommended API.

Link: https://lore.kernel.org/all/c1b065c8bd926708500b7c42864279e055ed95d0.camel@xxxxxxxxxxx/
Suggested-by: Icenowy Zheng <zhengxingda@xxxxxxxxxxx>
Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
---
drivers/gpu/drm/drm_bridge.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c
index e7f9e6d58927..e259d078f7de 100644
--- a/drivers/gpu/drm/drm_bridge.c
+++ b/drivers/gpu/drm/drm_bridge.c
@@ -68,8 +68,9 @@
*
* Display drivers are responsible for linking encoders with the first bridge
* in the chains. This is done by acquiring the appropriate bridge with
- * devm_drm_of_get_bridge(). Once acquired, the bridge shall be attached to the
- * encoder with a call to drm_bridge_attach().
+ * of_drm_get_bridge_by_endpoint() or of_drm_find_and_get_bridge(). Once
+ * acquired, the bridge shall be attached to the encoder with a call to
+ * drm_bridge_attach().
*
* Bridges are responsible for linking themselves with the next bridge in the
* chain, if any. This is done the same way as for encoders, with the call to

--
2.56.0