Skip to content

Commit f7ad2ce

Browse files
author
Marek Vasut
committed
drm/panel: simple: Add Innolux G121XCE-L01 LVDS display support
G121XCE-L01 is a Color Active Matrix Liquid Crystal Display composed of a TFT LCD panel, a driver circuit, and LED backlight system. The screen format is intended to support the 4:3, 1024(H) x 768(V) screen and either 262k/16.7M colors (RGB 6-bits or 8-bits) with LED backlight driver circuit. All input signals are LVDS interface compatible. Documentation [1] and [2] indicate that G121X1-L03 and G121XCE-L01 are effectively identical panels, use the former as RGB 6-bits variant and add the later as RGB 8-bits variant. [1] https://www.distec.de/fileadmin/pdf/produkte/TFT-Displays/Innolux/G121X1-L03_Datasheet.pdf [2] https://www.distec.de/fileadmin/pdf/produkte/TFT-Displays/Innolux/G121XCE-L01_Datasheet.pdf Signed-off-by: Marek Vasut <[email protected]> Acked-by: Jessica Zhang <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 90c53f2 commit f7ad2ce

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,6 +2622,24 @@ static const struct panel_desc innolux_g121x1_l03 = {
26222622
.connector_type = DRM_MODE_CONNECTOR_LVDS,
26232623
};
26242624

2625+
static const struct panel_desc innolux_g121xce_l01 = {
2626+
.timings = &innolux_g121x1_l03_timings,
2627+
.num_timings = 1,
2628+
.bpc = 8,
2629+
.size = {
2630+
.width = 246,
2631+
.height = 185,
2632+
},
2633+
.delay = {
2634+
.enable = 200,
2635+
.unprepare = 200,
2636+
.disable = 400,
2637+
},
2638+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
2639+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
2640+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
2641+
};
2642+
26252643
static const struct display_timing innolux_g156hce_l01_timings = {
26262644
.pixelclock = { 120000000, 141860000, 150000000 },
26272645
.hactive = { 1920, 1920, 1920 },
@@ -4595,6 +4613,9 @@ static const struct of_device_id platform_of_match[] = {
45954613
}, {
45964614
.compatible = "innolux,g121x1-l03",
45974615
.data = &innolux_g121x1_l03,
4616+
}, {
4617+
.compatible = "innolux,g121xce-l01",
4618+
.data = &innolux_g121xce_l01,
45984619
}, {
45994620
.compatible = "innolux,g156hce-l01",
46004621
.data = &innolux_g156hce_l01,

0 commit comments

Comments
 (0)