drm/panel: panel-simple: fix AUO G101EVN010 connector/panel type
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 17 Apr 2020 11:40:43 +0000 (14:40 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 4 May 2020 19:44:27 +0000 (21:44 +0200)
The AUO G101EVN010 is a 18-bit LVDS panel, not a parallel panel, as
indicated by the current bus_format.

Fix the bus_format to MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, and also set the
connector_type to LVDS.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
[updated patch subject]
Link: https://patchwork.freedesktop.org/patch/msgid/20200417114043.25381-1-tomi.valkeinen@ti.com
drivers/gpu/drm/panel/panel-simple.c

index 5e56c68..d6c2954 100644 (file)
@@ -836,7 +836,8 @@ static const struct panel_desc auo_g101evn010 = {
                .width = 216,
                .height = 135,
        },
-       .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+       .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
+       .connector_type = DRM_MODE_CONNECTOR_LVDS,
 };
 
 static const struct drm_display_mode auo_g104sn02_mode = {