drm/vc4: dpi: Support DPI interface in mode3 for RGB565
authorChris Morgan <macromorgan@hotmail.com>
Fri, 28 Jan 2022 23:39:54 +0000 (17:39 -0600)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 1 Feb 2022 21:20:21 +0000 (21:20 +0000)
commit8b1c5cd97e1e9cdbe491a8244b70877407c9dd87
treed2075f54ea333164f8b448916fb416fa190732da
parent79d852d53592b4ef05cab898729ffa2319f8d836
drm/vc4: dpi: Support DPI interface in mode3 for RGB565

Add support for the VC4 DPI driver to utilize DPI mode 3. This is
defined here as xxxRRRRRxxGGGGGGxxxBBBBB:
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#parallel-display-interface-dpi

This mode is required to use the Geekworm MZP280 DPI display.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_dpi.c