Skip to content

Commit 816df28

Browse files
author
Jocelyn Falempe
committed
drm: adv7511: Drop dsi single lane support
JIRA: https://issues.redhat.com/browse/RHEL-53571 Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git (v6.12.9) commit 6c87986 Author: Biju Das <biju.das.jz@bp.renesas.com> AuthorDate: Tue Nov 19 19:20:31 2024 +0000 Commit: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CommitDate: Thu Jan 9 13:33:51 2025 +0100 commit 79d67c4 upstream. As per [1] and [2], ADV7535/7533 supports only 2-, 3-, or 4-lane. Drop unsupported 1-lane. [1] https://www.analog.com/media/en/technical-documentation/data-sheets/ADV7535.pdf [2] https://www.analog.com/media/en/technical-documentation/data-sheets/ADV7533.pdf Fixes: 1e4d58c ("drm/bridge: adv7533: Create a MIPI DSI device") Reported-by: Hien Huynh <hien.huynh.px@renesas.com> Cc: stable@vger.kernel.org Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Adam Ford <aford173@gmail.com> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241119192040.152657-4-biju.das.jz@bp.renesas.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
1 parent d0c378b commit 816df28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/bridge/adv7511/adv7533.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv)
172172

173173
of_property_read_u32(np, "adi,dsi-lanes", &num_lanes);
174174

175-
if (num_lanes < 1 || num_lanes > 4)
175+
if (num_lanes < 2 || num_lanes > 4)
176176
return -EINVAL;
177177

178178
adv->num_dsi_lanes = num_lanes;

0 commit comments

Comments
 (0)