[PATCH 7/8] drm/bridge: tc358762: Update comment about the number of lanes

From: Tomi Valkeinen

Date: Thu Mar 26 2026 - 09:14:10 EST


Update comment about the number of lanes.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>
---
drivers/gpu/drm/bridge/tc358762.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/tc358762.c b/drivers/gpu/drm/bridge/tc358762.c
index cc1c5ff42cbd..9fb921b3fa0d 100644
--- a/drivers/gpu/drm/bridge/tc358762.c
+++ b/drivers/gpu/drm/bridge/tc358762.c
@@ -305,7 +305,14 @@ static int tc358762_probe(struct mipi_dsi_device *dsi)
ctx->dev = dev;
ctx->pre_enabled = false;

- /* TODO: Find out how to get dual-lane mode working */
+ /*
+ * When using DSI clk for pixel clock (only mode supported in the driver),
+ * the pclk is derived directly from the DSI byteclk via simple divider,
+ * which is either 2 or 3.
+ * The required divider can be calculated with bitspp / 8 / nlanes. Thus,
+ * for RGB888, only nlanes = 1 works as nlanes = 2 would require divider
+ * of 1.5.
+ */
dsi->lanes = 1;
dsi->format = MIPI_DSI_FMT_RGB888;
dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |

--
2.43.0