[PATCH v7 23/54] drm/omap: Factor out display type to connector type conversion