[PATCH] drm/bridge: lontium-lt8912b: Do not generate HFP

max.oss.09
2025-07-28T15:01:56Z

From: Max Krummenacher <max.krummenacher@toradex.com>

The datasheet of lontium-lt8912b doesn't require blanking during
the HFP period. Thus use LP during HFP.

Tested with a samsung-dsim (i.MX8 MM) and a tc358768 DPI to DSI bridge
as the DSI host.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

---

drivers/gpu/drm/bridge/lontium-lt8912b.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c
index 3e49d855b364..760d89493276 100644
--- a/drivers/gpu/drm/bridge/lontium-lt8912b.c
+++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c
@@ -494,6 +494,7 @@ static int lt8912_attach_dsi(struct lt8912 *lt)

dsi->mode_flags = MIPI_DSI_MODE_VIDEO |
MIPI_DSI_MODE_LPM |
+ MIPI_DSI_MODE_VIDEO_NO_HFP |
MIPI_DSI_MODE_NO_EOT_PACKET;

ret = devm_mipi_dsi_attach(dev, dsi);
--
2.42.0