Lines Matching refs:dbi

56 	struct mipi_dbi *dbi = &dbidev->dbi;  in mi0283qt_enable()  local
71 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in mi0283qt_enable()
73 mipi_dbi_command(dbi, ILI9341_PWCTRLB, 0x00, 0x83, 0x30); in mi0283qt_enable()
74 mipi_dbi_command(dbi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in mi0283qt_enable()
75 mipi_dbi_command(dbi, ILI9341_DTCTRLA, 0x85, 0x01, 0x79); in mi0283qt_enable()
76 mipi_dbi_command(dbi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in mi0283qt_enable()
77 mipi_dbi_command(dbi, ILI9341_PUMPCTRL, 0x20); in mi0283qt_enable()
78 mipi_dbi_command(dbi, ILI9341_DTCTRLB, 0x00, 0x00); in mi0283qt_enable()
81 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x26); in mi0283qt_enable()
82 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x11); in mi0283qt_enable()
84 mipi_dbi_command(dbi, ILI9341_VMCTRL1, 0x35, 0x3e); in mi0283qt_enable()
85 mipi_dbi_command(dbi, ILI9341_VMCTRL2, 0xbe); in mi0283qt_enable()
88 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, MIPI_DCS_PIXEL_FMT_16BIT); in mi0283qt_enable()
91 mipi_dbi_command(dbi, ILI9341_FRMCTR1, 0x00, 0x1b); in mi0283qt_enable()
94 mipi_dbi_command(dbi, ILI9341_EN3GAM, 0x08); in mi0283qt_enable()
95 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, 0x01); in mi0283qt_enable()
96 mipi_dbi_command(dbi, ILI9341_PGAMCTRL, in mi0283qt_enable()
99 mipi_dbi_command(dbi, ILI9341_NGAMCTRL, in mi0283qt_enable()
104 mipi_dbi_command(dbi, ILI9341_ETMOD, 0x07); in mi0283qt_enable()
107 mipi_dbi_command(dbi, ILI9341_DISCTRL, 0x0a, 0x82, 0x27, 0x00); in mi0283qt_enable()
108 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in mi0283qt_enable()
111 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in mi0283qt_enable()
137 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in mi0283qt_enable()
185 struct mipi_dbi *dbi; in mi0283qt_probe() local
195 dbi = &dbidev->dbi; in mi0283qt_probe()
198 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in mi0283qt_probe()
199 if (IS_ERR(dbi->reset)) in mi0283qt_probe()
200 return dev_err_probe(dev, PTR_ERR(dbi->reset), "Failed to get GPIO 'reset'\n"); in mi0283qt_probe()
216 ret = mipi_dbi_spi_init(spi, dbi, dc); in mi0283qt_probe()