soc/mediatek/mt8196: Initialize SSPM
[coreboot2.git] / src / drivers / mipi / panel-STA_2081101QFH032011_53G.c
blob9c4dbe38f4074a887143cefee4cd7e480391e426
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data STA_QFH032011_53G = {
6 .edid = {
7 .ascii_string = "QFH032011-53G",
8 .manufacturer_name = "STA",
9 .panel_bits_per_color = 8,
10 .panel_bits_per_pixel = 24,
11 .mode = {
12 .pixel_clock = 165731,
13 .lvds_dual_channel = 0,
14 .refresh = 60,
15 .ha = 1200, .hbl = 210, .hso = 100, .hspw = 10,
16 .va = 1920, .vbl = 39, .vso = 14, .vspw = 10,
17 .phsync = '-', .pvsync = '-',
18 .x_mm = 135, .y_mm = 217,
21 .init = {
22 PANEL_DCS(0xB0, 0x01),
23 PANEL_DCS(0xC3, 0x4F),
24 PANEL_DCS(0xC4, 0x40),
25 PANEL_DCS(0xC5, 0x40),
26 PANEL_DCS(0xC6, 0x40),
27 PANEL_DCS(0xC7, 0x40),
28 PANEL_DCS(0xC8, 0x4D),
29 PANEL_DCS(0xC9, 0x52),
30 PANEL_DCS(0xCA, 0x51),
31 PANEL_DCS(0xCD, 0x5D),
32 PANEL_DCS(0xCE, 0x5B),
33 PANEL_DCS(0xCF, 0x4B),
34 PANEL_DCS(0xD0, 0x49),
35 PANEL_DCS(0xD1, 0x47),
36 PANEL_DCS(0xD2, 0x45),
37 PANEL_DCS(0xD3, 0x41),
38 PANEL_DCS(0xD7, 0x50),
39 PANEL_DCS(0xD8, 0x40),
40 PANEL_DCS(0xD9, 0x40),
41 PANEL_DCS(0xDA, 0x40),
42 PANEL_DCS(0xDB, 0x40),
43 PANEL_DCS(0xDC, 0x4E),
44 PANEL_DCS(0xDD, 0x52),
45 PANEL_DCS(0xDE, 0x51),
46 PANEL_DCS(0xE1, 0x5E),
47 PANEL_DCS(0xE2, 0x5C),
48 PANEL_DCS(0xE3, 0x4C),
49 PANEL_DCS(0xE4, 0x4A),
50 PANEL_DCS(0xE5, 0x48),
51 PANEL_DCS(0xE6, 0x46),
52 PANEL_DCS(0xE7, 0x42),
53 PANEL_DCS(0xB0, 0x03),
54 PANEL_DCS(0xBE, 0x03),
55 PANEL_DCS(0xCC, 0x44),
56 PANEL_DCS(0xC8, 0x07),
57 PANEL_DCS(0xC9, 0x05),
58 PANEL_DCS(0xCA, 0x42),
59 PANEL_DCS(0xCD, 0x3E),
60 PANEL_DCS(0xCF, 0x60),
61 PANEL_DCS(0xD2, 0x04),
62 PANEL_DCS(0xD3, 0x04),
63 PANEL_DCS(0xD4, 0x01),
64 PANEL_DCS(0xD5, 0x00),
65 PANEL_DCS(0xD6, 0x03),
66 PANEL_DCS(0xD7, 0x04),
67 PANEL_DCS(0xD9, 0x01),
68 PANEL_DCS(0xDB, 0x01),
69 PANEL_DCS(0xE4, 0xF0),
70 PANEL_DCS(0xE5, 0x0A),
71 PANEL_DCS(0xB0, 0x00),
72 PANEL_DCS(0xCC, 0x08),
73 PANEL_DCS(0xC2, 0x08),
74 PANEL_DCS(0xC4, 0x10),
75 PANEL_DCS(0xB0, 0x02),
76 PANEL_DCS(0xC0, 0x00),
77 PANEL_DCS(0xC1, 0x0A),
78 PANEL_DCS(0xC2, 0x20),
79 PANEL_DCS(0xC3, 0x24),
80 PANEL_DCS(0xC4, 0x23),
81 PANEL_DCS(0xC5, 0x29),
82 PANEL_DCS(0xC6, 0x23),
83 PANEL_DCS(0xC7, 0x1C),
84 PANEL_DCS(0xC8, 0x19),
85 PANEL_DCS(0xC9, 0x17),
86 PANEL_DCS(0xCA, 0x17),
87 PANEL_DCS(0xCB, 0x18),
88 PANEL_DCS(0xCC, 0x1A),
89 PANEL_DCS(0xCD, 0x1E),
90 PANEL_DCS(0xCE, 0x20),
91 PANEL_DCS(0xCF, 0x23),
92 PANEL_DCS(0xD0, 0x07),
93 PANEL_DCS(0xD1, 0x00),
94 PANEL_DCS(0xD2, 0x00),
95 PANEL_DCS(0xD3, 0x0A),
96 PANEL_DCS(0xD4, 0x13),
97 PANEL_DCS(0xD5, 0x1C),
98 PANEL_DCS(0xD6, 0x1A),
99 PANEL_DCS(0xD7, 0x13),
100 PANEL_DCS(0xD8, 0x17),
101 PANEL_DCS(0xD9, 0x1C),
102 PANEL_DCS(0xDA, 0x19),
103 PANEL_DCS(0xDB, 0x17),
104 PANEL_DCS(0xDC, 0x17),
105 PANEL_DCS(0xDD, 0x18),
106 PANEL_DCS(0xDE, 0x1A),
107 PANEL_DCS(0xDF, 0x1E),
108 PANEL_DCS(0xE0, 0x20),
109 PANEL_DCS(0xE1, 0x23),
110 PANEL_DCS(0xE2, 0x07),
111 PANEL_DCS(0X11),
112 PANEL_DELAY(120),
113 PANEL_DCS(0X29),
114 PANEL_DELAY(50),
115 PANEL_END,