git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4325bb
)
video: tegra20: dsi: respect speed mode used for DSI commands transfer
author
Svyatoslav Ryhel
<clamor95@gmail.com>
Fri, 21 Feb 2025 12:13:08 +0000
(14:13 +0200)
committer
Svyatoslav Ryhel
<clamor95@gmail.com>
Thu, 13 Mar 2025 17:13:17 +0000
(19:13 +0200)
Use DSI message flag to set correct speed mode for message transfer.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
drivers/video/tegra20/tegra-dsi.c
patch
|
blob
|
history
diff --git
a/drivers/video/tegra20/tegra-dsi.c
b/drivers/video/tegra20/tegra-dsi.c
index
3ce0d33
..
a2a22fa
100644
(file)
--- 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.