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

drm/panel: simple: Add timings for the Olimex LCD-OLinuXino-4.3TS

Add support for the Olimex LCD-OLinuXino-4.3TS panel to the DRM simple
panel driver.

It is a 480x272 panel connected through a 24-bits RGB interface.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Maxime Ripard and committed by
Thierry Reding
cf5c9e6d e8b6f561

+33
+7
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino-43-ts.txt
··· 1 + Olimex 4.3" TFT LCD panel 2 + 3 + Required properties: 4 + - compatible: should be "olimex,lcd-olinuxino-43-ts" 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
··· 1087 1087 .bus_format = MEDIA_BUS_FMT_RGB666_1X18, 1088 1088 }; 1089 1089 1090 + static const struct drm_display_mode olimex_lcd_olinuxino_43ts_mode = { 1091 + .clock = 9000, 1092 + .hdisplay = 480, 1093 + .hsync_start = 480 + 5, 1094 + .hsync_end = 480 + 5 + 30, 1095 + .htotal = 480 + 5 + 30 + 10, 1096 + .vdisplay = 272, 1097 + .vsync_start = 272 + 8, 1098 + .vsync_end = 272 + 8 + 5, 1099 + .vtotal = 272 + 8 + 5 + 3, 1100 + .vrefresh = 60, 1101 + }; 1102 + 1103 + static const struct panel_desc olimex_lcd_olinuxino_43ts = { 1104 + .modes = &olimex_lcd_olinuxino_43ts_mode, 1105 + .num_modes = 1, 1106 + .size = { 1107 + .width = 105, 1108 + .height = 67, 1109 + }, 1110 + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, 1111 + }; 1112 + 1090 1113 /* 1091 1114 * 800x480 CVT. The panel appears to be quite accepting, at least as far as 1092 1115 * pixel clocks, but this is the timing that was being used in the Adafruit ··· 1388 1365 }, { 1389 1366 .compatible = "okaya,rs800480t-7x0gp", 1390 1367 .data = &okaya_rs800480t_7x0gp, 1368 + }, { 1369 + .compatible = "olimex,lcd-olinuxino-43-ts", 1370 + .data = &olimex_lcd_olinuxino_43ts, 1391 1371 }, { 1392 1372 .compatible = "ontat,yx700wv03", 1393 1373 .data = &ontat_yx700wv03,