mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / mipi / panel-BOE_NV110WUM_L60.c
blob029537b6f82cf6d34a17151c91f42e2d736c5142
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data BOE_NV110WUM_L60 = {
6 .edid = {
7 .ascii_string = "NV110WUM-L60",
8 .manufacturer_name = "BOE",
9 .panel_bits_per_color = 8,
10 .panel_bits_per_pixel = 24,
11 .mode = {
12 .pixel_clock = 166400,
13 .lvds_dual_channel = 0,
14 .refresh = 60,
15 .ha = 1200, .hbl = 150, .hso = 65, .hspw = 20,
16 .va = 1920, .vbl = 135, .vso = 115, .vspw = 8,
17 .phsync = '-', .pvsync = '-',
18 .x_mm = 147, .y_mm = 235,
21 .init = {
22 PANEL_DELAY(15),
23 PANEL_DCS(0xB9, 0x83, 0x10, 0x21, 0x55, 0x00),
24 PANEL_DCS(0xB1, 0x2C, 0xAF, 0xAF, 0x2B, 0xEB, 0x42, 0xE1, 0x4D,
25 0x36, 0x36, 0x36, 0x36, 0x1A, 0x8B, 0x11, 0x65, 0x00,
26 0x88, 0xFA, 0xFF, 0xFF, 0x8F, 0xFF, 0x08, 0x9A, 0x33),
27 PANEL_DCS(0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x12, 0x71, 0x3C,
28 0xA3, 0x11, 0x00, 0x00, 0x00, 0x88, 0xF5, 0x22, 0x8F),
29 PANEL_DCS(0xB4, 0x49, 0x49, 0x32, 0x32, 0x14, 0x32, 0x84, 0x6E,
30 0x84, 0x6E, 0x01, 0x9C),
31 PANEL_DCS(0xE9, 0xCD),
32 PANEL_DCS(0xBA, 0x84),
33 PANEL_DCS(0xE9, 0x3F),
34 PANEL_DCS(0xBC, 0x1B, 0x04),
35 PANEL_DCS(0xBE, 0x20),
36 PANEL_DCS(0xBF, 0xFC, 0x84),
37 PANEL_DCS(0xC0, 0x36, 0x36, 0x22, 0x00, 0x00, 0xA0, 0x61, 0x08,
38 0xF5, 0x03),
39 PANEL_DCS(0xE9, 0xCC),
40 PANEL_DCS(0xC7, 0x80),
41 PANEL_DCS(0xE9, 0x3F),
42 PANEL_DCS(0xE9, 0xC6),
43 PANEL_DCS(0xC8, 0x97),
44 PANEL_DCS(0xE9, 0x3F),
45 PANEL_DCS(0xC9, 0x00, 0x1E, 0x30, 0xD4, 0x01),
46 PANEL_DCS(0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x34),
47 PANEL_DCS(0xCC, 0x02, 0x03, 0x44),
48 PANEL_DCS(0xE9, 0xC4),
49 PANEL_DCS(0xD0, 0x03),
50 PANEL_DCS(0xE9, 0x3F),
51 PANEL_DCS(0xD1, 0x37, 0x06, 0x00, 0x02, 0x04, 0x0C, 0xFF),
52 PANEL_DCS(0xD2, 0x1F, 0x11, 0x1F, 0x11),
53 PANEL_DCS(0xD3, 0x06, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08, 0x04,
54 0x08, 0x37, 0x37, 0x64, 0x4B, 0x11, 0x11, 0x03, 0x03,
55 0x32, 0x10, 0x0E, 0x00, 0x0E, 0x32, 0x10, 0x0A, 0x00,
56 0x0A, 0x32, 0x17, 0x98, 0x07, 0x98, 0x00, 0x00),
57 PANEL_DCS(0xD5, 0x18, 0x18, 0x18, 0x18, 0x1E, 0x1E, 0x1E, 0x1E,
58 0x1F, 0x1F, 0x1F, 0x1F, 0x24, 0x24, 0x24, 0x24, 0x07,
59 0x06, 0x07, 0x06, 0x05, 0x04, 0x05, 0x04, 0x03, 0x02,
60 0x03, 0x02, 0x01, 0x00, 0x01, 0x00, 0x21, 0x20, 0x21,
61 0x20, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18),
62 PANEL_DCS(0xD8, 0xAF, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0xAF, 0xAA,
63 0xAA, 0xAA, 0xAA, 0xA0),
64 PANEL_DCS(0xE0, 0x00, 0x05, 0x0D, 0x14, 0x1B, 0x2C, 0x44, 0x49,
65 0x51, 0x4C, 0x67, 0x6C, 0x71, 0x80, 0x7D, 0x84, 0x8D,
66 0xA0, 0xA0, 0x4F, 0x58, 0x64, 0x73, 0x00, 0x05, 0x0D,
67 0x14, 0x1B, 0x2C, 0x44, 0x49, 0x51, 0x4C, 0x67, 0x6C,
68 0x71, 0x80, 0x7D, 0x84, 0x8D, 0xA0, 0xA0, 0x4F, 0x58,
69 0x64, 0x73),
70 PANEL_DCS(0xE7, 0x07, 0x10, 0x10, 0x1A, 0x26, 0x9E, 0x00, 0x53,
71 0x9B, 0x14, 0x14),
72 PANEL_DCS(0xE1, 0x11, 0x00, 0x00, 0x89, 0x30, 0x80, 0x07, 0x80,
73 0x02, 0x58, 0x00, 0x14, 0x02, 0x58, 0x02, 0x58, 0x02, 0x00,
74 0x02, 0x2C, 0x00, 0x20, 0x02, 0x02, 0x00, 0x08, 0x00, 0x0C,
75 0x05, 0x0E, 0x04, 0x94, 0x18, 0x00, 0x10, 0xF0, 0x03, 0x0C,
76 0x20, 0x00, 0x06, 0x0B, 0x0B, 0x33, 0x0E),
77 PANEL_DCS(0xBD, 0x01),
78 PANEL_DCS(0xD8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0xA0, 0xFF, 0xFF,
79 0xFF, 0xFF, 0xFA, 0xA0),
80 PANEL_DCS(0xB1, 0x01, 0xBF, 0x11),
81 PANEL_DCS(0xCB, 0x86),
82 PANEL_DCS(0xD2, 0x96),
83 PANEL_DCS(0xE9, 0xC9),
84 PANEL_DCS(0xD3, 0x84),
85 PANEL_DCS(0xE9, 0x3F),
86 PANEL_DCS(0xE9, 0xD1),
87 PANEL_DCS(0xE1, 0xF6, 0x2B, 0x34, 0x2B, 0x74, 0x3B, 0x74, 0x6B,
88 0x74),
89 PANEL_DCS(0xE9, 0x3F),
90 PANEL_DCS(0xE7, 0x02, 0x00, 0x2B, 0x01, 0x7E, 0x0F, 0x7E, 0x10,
91 0xA0, 0x00, 0x00),
92 PANEL_DCS(0xBD, 0x02),
93 PANEL_DCS(0xB4, 0x02, 0x00, 0xBB, 0x11),
94 PANEL_DCS(0xD8, 0xFF, 0xAF, 0xFF, 0xFF, 0xFA, 0xA0, 0xFF, 0xAF,
95 0xFF, 0xFF, 0xFA, 0xA0),
96 PANEL_DCS(0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00,
97 0x00, 0x23, 0x00, 0x23, 0x81, 0x02, 0x40, 0x00, 0x20,
98 0x65, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
99 0x01, 0x00),
100 PANEL_DCS(0xBD, 0x03),
101 PANEL_DCS(0xD8, 0xAA, 0xAF, 0xAA, 0xAA, 0xA0, 0x00, 0xAA, 0xAF,
102 0xAA, 0xAA, 0xA0, 0x00, 0xAA, 0xAF, 0xAA, 0xAA, 0xA0,
103 0x00, 0xAA, 0xAF, 0xAA, 0xAA, 0xA0, 0x00),
104 PANEL_DCS(0xE9, 0xC6),
105 PANEL_DCS(0xB4, 0x03, 0xFF, 0xF8),
106 PANEL_DCS(0xE9, 0x3F),
107 PANEL_DCS(0xE1, 0x00),
108 PANEL_DCS(0xBD, 0x00),
109 PANEL_DCS(0xE9, 0xC4),
110 PANEL_DCS(0xBA, 0x96),
111 PANEL_DCS(0xE9, 0x3F),
112 PANEL_DCS(0xBD, 0x01),
113 PANEL_DCS(0xE9, 0xC5),
114 PANEL_DCS(0xBA, 0x4F),
115 PANEL_DCS(0xE9, 0x3F),
116 PANEL_DCS(0xBD, 0x00),
117 PANEL_DCS(0xB9, 0x00, 0x00, 0x00),
118 PANEL_DELAY(50),
119 PANEL_DCS(0x11),
120 PANEL_DELAY(110),
121 PANEL_DCS(0x29),
122 PANEL_DELAY(25),
123 PANEL_END,