drm/omap: dsi: request VC via mipi_dsi_attach
authorSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 15 Dec 2020 10:45:47 +0000 (12:45 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Dec 2020 14:08:21 +0000 (16:08 +0200)
commita5f2dcdebd83f27d8c3e7771b8fc1be0058bd3df
treea7fcb3c8e99492f3020dac6a2a9bfa1738a99b57
parentd4cf1537286820e4cf381cab33a22f8f5dc4c8e1
drm/omap: dsi: request VC via mipi_dsi_attach

Drop custom request_vc/release_vc callbacks by using the
generic mipi_dsi_attach/mipi_dsi_detach functions.

To use mipi_dsi_attach() we need to fill in the mipi_dsi_device fields,
and some of these fields overlap with the fields in omap_dss_dsi_config.
In later patches the latter will get dropped.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-15-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/omapdss.h