Lines Matching +full:0 +full:x0808
31 #define ILI9225_DRIVER_READ_CODE 0x00
32 #define ILI9225_DRIVER_OUTPUT_CONTROL 0x01
33 #define ILI9225_LCD_AC_DRIVING_CONTROL 0x02
34 #define ILI9225_ENTRY_MODE 0x03
35 #define ILI9225_DISPLAY_CONTROL_1 0x07
36 #define ILI9225_BLANK_PERIOD_CONTROL_1 0x08
37 #define ILI9225_FRAME_CYCLE_CONTROL 0x0b
38 #define ILI9225_INTERFACE_CONTROL 0x0c
39 #define ILI9225_OSCILLATION_CONTROL 0x0f
40 #define ILI9225_POWER_CONTROL_1 0x10
41 #define ILI9225_POWER_CONTROL_2 0x11
42 #define ILI9225_POWER_CONTROL_3 0x12
43 #define ILI9225_POWER_CONTROL_4 0x13
44 #define ILI9225_POWER_CONTROL_5 0x14
45 #define ILI9225_VCI_RECYCLING 0x15
46 #define ILI9225_RAM_ADDRESS_SET_1 0x20
47 #define ILI9225_RAM_ADDRESS_SET_2 0x21
48 #define ILI9225_WRITE_DATA_TO_GRAM 0x22
49 #define ILI9225_SOFTWARE_RESET 0x28
50 #define ILI9225_GATE_SCAN_CONTROL 0x30
51 #define ILI9225_VERTICAL_SCROLL_1 0x31
52 #define ILI9225_VERTICAL_SCROLL_2 0x32
53 #define ILI9225_VERTICAL_SCROLL_3 0x33
54 #define ILI9225_PARTIAL_DRIVING_POS_1 0x34
55 #define ILI9225_PARTIAL_DRIVING_POS_2 0x35
56 #define ILI9225_HORIZ_WINDOW_ADDR_1 0x36
57 #define ILI9225_HORIZ_WINDOW_ADDR_2 0x37
58 #define ILI9225_VERT_WINDOW_ADDR_1 0x38
59 #define ILI9225_VERT_WINDOW_ADDR_2 0x39
60 #define ILI9225_GAMMA_CONTROL_1 0x50
61 #define ILI9225_GAMMA_CONTROL_2 0x51
62 #define ILI9225_GAMMA_CONTROL_3 0x52
63 #define ILI9225_GAMMA_CONTROL_4 0x53
64 #define ILI9225_GAMMA_CONTROL_5 0x54
65 #define ILI9225_GAMMA_CONTROL_6 0x55
66 #define ILI9225_GAMMA_CONTROL_7 0x56
67 #define ILI9225_GAMMA_CONTROL_8 0x57
68 #define ILI9225_GAMMA_CONTROL_9 0x58
69 #define ILI9225_GAMMA_CONTROL_10 0x59
73 u8 par[2] = { data >> 8, data & 0xff }; in ili9225_command()
80 struct drm_gem_cma_object *cma_obj = drm_fb_cma_get_gem_obj(fb, 0); in ili9225_fb_dirty()
88 int idx, ret = 0; in ili9225_fb_dirty()
183 .x1 = 0, in ili9225_pipe_enable()
185 .y1 = 0, in ili9225_pipe_enable()
204 ret = ili9225_command(dbi, ILI9225_POWER_CONTROL_1, 0x0000); in ili9225_pipe_enable()
209 ili9225_command(dbi, ILI9225_POWER_CONTROL_2, 0x0000); in ili9225_pipe_enable()
210 ili9225_command(dbi, ILI9225_POWER_CONTROL_3, 0x0000); in ili9225_pipe_enable()
211 ili9225_command(dbi, ILI9225_POWER_CONTROL_4, 0x0000); in ili9225_pipe_enable()
212 ili9225_command(dbi, ILI9225_POWER_CONTROL_5, 0x0000); in ili9225_pipe_enable()
216 ili9225_command(dbi, ILI9225_POWER_CONTROL_2, 0x0018); in ili9225_pipe_enable()
217 ili9225_command(dbi, ILI9225_POWER_CONTROL_3, 0x6121); in ili9225_pipe_enable()
218 ili9225_command(dbi, ILI9225_POWER_CONTROL_4, 0x006f); in ili9225_pipe_enable()
219 ili9225_command(dbi, ILI9225_POWER_CONTROL_5, 0x495f); in ili9225_pipe_enable()
220 ili9225_command(dbi, ILI9225_POWER_CONTROL_1, 0x0800); in ili9225_pipe_enable()
224 ili9225_command(dbi, ILI9225_POWER_CONTROL_2, 0x103b); in ili9225_pipe_enable()
230 am_id = 0x30; in ili9225_pipe_enable()
233 am_id = 0x18; in ili9225_pipe_enable()
236 am_id = 0x00; in ili9225_pipe_enable()
239 am_id = 0x28; in ili9225_pipe_enable()
242 ili9225_command(dbi, ILI9225_DRIVER_OUTPUT_CONTROL, 0x011c); in ili9225_pipe_enable()
243 ili9225_command(dbi, ILI9225_LCD_AC_DRIVING_CONTROL, 0x0100); in ili9225_pipe_enable()
244 ili9225_command(dbi, ILI9225_ENTRY_MODE, 0x1000 | am_id); in ili9225_pipe_enable()
245 ili9225_command(dbi, ILI9225_DISPLAY_CONTROL_1, 0x0000); in ili9225_pipe_enable()
246 ili9225_command(dbi, ILI9225_BLANK_PERIOD_CONTROL_1, 0x0808); in ili9225_pipe_enable()
247 ili9225_command(dbi, ILI9225_FRAME_CYCLE_CONTROL, 0x1100); in ili9225_pipe_enable()
248 ili9225_command(dbi, ILI9225_INTERFACE_CONTROL, 0x0000); in ili9225_pipe_enable()
249 ili9225_command(dbi, ILI9225_OSCILLATION_CONTROL, 0x0d01); in ili9225_pipe_enable()
250 ili9225_command(dbi, ILI9225_VCI_RECYCLING, 0x0020); in ili9225_pipe_enable()
251 ili9225_command(dbi, ILI9225_RAM_ADDRESS_SET_1, 0x0000); in ili9225_pipe_enable()
252 ili9225_command(dbi, ILI9225_RAM_ADDRESS_SET_2, 0x0000); in ili9225_pipe_enable()
254 ili9225_command(dbi, ILI9225_GATE_SCAN_CONTROL, 0x0000); in ili9225_pipe_enable()
255 ili9225_command(dbi, ILI9225_VERTICAL_SCROLL_1, 0x00db); in ili9225_pipe_enable()
256 ili9225_command(dbi, ILI9225_VERTICAL_SCROLL_2, 0x0000); in ili9225_pipe_enable()
257 ili9225_command(dbi, ILI9225_VERTICAL_SCROLL_3, 0x0000); in ili9225_pipe_enable()
258 ili9225_command(dbi, ILI9225_PARTIAL_DRIVING_POS_1, 0x00db); in ili9225_pipe_enable()
259 ili9225_command(dbi, ILI9225_PARTIAL_DRIVING_POS_2, 0x0000); in ili9225_pipe_enable()
261 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_1, 0x0000); in ili9225_pipe_enable()
262 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_2, 0x0808); in ili9225_pipe_enable()
263 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_3, 0x080a); in ili9225_pipe_enable()
264 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_4, 0x000a); in ili9225_pipe_enable()
265 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_5, 0x0a08); in ili9225_pipe_enable()
266 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_6, 0x0808); in ili9225_pipe_enable()
267 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_7, 0x0000); in ili9225_pipe_enable()
268 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_8, 0x0a00); in ili9225_pipe_enable()
269 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_9, 0x0710); in ili9225_pipe_enable()
270 ili9225_command(dbi, ILI9225_GAMMA_CONTROL_10, 0x0710); in ili9225_pipe_enable()
272 ili9225_command(dbi, ILI9225_DISPLAY_CONTROL_1, 0x0012); in ili9225_pipe_enable()
276 ili9225_command(dbi, ILI9225_DISPLAY_CONTROL_1, 0x1017); in ili9225_pipe_enable()
297 ili9225_command(dbi, ILI9225_DISPLAY_CONTROL_1, 0x0000); in ili9225_pipe_disable()
299 ili9225_command(dbi, ILI9225_POWER_CONTROL_2, 0x0007); in ili9225_pipe_disable()
301 ili9225_command(dbi, ILI9225_POWER_CONTROL_1, 0x0a02); in ili9225_pipe_disable()
312 gpiod_set_value_cansleep(dbi->dc, 0); in ili9225_dbi_command()
348 .minor = 0,
358 { "v220hf01a-t", 0 },
370 u32 rotation = 0; in ili9225_probe()
408 ret = drm_dev_register(drm, 0); in ili9225_probe()
414 drm_fbdev_generic_setup(drm, 0); in ili9225_probe()
416 return 0; in ili9225_probe()
426 return 0; in ili9225_remove()