Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-samsung-db7430.c122 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()
[all …]
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 …]
Dpanel-ilitek-ili9341.c315 mipi_dbi_command(ili->dbi, ILI9341_PRC, cfg->prc); in ili9341_dpi_init()
321 mipi_dbi_command(dbi, ILI9341_POWER1, cfg->power_1); in ili9341_dpi_init()
322 mipi_dbi_command(dbi, ILI9341_POWER2, cfg->power_2); in ili9341_dpi_init()
327 mipi_dbi_command(dbi, ILI9341_VCOM2, cfg->vcom_2); in ili9341_dpi_init()
328 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, cfg->address_mode); in ili9341_dpi_init()
331 mipi_dbi_command(dbi, ILI9341_3GAMMA_EN, cfg->g3amma_en); in ili9341_dpi_init()
332 mipi_dbi_command(dbi, ILI9341_RGB_INTERFACE, cfg->rgb_interface); in ili9341_dpi_init()
347 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, cfg->pixel_format); in ili9341_dpi_init()
348 mipi_dbi_command(dbi, MIPI_DCS_WRITE_MEMORY_START); in ili9341_dpi_init()
350 mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, cfg->gamma_curve); in ili9341_dpi_init()
[all …]
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 …]
Dpanel-newvision-nv3052c.c260 err = mipi_dbi_command(dbi, nv3052c_panel_regs[i].cmd, in nv3052c_prepare()
269 err = mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in nv3052c_prepare()
288 err = mipi_dbi_command(dbi, MIPI_DCS_ENTER_SLEEP_MODE); in nv3052c_unprepare()
304 err = mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in nv3052c_enable()
324 err = mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in nv3052c_disable()
/linux-6.1.9/drivers/gpu/drm/tiny/
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 …]
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 …]
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 …]
Dst7586.c136 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty()
139 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty()
191 mipi_dbi_command(dbi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable()
192 mipi_dbi_command(dbi, ST7586_OTP_RW_CTRL, 0x00); in st7586_pipe_enable()
196 mipi_dbi_command(dbi, ST7586_OTP_READ); in st7586_pipe_enable()
200 mipi_dbi_command(dbi, ST7586_OTP_CTRL_OUT); in st7586_pipe_enable()
201 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in st7586_pipe_enable()
202 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_OFF); in st7586_pipe_enable()
206 mipi_dbi_command(dbi, ST7586_SET_VOP_OFFSET, 0x00); in st7586_pipe_enable()
207 mipi_dbi_command(dbi, ST7586_SET_VOP, 0xe3, 0x00); in st7586_pipe_enable()
[all …]
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 …]
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 …]
Dili9486.c106 mipi_dbi_command(dbi, ILI9486_ITFCTR1); in waveshare_enable()
107 mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); in waveshare_enable()
110 mipi_dbi_command(dbi, MIPI_DCS_SET_PIXEL_FORMAT, 0x55); in waveshare_enable()
112 mipi_dbi_command(dbi, ILI9486_PWCTRL1, 0x44); in waveshare_enable()
114 mipi_dbi_command(dbi, ILI9486_VMCTRL1, 0x00, 0x00, 0x00, 0x00); in waveshare_enable()
116 mipi_dbi_command(dbi, ILI9486_PGAMCTRL, in waveshare_enable()
119 mipi_dbi_command(dbi, ILI9486_NGAMCTRL, in waveshare_enable()
122 mipi_dbi_command(dbi, ILI9486_DGAMCTRL, in waveshare_enable()
126 mipi_dbi_command(dbi, MIPI_DCS_SET_DISPLAY_ON); in waveshare_enable()
146 mipi_dbi_command(dbi, MIPI_DCS_SET_ADDRESS_MODE, addr_mode); in waveshare_enable()
Dpanel-mipi-dbi.c184 mipi_dbi_command(dbi, command); in panel_mipi_dbi_commands_execute()
/linux-6.1.9/include/drm/
Ddrm_mipi_dbi.h193 #define mipi_dbi_command(dbi, cmd, seq...) \ macro
/linux-6.1.9/drivers/gpu/drm/
Ddrm_mipi_dbi.c254 mipi_dbi_command(dbi, MIPI_DCS_SET_COLUMN_ADDRESS, (xs >> 8) & 0xff, in mipi_dbi_set_window_address()
256 mipi_dbi_command(dbi, MIPI_DCS_SET_PAGE_ADDRESS, (ys >> 8) & 0xff, in mipi_dbi_set_window_address()
659 ret = mipi_dbi_command(dbi, MIPI_DCS_SOFT_RESET); in mipi_dbi_poweron_reset_conditional()