drm/bridge: tc358762: Handle HS/VS polarity
authorMarek Vasut <marex@denx.de>
Thu, 15 Jun 2023 20:19:02 +0000 (22:19 +0200)
committerRobert Foss <rfoss@kernel.org>
Thu, 22 Jun 2023 09:13:31 +0000 (11:13 +0200)
commit7f4e171f9d05c2371e477005db8f5f965f4fb25f
tree3e1ead3f4ff639e186f2d32da228a02119359992
parent80382226ef6ff7789ad96227a7f2ded95244e96e
drm/bridge: tc358762: Handle HS/VS polarity

Add support for handling the HS/VS sync signals polarity in the bridge
driver, otherwise e.g. DSIM bridge feeds the TC358762 inverted polarity
sync signals and the image is shifted to the left, up, and wobbly.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230615201902.566182-5-marex@denx.de
drivers/gpu/drm/bridge/tc358762.c