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 LG LP079QX1-SP0V panel

The LG LP079QX1-SP0V is an 7.9" QXGA TFT with LED Backlight unit and
32 pins eDP interface. This module supports 1536x2048 mode.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Yakir Yang and committed by
Thierry Reding
c5ece402 211cb82e

+26
+26
drivers/gpu/drm/panel/panel-simple.c
··· 1019 1019 .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 1020 1020 }; 1021 1021 1022 + static const struct drm_display_mode lg_lp079qx1_sp0v_mode = { 1023 + .clock = 200000, 1024 + .hdisplay = 1536, 1025 + .hsync_start = 1536 + 12, 1026 + .hsync_end = 1536 + 12 + 16, 1027 + .htotal = 1536 + 12 + 16 + 48, 1028 + .vdisplay = 2048, 1029 + .vsync_start = 2048 + 8, 1030 + .vsync_end = 2048 + 8 + 4, 1031 + .vtotal = 2048 + 8 + 4 + 8, 1032 + .vrefresh = 60, 1033 + .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, 1034 + }; 1035 + 1036 + static const struct panel_desc lg_lp079qx1_sp0v = { 1037 + .modes = &lg_lp079qx1_sp0v_mode, 1038 + .num_modes = 1, 1039 + .size = { 1040 + .width = 129, 1041 + .height = 171, 1042 + }, 1043 + }; 1044 + 1022 1045 static const struct drm_display_mode lg_lp097qx1_spa1_mode = { 1023 1046 .clock = 205210, 1024 1047 .hdisplay = 2048, ··· 1548 1525 }, { 1549 1526 .compatible = "lg,lb070wv8", 1550 1527 .data = &lg_lb070wv8, 1528 + }, { 1529 + .compatible = "lg,lp079qx1-sp0v", 1530 + .data = &lg_lp079qx1_sp0v, 1551 1531 }, { 1552 1532 .compatible = "lg,lp097qx1-spa1", 1553 1533 .data = &lg_lp097qx1_spa1,