Skip to content

Commit b72820a

Browse files
bijudasmehmetb0
authored andcommitted
drm: adv7511: Drop dsi single lane support
BugLink: https://bugs.launchpad.net/bugs/2095327 commit 79d67c499c3f886202a40c5cb27e747e4fa4d738 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]> Signed-off-by: Koichiro Den <[email protected]>
1 parent 457f638 commit b72820a

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
@@ -191,7 +191,7 @@ int adv7533_parse_dt(struct device_node *np, struct adv7511 *adv)
191191

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

194-
if (num_lanes < 1 || num_lanes > 4)
194+
if (num_lanes < 2 || num_lanes > 4)
195195
return -EINVAL;
196196

197197
adv->num_dsi_lanes = num_lanes;

0 commit comments

Comments
 (0)