[PATCH v5 21/52] drm/omap: Factor out display type to connector type conversion