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

drm/panel: simple: Add Netron DY E231732

The E231732 is a 7" panel with a resolution of 1024x600.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[treding@nvidia.com: add missing device tree binding]
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Maxime Ripard and committed by
Thierry Reding
e6c2f066 505c9d41

+33
+7
Documentation/devicetree/bindings/display/panel/netron-dy,e231732.txt
··· 1 + Netron-DY E231732 7.0" WSVGA TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "netron-dy,e231732" 5 + 6 + This binding is compatible with the simple-panel binding, which is specified 7 + in simple-panel.txt in this directory.
+26
drivers/gpu/drm/panel/panel-simple.c
··· 1319 1319 .bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE, 1320 1320 }; 1321 1321 1322 + static const struct drm_display_mode netron_dy_e231732_mode = { 1323 + .clock = 66000, 1324 + .hdisplay = 1024, 1325 + .hsync_start = 1024 + 160, 1326 + .hsync_end = 1024 + 160 + 70, 1327 + .htotal = 1024 + 160 + 70 + 90, 1328 + .vdisplay = 600, 1329 + .vsync_start = 600 + 127, 1330 + .vsync_end = 600 + 127 + 20, 1331 + .vtotal = 600 + 127 + 20 + 3, 1332 + .vrefresh = 60, 1333 + }; 1334 + 1335 + static const struct panel_desc netron_dy_e231732 = { 1336 + .modes = &netron_dy_e231732_mode, 1337 + .num_modes = 1, 1338 + .size = { 1339 + .width = 154, 1340 + .height = 87, 1341 + }, 1342 + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, 1343 + }; 1344 + 1322 1345 static const struct drm_display_mode nvd_9128_mode = { 1323 1346 .clock = 29500, 1324 1347 .hdisplay = 800, ··· 1917 1894 }, { 1918 1895 .compatible = "nec,nl4827hc19-05b", 1919 1896 .data = &nec_nl4827hc19_05b, 1897 + }, { 1898 + .compatible = "netron-dy,e231732", 1899 + .data = &netron_dy_e231732, 1920 1900 }, { 1921 1901 .compatible = "nvd,9128", 1922 1902 .data = &nvd_9128,