Lines Matching refs:dsi
58 #define RPI_DSI_DRIVER_NAME "rpi-ts-dsi"
193 struct mipi_dsi_device *dsi;
245 mipi_dsi_generic_write(ts->dsi, msg, sizeof(msg));
424 ts->dsi = mipi_dsi_device_register_full(host, &info);
425 if (IS_ERR(ts->dsi)) {
427 PTR_ERR(ts->dsi));
428 return PTR_ERR(ts->dsi);
450 mipi_dsi_detach(ts->dsi);
454 mipi_dsi_device_unregister(ts->dsi);
457 static int rpi_touchscreen_dsi_probe(struct mipi_dsi_device *dsi)
461 dsi->mode_flags = (MIPI_DSI_MODE_VIDEO |
464 dsi->format = MIPI_DSI_FMT_RGB888;
465 dsi->lanes = 1;
467 ret = mipi_dsi_attach(dsi);
470 dev_err(&dsi->dev, "failed to attach dsi to host: %d\n", ret);