drm: panel: simple: Correct bus format for Satoz SAT050AT40H12R2
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Jun 2020 23:33:18 +0000 (02:33 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 30 Jun 2020 13:53:24 +0000 (15:53 +0200)
The Satoz SAT050AT40H12R2 panel is an LVDS panel, the
MEDIA_BUS_FMT_RGB888_1X24 bus format is thus incorrect. Set it to the
correct value MEDIA_BUS_FMT_RGB888_1X7X4_SPWG.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200629233320.8774-3-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/panel/panel-simple.c

index ac6e8d5..c659d82 100644 (file)
@@ -3118,7 +3118,7 @@ static const struct panel_desc satoz_sat050at40h12r2 = {
                .width = 108,
                .height = 65,
        },
-       .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+       .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
        .connector_type = DRM_MODE_CONNECTOR_LVDS,
 };