Lines Matching full:dbi
55 /** @dbi: the DBI bus abstraction handle */
56 struct mipi_dbi dbi; member
91 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() local
118 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
119 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
120 mipi_dbi_command(dbi, DB7430_ACCESS_PROT_OFF, 0x00); in db7430_power_on()
121 mipi_dbi_command(dbi, DB7430_PANEL_DRIVING, 0x28, 0x08); in db7430_power_on()
122 mipi_dbi_command(dbi, DB7430_SOURCE_CONTROL, in db7430_power_on()
124 mipi_dbi_command(dbi, DB7430_GATE_INTERFACE, in db7430_power_on()
126 mipi_dbi_command(dbi, DB7430_DISPLAY_H_TIMING, in db7430_power_on()
133 mipi_dbi_command(dbi, DB7430_RGB_SYNC_OPTION, 0x01); in db7430_power_on()
134 mipi_dbi_command(dbi, DB7430_GAMMA_SET_RED, in db7430_power_on()
141 mipi_dbi_command(dbi, DB7430_GAMMA_SET_GREEN, in db7430_power_on()
148 mipi_dbi_command(dbi, DB7430_GAMMA_SET_BLUE, in db7430_power_on()
155 mipi_dbi_command(dbi, DB7430_BIAS_CURRENT_CTRL, 0x33, 0x13); in db7430_power_on()
156 mipi_dbi_command(dbi, DB7430_DDV_CTRL, 0x11, 0x00, 0x00); in db7430_power_on()
157 mipi_dbi_command(dbi, DB7430_GAMMA_CTRL_REF, 0x50, 0x50); in db7430_power_on()
158 mipi_dbi_command(dbi, DB7430_DCDC_CTRL, 0x2f, 0x11, 0x1e, 0x46); in db7430_power_on()
159 mipi_dbi_command(dbi, DB7430_VCL_CTRL, 0x11, 0x0a); in db7430_power_on()
180 struct mipi_dbi *dbi = &db->dbi; in db7430_disable() local
182 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in db7430_disable()
184 mipi_dbi_command(dbi, MIPI_DCS_ENTER_SLEEP_MODE); in db7430_disable()
198 struct mipi_dbi *dbi = &db->dbi; in db7430_enable() local
201 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in db7430_enable()
205 mipi_dbi_command(dbi, DB7430_UNKNOWN_D4, 0x52, 0x5e); in db7430_enable()
206 mipi_dbi_command(dbi, DB7430_UNKNOWN_F8, 0x01, 0xf5, 0xf2, 0x71, 0x44); in db7430_enable()
207 mipi_dbi_command(dbi, DB7430_UNKNOWN_FC, 0x00, 0x08); in db7430_enable()
211 mipi_dbi_command(dbi, DB7430_UNKNOWN_B4, 0x0f, 0x00, 0x50); in db7430_enable()
212 mipi_dbi_command(dbi, DB7430_USER_SELECT, 0x80); in db7430_enable()
213 mipi_dbi_command(dbi, DB7430_UNKNOWN_B7, 0x24); in db7430_enable()
214 mipi_dbi_command(dbi, DB7430_UNKNOWN_B8, 0x01); in db7430_enable()
217 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in db7430_enable()
293 ret = mipi_dbi_spi_init(spi, &db->dbi, NULL); in db7430_probe()
295 return dev_err_probe(dev, ret, "MIPI DBI init failed\n"); in db7430_probe()