]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dp: Add support for lane mapping configuration
authorXiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Fri, 19 Sep 2025 14:24:31 +0000 (22:24 +0800)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 14 Nov 2025 14:59:27 +0000 (16:59 +0200)
commit6fb0cf3e7c4b1d1259137b2e79dc50cb9b014484
treeb474cc8e2ecde106d96a5dad11eaf2d0ac4f2b4f
parentc8fc72804da1858223e05eaedf23065b6c677560
drm/msm/dp: Add support for lane mapping configuration

QCS615 platform requires non-default logical-to-physical lane mapping due
to its unique hardware routing. Unlike the standard mapping sequence
<0 1 2 3>, QCS615 uses <3 2 0 1>, which necessitates explicit
configuration via the data-lanes property in the device tree. This ensures
correct signal routing between the DP controller and PHY.

For partial definitions, fill remaining lanes with unused physical lanes
in ascending order.

Signed-off-by: Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/675645/
Link: https://lore.kernel.org/r/20250919-add-displayport-support-for-qcs615-platform-v5-14-eae6681f4002@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/msm/dp/dp_ctrl.c
drivers/gpu/drm/msm/dp/dp_link.c
drivers/gpu/drm/msm/dp/dp_link.h