drm/panel-edp: Add STA 116QHD024002
authorLangyan Ye <yelangyan@huaqin.corp-partner.google.com>
Thu, 23 Jan 2025 11:20:55 +0000 (19:20 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 23 Jan 2025 17:05:44 +0000 (09:05 -0800)
Add support for the STA 116QHD024002, pleace the EDID here for
subsequent reference.

00 ff ff ff ff ff ff 00 4e 81 09 00 00 00 00 00
26 21 01 04 a5 1a 0e 78 02 1e b5 9a 5f 57 94 26
0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 8e 1c 56 a0 50 00 1e 30 28 20
55 00 00 90 10 00 00 18 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 fe 00 20
20 20 20 20 20 0a 20 20 20 20 20 20 00 00 00 fe
00 31 31 36 51 48 44 30 32 34 30 30 32 0a 00 3b

Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250123112055.1521471-1-yelangyan@huaqin.corp-partner.google.com
drivers/gpu/drm/panel/panel-edp.c

index 1721a3397dbf153738885a11ee3619e1e07a8fbc..25bb7e454fc942b93f846d31b0f9a29bf0e90c45 100644 (file)
@@ -1808,6 +1808,12 @@ static const struct panel_delay delay_200_150_e50 = {
        .enable = 50,
 };
 
+static const struct panel_delay delay_200_500_e250 = {
+       .hpd_absent = 200,
+       .unprepare = 500,
+       .enable = 250,
+};
+
 #define EDP_PANEL_ENTRY(vend_chr_0, vend_chr_1, vend_chr_2, product_id, _delay, _name) \
 { \
        .ident = { \
@@ -1998,6 +2004,7 @@ static const struct edp_panel_entry edp_panels[] = {
        EDP_PANEL_ENTRY('S', 'H', 'P', 0x1593, &delay_200_500_p2e100, "LQ134N1"),
 
        EDP_PANEL_ENTRY('S', 'T', 'A', 0x0004, &delay_200_500_e200, "116KHD024006"),
+       EDP_PANEL_ENTRY('S', 'T', 'A', 0x0009, &delay_200_500_e250, "116QHD024002"),
        EDP_PANEL_ENTRY('S', 'T', 'A', 0x0100, &delay_100_500_e200, "2081116HHD028001-51D"),
 
        { /* sentinal */ }