]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: dw_mipi_dsi: Fix hsync/vsync settings
authorOndrej Jirman <megi@xff.cz>
Mon, 22 May 2023 21:47:02 +0000 (23:47 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 14 Jul 2023 16:17:43 +0000 (18:17 +0200)
commite62f2a622b4c4f8ecd9939a2afbfed5ad02e047c
tree144abfaa9063c38eb3109faec68ae4ed9b46a9fa
parentf4c7efe01182e9a4e7940149ee2d5c99ea8cdaec
video: dw_mipi_dsi: Fix hsync/vsync settings

These must be read from timings->flags, like other DSI HOST drivers do.

And they must not be inverted either. Low means low.

Without this fix, panel drivers that set *SYNC_LOW produce corrupted
output on screen (shifted horizontally and vertically by back porch
distance).

Signed-off-by: Ondrej Jirman <megi@xff.cz>
drivers/video/dw_mipi_dsi.c