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

drm/panel: simple: Add DLC1010GIG panel

Add support for the DLC DLC1010GIG 1280x800 10.1" LVDS panel to the
simple-panel driver.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180924152610.25939-1-m.felsch@pengutronix.de

authored by

Marco Felsch and committed by
Thierry Reding
6cbe7cd1 7ad8b41c

+45
+12
Documentation/devicetree/bindings/display/panel/dlc,dlc1010gig.txt
··· 1 + DLC Display Co. DLC1010GIG 10.1" WXGA TFT LCD Panel 2 + 3 + Required properties: 4 + - compatible: should be "dlc,dlc1010gig" 5 + - power-supply: See simple-panel.txt 6 + 7 + Optional properties: 8 + - enable-gpios: See simple-panel.txt 9 + - backlight: See simple-panel.txt 10 + 11 + This binding is compatible with the simple-panel binding, which is specified 12 + in simple-panel.txt in this directory.
+33
drivers/gpu/drm/panel/panel-simple.c
··· 1032 1032 .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, 1033 1033 }; 1034 1034 1035 + static const struct display_timing dlc_dlc1010gig_timing = { 1036 + .pixelclock = { 68900000, 71100000, 73400000 }, 1037 + .hactive = { 1280, 1280, 1280 }, 1038 + .hfront_porch = { 43, 53, 63 }, 1039 + .hback_porch = { 43, 53, 63 }, 1040 + .hsync_len = { 44, 54, 64 }, 1041 + .vactive = { 800, 800, 800 }, 1042 + .vfront_porch = { 5, 8, 11 }, 1043 + .vback_porch = { 5, 8, 11 }, 1044 + .vsync_len = { 5, 7, 11 }, 1045 + .flags = DISPLAY_FLAGS_DE_HIGH, 1046 + }; 1047 + 1048 + static const struct panel_desc dlc_dlc1010gig = { 1049 + .timings = &dlc_dlc1010gig_timing, 1050 + .num_timings = 1, 1051 + .bpc = 8, 1052 + .size = { 1053 + .width = 216, 1054 + .height = 135, 1055 + }, 1056 + .delay = { 1057 + .prepare = 60, 1058 + .enable = 150, 1059 + .disable = 100, 1060 + .unprepare = 60, 1061 + }, 1062 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 1063 + }; 1064 + 1035 1065 static const struct drm_display_mode edt_et057090dhu_mode = { 1036 1066 .clock = 25175, 1037 1067 .hdisplay = 640, ··· 2500 2470 }, { 2501 2471 .compatible = "dlc,dlc0700yzg-1", 2502 2472 .data = &dlc_dlc0700yzg_1, 2473 + }, { 2474 + .compatible = "dlc,dlc1010gig", 2475 + .data = &dlc_dlc1010gig, 2503 2476 }, { 2504 2477 .compatible = "edt,et057090dhu", 2505 2478 .data = &edt_et057090dhu,