Skip to content

Commit eae7488

Browse files
Marek Vasutsuperna9999
authored andcommitted
drm/panel-simple: Add Innolux G156HCE-L01 panel entry
Add support for Innolux G156HCE-L01 15.6" 1920x1080 24bpp dual-link LVDS TFT panel. Documentation is available at [1]. The middle frequency is tuned slightly upward from 70.93 MHz to 72 MHz, otherwise the panel shows slight flicker. [1] https://www.distec.de/fileadmin/pdf/produkte/TFT-Displays/Innolux/G156HCE-L01_Rev.C3_Datasheet.pdf Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 3c5e8aa commit eae7488

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,6 +2376,37 @@ static const struct panel_desc innolux_g121x1_l03 = {
23762376
},
23772377
};
23782378

2379+
static const struct display_timing innolux_g156hce_l01_timings = {
2380+
.pixelclock = { 120000000, 144000000, 150000000 },
2381+
.hactive = { 1920, 1920, 1920 },
2382+
.hfront_porch = { 80, 90, 100 },
2383+
.hback_porch = { 80, 90, 100 },
2384+
.hsync_len = { 20, 30, 30 },
2385+
.vactive = { 1080, 1080, 1080 },
2386+
.vfront_porch = { 3, 10, 20 },
2387+
.vback_porch = { 3, 10, 20 },
2388+
.vsync_len = { 4, 10, 10 },
2389+
};
2390+
2391+
static const struct panel_desc innolux_g156hce_l01 = {
2392+
.timings = &innolux_g156hce_l01_timings,
2393+
.num_timings = 1,
2394+
.bpc = 8,
2395+
.size = {
2396+
.width = 344,
2397+
.height = 194,
2398+
},
2399+
.delay = {
2400+
.prepare = 1, /* T1+T2 */
2401+
.enable = 450, /* T5 */
2402+
.disable = 200, /* T6 */
2403+
.unprepare = 10, /* T3+T7 */
2404+
},
2405+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
2406+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
2407+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
2408+
};
2409+
23792410
static const struct drm_display_mode innolux_n156bge_l21_mode = {
23802411
.clock = 69300,
23812412
.hdisplay = 1366,
@@ -4242,6 +4273,9 @@ static const struct of_device_id platform_of_match[] = {
42424273
}, {
42434274
.compatible = "innolux,g121x1-l03",
42444275
.data = &innolux_g121x1_l03,
4276+
}, {
4277+
.compatible = "innolux,g156hce-l01",
4278+
.data = &innolux_g156hce_l01,
42454279
}, {
42464280
.compatible = "innolux,n156bge-l21",
42474281
.data = &innolux_n156bge_l21,

0 commit comments

Comments
 (0)