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

drm/panel: simple: add support for InnoLux N156BGE-L21 panel

This panel is used by the Medcom Wide and supported by the
simple-panel driver.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Alban Bedel and committed by
Thierry Reding
ea44739d 9d90ce5c

+32
+7
Documentation/devicetree/bindings/panel/innolux,n156bge-l21.txt
··· 1 + InnoLux 15.6" WXGA TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "innolux,n156bge-l21" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+25
drivers/gpu/drm/panel/panel-simple.c
··· 425 425 }, 426 426 }; 427 427 428 + static const struct drm_display_mode innolux_n156bge_l21_mode = { 429 + .clock = 69300, 430 + .hdisplay = 1366, 431 + .hsync_start = 1366 + 16, 432 + .hsync_end = 1366 + 16 + 34, 433 + .htotal = 1366 + 16 + 34 + 50, 434 + .vdisplay = 768, 435 + .vsync_start = 768 + 2, 436 + .vsync_end = 768 + 2 + 6, 437 + .vtotal = 768 + 2 + 6 + 12, 438 + .vrefresh = 60, 439 + }; 440 + 441 + static const struct panel_desc innolux_n156bge_l21 = { 442 + .modes = &innolux_n156bge_l21_mode, 443 + .num_modes = 1, 444 + .size = { 445 + .width = 344, 446 + .height = 193, 447 + }, 448 + }; 449 + 428 450 static const struct drm_display_mode lg_lp129qe_mode = { 429 451 .clock = 285250, 430 452 .hdisplay = 2560, ··· 516 494 }, { 517 495 .compatible = "foxlink,fl500wvr00-a0t", 518 496 .data = &foxlink_fl500wvr00_a0t, 497 + }, { 498 + .compatible = "innolux,n156bge-l21", 499 + .data = &innolux_n156bge_l21, 519 500 }, { 520 501 .compatible = "lg,lp129qe", 521 502 .data = &lg_lp129qe,