]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: dsi: compute the transition time from LP to HS and back
authorAntonio Borneo <antonio.borneo@foss.st.com>
Tue, 13 Jul 2021 14:49:41 +0000 (16:49 +0200)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Mon, 19 Jul 2021 13:35:55 +0000 (15:35 +0200)
commite17579e35f76fc7cc2ace64708c944f2bd169d58
tree2bbe11ece071fb4b06aaf1b323a9bf2d91fc4a24
parent8762a69f9f7f69baefc81ee9de29b5b057686857
drm/stm: dsi: compute the transition time from LP to HS and back

The driver uses a conservative set of hardcoded values for the
maximum time delay of the transitions between LP and HS, either
for data and clock lanes.

By using the info in STM32MP157 datasheet, valid also for other ST
devices, compute the actual delay from the lane's bps.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com>
Acked-by: Philippe Cornu <philippe.cornu@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210713144941.3599-1-antonio.borneo@foss.st.com
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c