summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel
diff options
context:
space:
mode:
authorStefan Riedmueller <s.riedmueller@phytec.de>2021-06-21 17:09:28 +0200
committerSam Ravnborg <sam@ravnborg.org>2021-06-21 20:24:52 +0200
commita3050f23c77419aa71843c75a3bc6e0909c03ba4 (patch)
treeb94d5707085fbdede9b9ae2f34fbc334e99eb87a /drivers/gpu/drm/panel
parentdrm/bridge: ti-sn65dsi83: Replace connector format patching with atomic_get_i... (diff)
downloadlinux-a3050f23c77419aa71843c75a3bc6e0909c03ba4.tar.xz
linux-a3050f23c77419aa71843c75a3bc6e0909c03ba4.zip
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 <s.riedmueller@phytec.de> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210621150930.86617-1-s.riedmueller@phytec.de
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index df6fbd19e6fc..ca5ca6f73c68 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 = {