drivers: display: Set mcux elcdif pixel format to BGR565

Return BGR565 as supported mcux elcdif pixel format for RK043FN02H
display panel.

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
Jan Van Winkel 2020-01-16 22:32:46 +01:00 committed by Maureen Helm
commit 9041b0f119

View file

@ -245,7 +245,7 @@ static struct mcux_elcdif_config mcux_elcdif_config_1 = {
.pixelFormat = kELCDIF_PixelFormatRGB565,
.dataBus = kELCDIF_DataBus16Bit,
},
.pixel_format = PIXEL_FORMAT_RGB_565,
.pixel_format = PIXEL_FORMAT_BGR_565,
.bits_per_pixel = 16,
#endif
};