]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: nwl-dsi: Use vsync/hsync polarity from display mode
authorEsben Haabendal <esben@geanix.com>
Wed, 14 Aug 2024 10:37:26 +0000 (12:37 +0200)
committerRobert Foss <rfoss@kernel.org>
Mon, 19 Aug 2024 13:36:47 +0000 (15:36 +0200)
commit8a879141dcd15d2db876ce3adf88b9b01650b7fa
treee588d924616ae0e42468c06e36ef481bd67781a4
parent11c742bb5a26d4adc873f6e6e2b69a59e1eae285
drm/bridge: nwl-dsi: Use vsync/hsync polarity from display mode

Using the correct bit helps. The documentation specifies bit 0 in both
registers to be controlling polarity of dpi_vsync_input and
dpi_hsync_input polarity. Bit 1 is reserved, and should therefore not be
set.

Tested with panel that requires active high vsync and hsync.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240814-nwl-dsi-sync-polarity-v1-1-ee198e369196@geanix.com
drivers/gpu/drm/bridge/nwl-dsi.c
drivers/gpu/drm/bridge/nwl-dsi.h