Lines Matching full:dsi

36  * TC358762XBG DSI-DPI bridge, and an I2C-connected Atmel ATTINY88-MUR
40 * This driver controls the TC358762 and ATTINY88, presenting a DSI
58 #define RPI_DSI_DRIVER_NAME "rpi-ts-dsi"
83 /* DSI D-PHY Layer Registers */
94 /* DSI PPI Layer Registers */
118 /* DSI Protocol Layer Registers */
140 /* DSI General Registers */
144 /* DSI Application Layer Registers */
193 struct mipi_dsi_device *dsi; member
245 mipi_dsi_generic_write(ts->dsi, msg, sizeof(msg)); in rpi_touchscreen_write()
405 /* Look up the DSI host. It needs to probe before we do. */ in rpi_touchscreen_probe()
427 ts->dsi = mipi_dsi_device_register_full(host, &info); in rpi_touchscreen_probe()
428 if (IS_ERR(ts->dsi)) { in rpi_touchscreen_probe()
429 dev_err(dev, "DSI device registration failed: %ld\n", in rpi_touchscreen_probe()
430 PTR_ERR(ts->dsi)); in rpi_touchscreen_probe()
431 return PTR_ERR(ts->dsi); in rpi_touchscreen_probe()
434 /* This appears last, as it's what will unblock the DSI host in rpi_touchscreen_probe()
450 mipi_dsi_detach(ts->dsi); in rpi_touchscreen_remove()
454 mipi_dsi_device_unregister(ts->dsi); in rpi_touchscreen_remove()
457 static int rpi_touchscreen_dsi_probe(struct mipi_dsi_device *dsi) in rpi_touchscreen_dsi_probe() argument
461 dsi->mode_flags = (MIPI_DSI_MODE_VIDEO | in rpi_touchscreen_dsi_probe()
464 dsi->format = MIPI_DSI_FMT_RGB888; in rpi_touchscreen_dsi_probe()
465 dsi->lanes = 1; in rpi_touchscreen_dsi_probe()
467 ret = mipi_dsi_attach(dsi); in rpi_touchscreen_dsi_probe()
470 dev_err(&dsi->dev, "failed to attach dsi to host: %d\n", ret); in rpi_touchscreen_dsi_probe()