Lines Matching full:dsi
3 * DSI interface to the Samsung S6E63M0 panel.
21 struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in s6e63m0_dsi_dcs_read() local
24 ret = mipi_dsi_dcs_read(dsi, cmd, data, 1); in s6e63m0_dsi_dcs_read()
30 dev_info(dev, "DSI read CMD %02x = %02x\n", cmd, *data); in s6e63m0_dsi_dcs_read()
37 struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in s6e63m0_dsi_dcs_write() local
45 dev_info(dev, "DSI writing dcs seq: %*ph\n", (int)len, data); in s6e63m0_dsi_dcs_write()
57 ret = mipi_dsi_dcs_write(dsi, cmd, seqp, chunk); in s6e63m0_dsi_dcs_write()
69 ret = mipi_dsi_dcs_write(dsi, MCS_GLOBAL_PARAM, &cmdwritten, 1); in s6e63m0_dsi_dcs_write()
75 ret = mipi_dsi_dcs_write(dsi, cmd, seqp, chunk); in s6e63m0_dsi_dcs_write()
90 static int s6e63m0_dsi_probe(struct mipi_dsi_device *dsi) in s6e63m0_dsi_probe() argument
92 struct device *dev = &dsi->dev; in s6e63m0_dsi_probe()
95 dsi->lanes = 2; in s6e63m0_dsi_probe()
96 dsi->format = MIPI_DSI_FMT_RGB888; in s6e63m0_dsi_probe()
97 dsi->hs_rate = 349440000; in s6e63m0_dsi_probe()
98 dsi->lp_rate = 9600000; in s6e63m0_dsi_probe()
99 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in s6e63m0_dsi_probe()
108 ret = mipi_dsi_attach(dsi); in s6e63m0_dsi_probe()
115 static int s6e63m0_dsi_remove(struct mipi_dsi_device *dsi) in s6e63m0_dsi_remove() argument
117 mipi_dsi_detach(dsi); in s6e63m0_dsi_remove()
118 return s6e63m0_remove(&dsi->dev); in s6e63m0_dsi_remove()
138 MODULE_DESCRIPTION("s6e63m0 LCD DSI Driver");