Skip to content

Commit

Permalink
drm: adv7511: Drop dsi single lane support
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: [email protected]
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Adam Ford <[email protected]>
Signed-off-by: Biju Das <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
bijudas authored and gregkh committed Jan 9, 2025
1 parent f9c3adb commit 0f51034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/bridge/adv7511/adv7533.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv)

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

if (num_lanes < 1 || num_lanes > 4)
if (num_lanes < 2 || num_lanes > 4)
return -EINVAL;

adv->num_dsi_lanes = num_lanes;
Expand Down

0 comments on commit 0f51034

Please sign in to comment.