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

drm/panel: Add LG 12.9" LCD panel

The LP129QE LCD has an LED backlight and a display resolution of
2560x1700 pixels.

Signed-off-by: Thierry Reding <treding@nvidia.com>

+32
+7
Documentation/devicetree/bindings/panel/lg,lp129qe.txt
··· 1 + LG 12.9" (2560x1700 pixels) TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "lg,lp129qe" 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
··· 361 361 }, 362 362 }; 363 363 364 + static const struct drm_display_mode lg_lp129qe_mode = { 365 + .clock = 285250, 366 + .hdisplay = 2560, 367 + .hsync_start = 2560 + 48, 368 + .hsync_end = 2560 + 48 + 32, 369 + .htotal = 2560 + 48 + 32 + 80, 370 + .vdisplay = 1700, 371 + .vsync_start = 1700 + 3, 372 + .vsync_end = 1700 + 3 + 10, 373 + .vtotal = 1700 + 3 + 10 + 36, 374 + .vrefresh = 60, 375 + }; 376 + 377 + static const struct panel_desc lg_lp129qe = { 378 + .modes = &lg_lp129qe_mode, 379 + .num_modes = 1, 380 + .size = { 381 + .width = 272, 382 + .height = 181, 383 + }, 384 + }; 385 + 364 386 static const struct drm_display_mode samsung_ltn101nt05_mode = { 365 387 .clock = 54030, 366 388 .hdisplay = 1024, ··· 415 393 }, { 416 394 .compatible = "chunghwa,claa101wb01", 417 395 .data = &chunghwa_claa101wb01 396 + }, { 397 + .compatible = "lg,lp129qe", 398 + .data = &lg_lp129qe, 418 399 }, { 419 400 .compatible = "samsung,ltn101nt05", 420 401 .data = &samsung_ltn101nt05,