From: Svyatoslav Ryhel Date: Fri, 21 Feb 2025 12:13:08 +0000 (+0200) Subject: video: tegra20: dsi: respect speed mode used for DSI commands transfer X-Git-Tag: v2025.07-rc1~18^2~12^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae31d4347710e853b129deed0a0721ae42b584e0;p=pandora-u-boot.git video: tegra20: dsi: respect speed mode used for DSI commands transfer Use DSI message flag to set correct speed mode for message transfer. Signed-off-by: Svyatoslav Ryhel --- diff --git a/drivers/video/tegra20/tegra-dsi.c b/drivers/video/tegra20/tegra-dsi.c index 3ce0d33e380..a2a22fa0fe2 100644 --- a/drivers/video/tegra20/tegra-dsi.c +++ b/drivers/video/tegra20/tegra-dsi.c @@ -251,6 +251,9 @@ static ssize_t tegra_dsi_host_transfer(struct mipi_dsi_host *host, value = DSI_HOST_CONTROL_CRC_RESET | DSI_HOST_CONTROL_TX_TRIG_HOST | DSI_HOST_CONTROL_CS | DSI_HOST_CONTROL_ECC; + if ((msg->flags & MIPI_DSI_MSG_USE_LPM) == 0) + value |= DSI_HOST_CONTROL_HS; + /* * The host FIFO has a maximum of 64 words, so larger transmissions * need to use the video FIFO.