diff options
author | Marek Vasut <marex@denx.de> | 2022-03-31 17:05:03 +0200 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-03-31 17:20:39 +0200 |
commit | 00404824b8ad2551df2df8e74ac37a46fad941f6 (patch) | |
tree | 8578b37f52bd6cb8dfbcec82eb680343dd2a0822 /drivers/gpu/drm/bridge/chipone-icn6211.c | |
parent | drm: bridge: icn6211: Add generic DSI-to-DPI PLL configuration (diff) | |
download | linux-00404824b8ad2551df2df8e74ac37a46fad941f6.tar.xz linux-00404824b8ad2551df2df8e74ac37a46fad941f6.zip |
drm: bridge: icn6211: Use DSI burst mode without EoT and with LP command mode
The DSI burst mode is more energy efficient than the DSI sync pulse mode,
make use of the burst mode since the chip supports it as well. Disable the
generation of EoT packet, the chip ignores it, so no point in emitting it.
Enable transmission of data in LP mode, otherwise register read via DSI
does not work with this chip.
Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
To: dri-devel@lists.freedesktop.org
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331150509.9838-6-marex@denx.de
Diffstat (limited to 'drivers/gpu/drm/bridge/chipone-icn6211.c')
-rw-r--r-- | drivers/gpu/drm/bridge/chipone-icn6211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c index d4a52176814c..e3a7b945a0ef 100644 --- a/drivers/gpu/drm/bridge/chipone-icn6211.c +++ b/drivers/gpu/drm/bridge/chipone-icn6211.c @@ -464,7 +464,8 @@ static int chipone_probe(struct mipi_dsi_device *dsi) dsi->lanes = 4; dsi->format = MIPI_DSI_FMT_RGB888; - dsi->mode_flags = MIPI_DSI_MODE_VIDEO_SYNC_PULSE; + dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | + MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_NO_EOT_PACKET; ret = mipi_dsi_attach(dsi); if (ret < 0) { |