Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <marex@denx.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230731210258.256152-2-marex@denx.de

authored by

Marek Vasut and committed by
Neil Armstrong
eae74888 3c5e8aa4

+34
+34
drivers/gpu/drm/panel/panel-simple.c
··· 2376 2376 }, 2377 2377 }; 2378 2378 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 + 2379 2410 static const struct drm_display_mode innolux_n156bge_l21_mode = { 2380 2411 .clock = 69300, 2381 2412 .hdisplay = 1366, ··· 4273 4242 }, { 4274 4243 .compatible = "innolux,g121x1-l03", 4275 4244 .data = &innolux_g121x1_l03, 4245 + }, { 4246 + .compatible = "innolux,g156hce-l01", 4247 + .data = &innolux_g156hce_l01, 4276 4248 }, { 4277 4249 .compatible = "innolux,n156bge-l21", 4278 4250 .data = &innolux_n156bge_l21,