Home
last modified time | relevance | path

Searched refs:mipi_dbi_command (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-db7430.c118 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()
[all …]
H A Dpanel-widechips-ws2401.c155 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in ws2401_power_on()
156 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in ws2401_power_on()
160 mipi_dbi_command(dbi, WS2401_PASSWD1, 0x5a, 0x5a); in ws2401_power_on()
162 mipi_dbi_command(dbi, WS2401_RESCTL, 0x12); in ws2401_power_on()
164 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, 0x01); in ws2401_power_on()
166 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, 0x70); in ws2401_power_on()
167 mipi_dbi_command(dbi, WS2401_SMPS, 0x00, 0x0f); in ws2401_power_on()
168 mipi_dbi_command(dbi, WS2401_PSMPS, 0x06, 0x03, /* DDVDH: 4.6v */ in ws2401_power_on()
170 mipi_dbi_command(dbi, WS2401_NSMPS, 0x06, 0x03, /* DDVDH: -4.6v */ in ws2401_power_on()
172 mipi_dbi_command(dbi, WS2401_SMPS, 0x02, 0x0f); in ws2401_power_on()
[all …]
H A Dpanel-ilitek-ili9341.c317 mipi_dbi_command(ili->dbi, ILI9341_PRC, cfg->prc); in ili9341_dpi_init()
323 mipi_dbi_command(dbi, ILI9341_POWER1, cfg->power_1); in ili9341_dpi_init()
324 mipi_dbi_command(dbi, ILI9341_POWER2, cfg->power_2); in ili9341_dpi_init()
329 mipi_dbi_command(dbi, ILI9341_VCOM2, cfg->vcom_2); in ili9341_dpi_init()
330 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, cfg->address_mode); in ili9341_dpi_init()
333 mipi_dbi_command(dbi, ILI9341_3GAMMA_EN, cfg->g3amma_en); in ili9341_dpi_init()
334 mipi_dbi_command(dbi, ILI9341_RGB_INTERFACE, cfg->rgb_interface); in ili9341_dpi_init()
349 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, cfg->pixel_format); in ili9341_dpi_init()
350 mipi_dbi_command(dbi, MIPI_DCS_WRITE_MEMORY_START); in ili9341_dpi_init()
352 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, cfg->gamma_curve); in ili9341_dpi_init()
[all …]
H A Dpanel-magnachip-d53e6ea8966.c156 mipi_dbi_command(dbi, MCS_SET_GAMMA, 0x00); in ams495qa01_update_gamma()
159 mipi_dbi_command(dbi, 0x26, 0x00); in ams495qa01_update_gamma()
161 mipi_dbi_command(dbi, MCS_TEMP_SWIRE, ams495qa01_elvss[tmp]); in ams495qa01_update_gamma()
170 mipi_dbi_command(dbi, MCS_PASSWORD_0, 0x5a, 0x5a); in ams495qa01_panel_init()
171 mipi_dbi_command(dbi, MCS_PASSWORD_1, 0x5a, 0x5a); in ams495qa01_panel_init()
174 mipi_dbi_command(dbi, 0xb0, 0x02); in ams495qa01_panel_init()
175 mipi_dbi_command(dbi, 0xf3, 0x3b); in ams495qa01_panel_init()
177 mipi_dbi_command(dbi, MCS_ANALOG_PWR_CTL_0, 0x33, 0x42, 0x00, 0x08); in ams495qa01_panel_init()
178 mipi_dbi_command(dbi, MCS_ANALOG_PWR_CTL_1, 0x00, 0x06, 0x26, 0x35, 0x03); in ams495qa01_panel_init()
181 mipi_dbi_command(dbi, 0xf6, 0x02); in ams495qa01_panel_init()
[all …]
H A Dpanel-samsung-s6d27a1.c125 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in s6d27a1_power_on()
126 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in s6d27a1_power_on()
130 mipi_dbi_command(dbi, S6D27A1_PASSWD_L2, 0x5A, 0x5A); in s6d27a1_power_on()
133 mipi_dbi_command(dbi, S6D27A1_RESCTL, 0x22); in s6d27a1_power_on()
135 mipi_dbi_command(dbi, S6D27A1_PANELCTL2, 0x00, 0x02, 0x03, 0x04, 0x05, 0x08, 0x00, 0x0c); in s6d27a1_power_on()
137 mipi_dbi_command(dbi, S6D27A1_MANPWR, 0x01, 0x00, 0x00, 0x08, 0x08, 0x02, 0x00); in s6d27a1_power_on()
139 mipi_dbi_command(dbi, S6D27A1_DISPCTL, 0x19, 0x00, 0x08, 0x0D, 0x03, 0x41, 0x3F); in s6d27a1_power_on()
141 mipi_dbi_command(dbi, S6D27A1_PWRCTL1, 0x00, 0x00, 0x00, 0x00, 0x55, in s6d27a1_power_on()
144 mipi_dbi_command(dbi, S6D27A1_SRCCTL, 0x03, 0x09, 0x8A, 0x00, 0x01, 0x16); in s6d27a1_power_on()
146 mipi_dbi_command(dbi, S6D27A1_PANELCTL, 0x00, 0x05, 0x06, 0x07, 0x08, in s6d27a1_power_on()
[all …]
H A Dpanel-newvision-nv3052c.c261 err = mipi_dbi_command(dbi, nv3052c_panel_regs[i].cmd, in nv3052c_prepare()
270 err = mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in nv3052c_prepare()
289 err = mipi_dbi_command(dbi, MIPI_DCS_ENTER_SLEEP_MODE); in nv3052c_unprepare()
305 err = mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in nv3052c_enable()
325 err = mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in nv3052c_disable()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dili9341.c73 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()
[all …]
H A Dmi0283qt.c71 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()
[all …]
H A Dst7735r.c80 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()
[all …]
H A Dhx8357d.c68 mipi_dbi_command(dbi, HX8357D_SETEXTC, 0xFF, 0x83, 0x57); in yx240qv29_enable()
72 mipi_dbi_command(dbi, HX8357D_SETRGB, 0x00, 0x00, 0x06, 0x06); in yx240qv29_enable()
75 mipi_dbi_command(dbi, HX8357D_SETCOM, 0x25); in yx240qv29_enable()
78 mipi_dbi_command(dbi, HX8357D_SETOSC, 0x68); in yx240qv29_enable()
81 mipi_dbi_command(dbi, HX8357D_SETPANEL, 0x05); in yx240qv29_enable()
83 mipi_dbi_command(dbi, HX8357D_SETPOWER, in yx240qv29_enable()
91 mipi_dbi_command(dbi, HX8357D_SETSTBA, in yx240qv29_enable()
99 mipi_dbi_command(dbi, HX8357D_SETCYC, in yx240qv29_enable()
108 mipi_dbi_command(dbi, HX8357D_SETGAMMA, in yx240qv29_enable()
145 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, in yx240qv29_enable()
[all …]
H A Dst7586.c132 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
135 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
194 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
195 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
199 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
203 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
204 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
205 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_enable()
209 mipi_dbi_command(dbi, ST7586_SET_VOP_OFFSET, 0x00); in st7586_pipe_enable()
210 mipi_dbi_command(dbi, ST7586_SET_VOP, 0xe3, 0x00); in st7586_pipe_enable()
[all …]
H A Dili9163.c57 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, 0x04); in yx240qv29_enable()
58 mipi_dbi_command(dbi, ILI9163_EN3GAM, 0x00); in yx240qv29_enable()
61 mipi_dbi_command(dbi, ILI9163_FRMCTR1, 0x0a, 0x14); in yx240qv29_enable()
64 mipi_dbi_command(dbi, ILI9163_PWCTRL1, 0x0a, 0x00); in yx240qv29_enable()
65 mipi_dbi_command(dbi, ILI9163_PWCTRL2, 0x02); in yx240qv29_enable()
68 mipi_dbi_command(dbi, ILI9163_VMCTRL1, 0x2f, 0x3e); in yx240qv29_enable()
69 mipi_dbi_command(dbi, ILI9163_VMCTRL2, 0x40); in yx240qv29_enable()
72 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, MIPI_DCS_PIXEL_FMT_16BIT); in yx240qv29_enable()
74 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in yx240qv29_enable()
77 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in yx240qv29_enable()
[all …]
H A Dili9486.c115 mipi_dbi_command(dbi, ILI9486_ITFCTR1); in waveshare_enable()
116 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in waveshare_enable()
119 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, 0x55); in waveshare_enable()
121 mipi_dbi_command(dbi, ILI9486_PWCTRL1, 0x44); in waveshare_enable()
123 mipi_dbi_command(dbi, ILI9486_VMCTRL1, 0x00, 0x00, 0x00, 0x00); in waveshare_enable()
125 mipi_dbi_command(dbi, ILI9486_PGAMCTRL, in waveshare_enable()
128 mipi_dbi_command(dbi, ILI9486_NGAMCTRL, in waveshare_enable()
131 mipi_dbi_command(dbi, ILI9486_DGAMCTRL, in waveshare_enable()
135 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in waveshare_enable()
155 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in waveshare_enable()
H A Dpanel-mipi-dbi.c184 mipi_dbi_command(dbi, command); in panel_mipi_dbi_commands_execute()
/openbmc/linux/include/drm/
H A Ddrm_mipi_dbi.h209 #define mipi_dbi_command(dbi, cmd, seq...) \ macro
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mipi_dbi.c248 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, (xs >> 8) & 0xff, in mipi_dbi_set_window_address()
250 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, (ys >> 8) & 0xff, in mipi_dbi_set_window_address()
745 ret = mipi_dbi_command(dbi, MIPI_DCS_SOFT_RESET); in mipi_dbi_poweron_reset_conditional()