aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-simple.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-11-15 09:59:32 -0500
committerThierry Reding <treding@nvidia.com>2014-04-04 03:06:34 -0400
commitec7c565383ee7fd4847705b8aafefb8e589aea93 (patch)
treee2e99f274a5357b14e72ec8657ca2618f1ffe140 /drivers/gpu/drm/panel/panel-simple.c
parent03e255b993ff96bf194c91c28af9dc03f322af51 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r--drivers/gpu/drm/panel/panel-simple.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 59d52ca2c67f..0231945c2934 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -361,6 +361,28 @@ static const struct panel_desc chunghwa_claa101wb01 = {
361 }, 361 },
362}; 362};
363 363
364static 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
377static 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
364static const struct drm_display_mode samsung_ltn101nt05_mode = { 386static const struct drm_display_mode samsung_ltn101nt05_mode = {
365 .clock = 54030, 387 .clock = 54030,
366 .hdisplay = 1024, 388 .hdisplay = 1024,
@@ -394,6 +416,9 @@ static const struct of_device_id platform_of_match[] = {
394 .compatible = "chunghwa,claa101wb01", 416 .compatible = "chunghwa,claa101wb01",
395 .data = &chunghwa_claa101wb01 417 .data = &chunghwa_claa101wb01
396 }, { 418 }, {
419 .compatible = "lg,lp129qe",
420 .data = &lg_lp129qe,
421 }, {
397 .compatible = "samsung,ltn101nt05", 422 .compatible = "samsung,ltn101nt05",
398 .data = &samsung_ltn101nt05, 423 .data = &samsung_ltn101nt05,
399 }, { 424 }, {