}
 }
 
+static ssize_t omap_dsi_transfer(struct omap_dss_device *dssdev,
+                                const struct mipi_dsi_msg *msg)
+{
+       /*
+        * TODO: no_sync can be used to optimize performance by sending e.g.
+        * column and page information without syncing in between. It's not
+        * absolutely required, so postpone this feature for now.
+        */
+       bool no_sync = false;
+       u16 val;
+
+       switch (msg->type) {
+       case MIPI_DSI_GENERIC_SHORT_WRITE_0_PARAM:
+       case MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM:
+       case MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM:
+       case MIPI_DSI_GENERIC_LONG_WRITE:
+               if (no_sync)
+                       return dsi_vc_generic_write_nosync(dssdev, msg->channel,
+                                                          msg->tx_buf,
+                                                          msg->tx_len);
+               else
+                       return dsi_vc_generic_write(dssdev, msg->channel,
+                                                   msg->tx_buf, msg->tx_len);
+       case MIPI_DSI_DCS_SHORT_WRITE:
+       case MIPI_DSI_DCS_SHORT_WRITE_PARAM:
+       case MIPI_DSI_DCS_LONG_WRITE:
+               if (no_sync)
+                       return dsi_vc_dcs_write_nosync(dssdev, msg->channel,
+                                                      msg->tx_buf,
+                                                      msg->tx_len);
+               else
+                       return dsi_vc_dcs_write(dssdev, msg->channel,
+                                               msg->tx_buf, msg->tx_len);
+       case MIPI_DSI_GENERIC_READ_REQUEST_0_PARAM:
+       case MIPI_DSI_GENERIC_READ_REQUEST_1_PARAM:
+       case MIPI_DSI_GENERIC_READ_REQUEST_2_PARAM:
+               return dsi_vc_generic_read(dssdev, msg->channel,
+                                          msg->tx_buf, msg->tx_len,
+                                          msg->rx_buf, msg->rx_len);
+       case MIPI_DSI_DCS_READ:
+               return dsi_vc_dcs_read(dssdev, msg->channel,
+                                      ((u8 *)msg->tx_buf)[0],
+                                      msg->rx_buf, msg->rx_len);
+       case MIPI_DSI_SET_MAXIMUM_RETURN_PACKET_SIZE:
+               val = le16_to_cpu(*((__le16 *)msg->tx_buf));
+               return dsi_vc_set_max_rx_packet_size(dssdev, msg->channel, val);
+       case MIPI_DSI_NULL_PACKET:
+               return dsi_vc_send_null(to_dsi_data(dssdev), msg->channel);
+       }
+
+       return -EINVAL;
+}
 
 static int dsi_get_clocks(struct dsi_data *dsi)
 {
                .set_vc_id = dsi_set_vc_id,
                .release_vc = dsi_release_vc,
 
+               .transfer = omap_dsi_transfer,
+
                .dcs_write = dsi_vc_dcs_write,
                .dcs_write_nosync = dsi_vc_dcs_write_nosync,
                .dcs_read = dsi_vc_dcs_read,