Lines Matching full:dbi
115 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_fb_dirty() local
132 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
135 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
139 ret = mipi_dbi_command_buf(dbi, MIPI_DCS_WRITE_MEMORY_START, in st7586_fb_dirty()
175 struct mipi_dbi *dbi = &dbidev->dbi; in st7586_pipe_enable() local
194 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
195 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
199 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
203 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
204 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
205 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_enable()
209 mipi_dbi_command(dbi, ST7586_SET_VOP_OFFSET, 0x00); in st7586_pipe_enable()
210 mipi_dbi_command(dbi, ST7586_SET_VOP, 0xe3, 0x00); in st7586_pipe_enable()
211 mipi_dbi_command(dbi, ST7586_SET_BIAS_SYSTEM, 0x02); in st7586_pipe_enable()
212 mipi_dbi_command(dbi, ST7586_SET_BOOST_LEVEL, 0x04); in st7586_pipe_enable()
213 mipi_dbi_command(dbi, ST7586_ENABLE_ANALOG, 0x1d); in st7586_pipe_enable()
214 mipi_dbi_command(dbi, ST7586_SET_NLINE_INV, 0x00); in st7586_pipe_enable()
215 mipi_dbi_command(dbi, ST7586_DISP_MODE_GRAY); in st7586_pipe_enable()
216 mipi_dbi_command(dbi, ST7586_ENABLE_DDRAM, 0x02); in st7586_pipe_enable()
232 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7586_pipe_enable()
234 mipi_dbi_command(dbi, ST7586_SET_DISP_DUTY, 0x7f); in st7586_pipe_enable()
235 mipi_dbi_command(dbi, ST7586_SET_PART_DISP, 0xa0); in st7586_pipe_enable()
236 mipi_dbi_command(dbi, MIPI_DCS_SET_PARTIAL_ROWS, 0x00, 0x00, 0x00, 0x77); in st7586_pipe_enable()
237 mipi_dbi_command(dbi, MIPI_DCS_EXIT_INVERT_MODE); in st7586_pipe_enable()
243 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in st7586_pipe_enable()
261 mipi_dbi_command(&dbidev->dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_disable()
315 struct mipi_dbi *dbi; in st7586_probe() local
326 dbi = &dbidev->dbi; in st7586_probe()
331 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7586_probe()
332 if (IS_ERR(dbi->reset)) in st7586_probe()
333 return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); in st7586_probe()
341 ret = mipi_dbi_spi_init(spi, dbi, a0); in st7586_probe()
346 dbi->read_commands = NULL; in st7586_probe()
361 dbi->swap_bytes = true; in st7586_probe()