drm: omapdrm: add DSI mapping
authorSebastian Reichel <sre@kernel.org>
Tue, 8 Mar 2016 16:39:36 +0000 (17:39 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 6 Jun 2016 07:14:28 +0000 (10:14 +0300)
This sets proper connector type for DSI connected panels.

Signed-off-By: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c

index d86f5479345b7ac055b6e003b0296ff46a05f6d1..6c064748694542d15b90ca0619587c76397264b3 100644 (file)
@@ -203,6 +203,8 @@ static int get_connector_type(struct omap_dss_device *dssdev)
                return DRM_MODE_CONNECTOR_HDMIA;
        case OMAP_DISPLAY_TYPE_DVI:
                return DRM_MODE_CONNECTOR_DVID;
+       case OMAP_DISPLAY_TYPE_DSI:
+               return DRM_MODE_CONNECTOR_DSI;
        default:
                return DRM_MODE_CONNECTOR_Unknown;
        }