]> 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)
commit1b378928c555e91c33005b8607c08679b1b640ad
tree2bbe11ece071fb4b06aaf1b323a9bf2d91fc4a24
parentb5aa94c19741232a6d356e4c4cfe29a2674022ed
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