From: Stefan Riedmueller Date: Mon, 21 Jun 2021 15:09:28 +0000 (+0200) Subject: drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a3050f23c77419aa71843c75a3bc6e0909c03ba4;p=linux.git drm/panel: Add connector_type and bus_format for AUO G104SN02 V2 panel The AUO G104SN02 V2 is an LVDS display which supports 6 and 8 bpc PSWG. Add the corresponding connector type and 8 bpc as default bus_format. Signed-off-by: Stefan Riedmueller Reviewed-by: Laurent Pinchart Signed-off-by: Sam Ravnborg Link: https://patchwork.freedesktop.org/patch/msgid/20210621150930.86617-1-s.riedmueller@phytec.de --- diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index df6fbd19e6fc2..ca5ca6f73c68d 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1186,6 +1186,8 @@ static const struct panel_desc auo_g104sn02 = { .width = 211, .height = 158, }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, }; static const struct drm_display_mode auo_g121ean01_mode = {