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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:40 +0000 (16:04 +0000)
commit790f7f793e15bdf1a851eb8d2750893d257d4a28
treeb0b3a63af6e82c4edea72f094a11f3a8d9f5bd49
parentd60f9fb083ecbd7cd1847af16fb703980d6eba9a
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