acpi: Add IORT helper functions
[coreboot2.git] / src / drivers / mipi / panel-STA_ER88577.c
blob6529596bff0ccbeb9527d57bf6b3d61e8cfbf058
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data STA_ER88577 = {
6 .edid = {
7 .ascii_string = "ER88577",
8 .manufacturer_name = "STA",
9 .panel_bits_per_color = 8,
10 .panel_bits_per_pixel = 24,
11 .mode = {
12 .pixel_clock = 77380,
13 .lvds_dual_channel = 0,
14 .refresh = 60,
15 .ha = 800, .hbl = 90, .hso = 30, .hspw = 30,
16 .va = 1280, .vbl = 42, .vso = 30, .vspw = 4,
17 .phsync = '-', .pvsync = '-',
18 .x_mm = 135, .y_mm = 216,
21 .init = {
22 PANEL_DELAY(50),
23 PANEL_DCS(0xE0, 0xAB, 0xBA),
24 PANEL_DCS(0xE1, 0xBA, 0xAB),
25 PANEL_DCS(0xB1, 0x10, 0x01, 0x47, 0xFF),
26 PANEL_DCS(0xB2, 0x0C, 0x14, 0x04, 0x50, 0x50, 0x14),
27 PANEL_DCS(0xB3, 0x56, 0x53, 0x00),
28 PANEL_DCS(0xB4, 0x33, 0x30, 0x04),
29 PANEL_DCS(0xB6, 0xB0, 0x00, 0x00, 0x10, 0x00, 0x10, 0x00),
30 PANEL_DCS(0xB8, 0x05, 0x12, 0x29, 0x49, 0x48),
31 PANEL_DCS(0xB9, 0x7C, 0x59, 0x53, 0x45, 0x43, 0x32, 0x37, 0x1F, 0x37,
32 0x39, 0x3A, 0x5A, 0x48, 0x50, 0x43, 0x40, 0x30, 0x20, 0x06, 0x7C,
33 0x59, 0x53, 0x45, 0x43, 0x32, 0x37, 0x1F, 0x37, 0x39, 0x3A, 0x5A,
34 0x48, 0x50, 0x43, 0x40, 0x30, 0x20, 0x06),
35 PANEL_DCS(0xC0, 0xFF, 0x87, 0x12, 0x34, 0x44, 0x44, 0x44, 0x44, 0x98,
36 0x04, 0x98, 0x04, 0x0F, 0x00, 0x00, 0xC1),
37 PANEL_DCS(0xC1, 0x54, 0x94, 0x02, 0x85, 0x9F, 0x00, 0x6F, 0x00, 0x54,
38 0x00),
39 PANEL_DCS(0xC2, 0x17, 0x09, 0x08, 0x89, 0x08, 0x11, 0x22, 0x20, 0x44,
40 0xFF, 0x18, 0x00),
41 PANEL_DCS(0xC3, 0x86, 0x46, 0x05, 0x05, 0x1C, 0x1C, 0x1D, 0x1D, 0x02,
42 0x1F, 0x1F, 0x1E, 0x1E, 0x0F, 0x0F, 0x0D, 0x0D, 0x13, 0x13, 0x11,
43 0x11, 0x00),
44 PANEL_DCS(0xC4, 0x07, 0x07, 0x04, 0x04, 0x1C, 0x1C, 0x1D, 0x1D, 0x02,
45 0x1F, 0x1F, 0x1E, 0x1E, 0x0E, 0x0E, 0x0C, 0x0C, 0x12, 0x12, 0x10,
46 0x10, 0x00),
47 PANEL_DCS(0xC8, 0x21, 0x00, 0x31, 0x42, 0x34, 0x16),
48 PANEL_DCS(0xCA, 0xCB, 0x43),
49 PANEL_DCS(0xCD, 0x0E, 0x4B, 0x4B, 0x20, 0x19, 0x6B, 0x06, 0xB3),
50 PANEL_DCS(0xD2, 0xE3, 0x2B, 0x38, 0x08),
51 PANEL_DCS(0xD4, 0x00, 0x01, 0x00, 0x0E, 0x04, 0x44, 0x08, 0x10, 0x00,
52 0x00, 0x00),
53 PANEL_DCS(0xE6, 0x00, 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF),
54 PANEL_DCS(0xF0, 0x12, 0x03, 0x20, 0x00, 0xFF),
55 PANEL_DCS(0xF3, 0x00),
56 PANEL_DCS(0x11),
57 PANEL_DELAY(120),
58 PANEL_DCS(0x29),
59 PANEL_DELAY(20),
60 PANEL_END,