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

drm/panel: simple: Add NVD9128 as a simple panel

Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Fabien Lahoudere and committed by
Thierry Reding
05ec0e45 7ee933a1

+34
+7
Documentation/devicetree/bindings/display/panel/nvd,9128.txt
··· 1 + New Vision Display 7.0" 800 RGB x 480 TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "nvd,9128" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 187 187 netlogic Broadcom Corporation (formerly NetLogic Microsystems) 188 188 netxeon Shenzhen Netxeon Technology CO., LTD 189 189 newhaven Newhaven Display International 190 + nvd New Vision Display 190 191 nintendo Nintendo 191 192 nokia Nokia 192 193 nuvoton Nuvoton Technology Corporation
+26
drivers/gpu/drm/panel/panel-simple.c
··· 1191 1191 .bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE, 1192 1192 }; 1193 1193 1194 + static const struct drm_display_mode nvd_9128_mode = { 1195 + .clock = 29500, 1196 + .hdisplay = 800, 1197 + .hsync_start = 800 + 130, 1198 + .hsync_end = 800 + 130 + 98, 1199 + .htotal = 800 + 0 + 130 + 98, 1200 + .vdisplay = 480, 1201 + .vsync_start = 480 + 10, 1202 + .vsync_end = 480 + 10 + 50, 1203 + .vtotal = 480 + 0 + 10 + 50, 1204 + }; 1205 + 1206 + static const struct panel_desc nvd_9128 = { 1207 + .modes = &nvd_9128_mode, 1208 + .num_modes = 1, 1209 + .bpc = 8, 1210 + .size = { 1211 + .width = 156, 1212 + .height = 88, 1213 + }, 1214 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 1215 + }; 1216 + 1194 1217 static const struct display_timing okaya_rs800480t_7x0gp_timing = { 1195 1218 .pixelclock = { 30000000, 30000000, 40000000 }, 1196 1219 .hactive = { 800, 800, 800 }, ··· 1729 1706 }, { 1730 1707 .compatible = "nec,nl4827hc19-05b", 1731 1708 .data = &nec_nl4827hc19_05b, 1709 + }, { 1710 + .compatible = "nvd,9128", 1711 + .data = &nvd_9128, 1732 1712 }, { 1733 1713 .compatible = "okaya,rs800480t-7x0gp", 1734 1714 .data = &okaya_rs800480t_7x0gp,