Lines Matching full:dbi
58 struct mipi_dbi *dbi = &dbidev->dbi; in yx240qv29_enable() local
73 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in yx240qv29_enable()
75 mipi_dbi_command(dbi, ILI9341_PWCTRLB, 0x00, 0xc1, 0x30); in yx240qv29_enable()
76 mipi_dbi_command(dbi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in yx240qv29_enable()
77 mipi_dbi_command(dbi, ILI9341_DTCTRLA, 0x85, 0x00, 0x78); in yx240qv29_enable()
78 mipi_dbi_command(dbi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in yx240qv29_enable()
79 mipi_dbi_command(dbi, ILI9341_PUMPCTRL, 0x20); in yx240qv29_enable()
80 mipi_dbi_command(dbi, ILI9341_DTCTRLB, 0x00, 0x00); in yx240qv29_enable()
83 mipi_dbi_command(dbi, ILI9341_PWCTRL1, 0x23); in yx240qv29_enable()
84 mipi_dbi_command(dbi, ILI9341_PWCTRL2, 0x10); in yx240qv29_enable()
86 mipi_dbi_command(dbi, ILI9341_VMCTRL1, 0x3e, 0x28); in yx240qv29_enable()
87 mipi_dbi_command(dbi, ILI9341_VMCTRL2, 0x86); in yx240qv29_enable()
90 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, MIPI_DCS_PIXEL_FMT_16BIT); in yx240qv29_enable()
93 mipi_dbi_command(dbi, ILI9341_FRMCTR1, 0x00, 0x1b); in yx240qv29_enable()
96 mipi_dbi_command(dbi, ILI9341_EN3GAM, 0x00); in yx240qv29_enable()
97 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, 0x01); in yx240qv29_enable()
98 mipi_dbi_command(dbi, ILI9341_PGAMCTRL, in yx240qv29_enable()
101 mipi_dbi_command(dbi, ILI9341_NGAMCTRL, in yx240qv29_enable()
106 mipi_dbi_command(dbi, ILI9341_ETMOD, 0x07); in yx240qv29_enable()
109 mipi_dbi_command(dbi, ILI9341_DISCTRL, 0x08, 0x82, 0x27, 0x00); in yx240qv29_enable()
110 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in yx240qv29_enable()
113 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in yx240qv29_enable()
133 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in yx240qv29_enable()
181 struct mipi_dbi *dbi; in ili9341_probe() local
191 dbi = &dbidev->dbi; in ili9341_probe()
194 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9341_probe()
195 if (IS_ERR(dbi->reset)) { in ili9341_probe()
197 return PTR_ERR(dbi->reset); in ili9341_probe()
212 ret = mipi_dbi_spi_init(spi, dbi, dc); in ili9341_probe()