Lines Matching full:dbi

55 	/** @dbi: the DBI bus abstraction handle */
56 struct mipi_dbi dbi; member
95 struct mipi_dbi *dbi = &db->dbi; in db7430_power_on() local
122 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
123 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x0a); in db7430_power_on()
124 mipi_dbi_command(dbi, DB7430_ACCESS_PROT_OFF, 0x00); in db7430_power_on()
125 mipi_dbi_command(dbi, DB7430_PANEL_DRIVING, 0x28, 0x08); in db7430_power_on()
126 mipi_dbi_command(dbi, DB7430_SOURCE_CONTROL, in db7430_power_on()
128 mipi_dbi_command(dbi, DB7430_GATE_INTERFACE, in db7430_power_on()
130 mipi_dbi_command(dbi, DB7430_DISPLAY_H_TIMING, in db7430_power_on()
137 mipi_dbi_command(dbi, DB7430_RGB_SYNC_OPTION, 0x01); in db7430_power_on()
138 mipi_dbi_command(dbi, DB7430_GAMMA_SET_RED, in db7430_power_on()
145 mipi_dbi_command(dbi, DB7430_GAMMA_SET_GREEN, in db7430_power_on()
152 mipi_dbi_command(dbi, DB7430_GAMMA_SET_BLUE, in db7430_power_on()
159 mipi_dbi_command(dbi, DB7430_BIAS_CURRENT_CTRL, 0x33, 0x13); in db7430_power_on()
160 mipi_dbi_command(dbi, DB7430_DDV_CTRL, 0x11, 0x00, 0x00); in db7430_power_on()
161 mipi_dbi_command(dbi, DB7430_GAMMA_CTRL_REF, 0x50, 0x50); in db7430_power_on()
162 mipi_dbi_command(dbi, DB7430_DCDC_CTRL, 0x2f, 0x11, 0x1e, 0x46); in db7430_power_on()
163 mipi_dbi_command(dbi, DB7430_VCL_CTRL, 0x11, 0x0a); in db7430_power_on()
184 struct mipi_dbi *dbi = &db->dbi; in db7430_disable() local
186 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in db7430_disable()
188 mipi_dbi_command(dbi, MIPI_DCS_ENTER_SLEEP_MODE); in db7430_disable()
202 struct mipi_dbi *dbi = &db->dbi; in db7430_enable() local
205 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in db7430_enable()
209 mipi_dbi_command(dbi, DB7430_UNKNOWN_D4, 0x52, 0x5e); in db7430_enable()
210 mipi_dbi_command(dbi, DB7430_UNKNOWN_F8, 0x01, 0xf5, 0xf2, 0x71, 0x44); in db7430_enable()
211 mipi_dbi_command(dbi, DB7430_UNKNOWN_FC, 0x00, 0x08); in db7430_enable()
215 mipi_dbi_command(dbi, DB7430_UNKNOWN_B4, 0x0f, 0x00, 0x50); in db7430_enable()
216 mipi_dbi_command(dbi, DB7430_USER_SELECT, 0x80); in db7430_enable()
217 mipi_dbi_command(dbi, DB7430_UNKNOWN_B7, 0x24); in db7430_enable()
218 mipi_dbi_command(dbi, DB7430_UNKNOWN_B8, 0x01); in db7430_enable()
221 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in db7430_enable()
297 ret = mipi_dbi_spi_init(spi, &db->dbi, NULL); in db7430_probe()
299 return dev_err_probe(dev, ret, "MIPI DBI init failed\n"); in db7430_probe()