]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/of: add helper to count data-lanes on a remote endpoint
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 13 Apr 2026 14:05:29 +0000 (17:05 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 17 Apr 2026 23:10:37 +0000 (02:10 +0300)
commita8c56e00c608d5c70eb89464676ea0b3cdcb1ce6
treecc5ad9d97b912e56c18509d10868c0bc01fd9646
parent17b2ab777384d04cae0e5c1e19287d16369e745d
drm/of: add helper to count data-lanes on a remote endpoint

If the DSI panel supports versatile lanes configuration, its driver
might require determining the number of DSI data lanes, which is usually
specified on the DSI host side of the OF graph. Add new helper as a
pair to drm_of_get_data_lanes_count_ep() that lets callers determine
number of data-lanes on the remote side of the OF graph.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patch.msgid.link/20260413-waveshare-dsi-touch-v3-6-3aeb53022c32@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/drm_of.c
include/drm/drm_of.h