Lines Matching full:dbi
65 struct mipi_dbi *dbi = &dbidev->dbi; in st7735r_pipe_enable() local
80 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7735r_pipe_enable()
83 mipi_dbi_command(dbi, ST7735R_FRMCTR1, 0x01, 0x2c, 0x2d); in st7735r_pipe_enable()
84 mipi_dbi_command(dbi, ST7735R_FRMCTR2, 0x01, 0x2c, 0x2d); in st7735r_pipe_enable()
85 mipi_dbi_command(dbi, ST7735R_FRMCTR3, 0x01, 0x2c, 0x2d, 0x01, 0x2c, in st7735r_pipe_enable()
87 mipi_dbi_command(dbi, ST7735R_INVCTR, 0x07); in st7735r_pipe_enable()
88 mipi_dbi_command(dbi, ST7735R_PWCTR1, 0xa2, 0x02, 0x84); in st7735r_pipe_enable()
89 mipi_dbi_command(dbi, ST7735R_PWCTR2, 0xc5); in st7735r_pipe_enable()
90 mipi_dbi_command(dbi, ST7735R_PWCTR3, 0x0a, 0x00); in st7735r_pipe_enable()
91 mipi_dbi_command(dbi, ST7735R_PWCTR4, 0x8a, 0x2a); in st7735r_pipe_enable()
92 mipi_dbi_command(dbi, ST7735R_PWCTR5, 0x8a, 0xee); in st7735r_pipe_enable()
93 mipi_dbi_command(dbi, ST7735R_VMCTR1, 0x0e); in st7735r_pipe_enable()
94 mipi_dbi_command(dbi, MIPI_DCS_EXIT_INVERT_MODE); in st7735r_pipe_enable()
113 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in st7735r_pipe_enable()
114 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, in st7735r_pipe_enable()
116 mipi_dbi_command(dbi, ST7735R_GAMCTRP1, 0x02, 0x1c, 0x07, 0x12, 0x37, in st7735r_pipe_enable()
119 mipi_dbi_command(dbi, ST7735R_GAMCTRN1, 0x03, 0x1d, 0x07, 0x06, 0x2e, in st7735r_pipe_enable()
122 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in st7735r_pipe_enable()
126 mipi_dbi_command(dbi, MIPI_DCS_ENTER_NORMAL_MODE); in st7735r_pipe_enable()
187 struct mipi_dbi *dbi; in st7735r_probe() local
204 dbi = &dbidev->dbi; in st7735r_probe()
207 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7735r_probe()
208 if (IS_ERR(dbi->reset)) in st7735r_probe()
209 return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); in st7735r_probe()
221 ret = mipi_dbi_spi_init(spi, dbi, dc); in st7735r_probe()
226 dbi->read_commands = NULL; in st7735r_probe()